The Action module is included in Drupal core. When enabled, the Action module can be used for executing stored actions.
Action functions are declared by modules by implementing hook_action_info().
Modules can cause action functions to run by calling actions_do().
Each action function takes two to four arguments:
- - $entity: The object that the action acts on, such as a node, comment, or user
- - $context: Array of additional information about what triggered the action.
- - $a1, $a2: Optional additional information, which can be passed into actions_do() and will be passed along to the action function.
Uses
Users can:
- Information Needed
Site administrators can:
- Information Needed
Issue Queue for 8.x
http://drupal.org/project/issues/drupal?component=action.module&version=8.x