function actions_load
Same name and namespace in other branches
- 6.x drupal-6.x/includes/actions.inc \actions_load()
Retrieves a single action from the database.
Parameters
$aid: The ID of the action to retrieve.
Return value
The appropriate action row from the database as an object.
1 call to actions_load()
- system_actions_delete_form_submit in drupal-7.x/
modules/ system/ system.admin.inc - Process system_actions_delete form submissions.
Archivo
- drupal-7.x/
includes/ actions.inc, line 373 - This is the actions engine for executing stored actions.
Código
function actions_load($aid) {
return db_query("SELECT aid, type, callback, parameters, label FROM {actions} WHERE aid = :aid", array(':aid' => $aid))->fetchObject();
}