function node_gallery_action_info in Node Gallery 6.3
Implements hook_action_info().
File
- ./
node_gallery.actions.inc, line 11 - Contains all actions for node gallery.
Code
function node_gallery_action_info() {
return array(
'node_gallery_change_gallery_action' => array(
'description' => t('Change parent gallery'),
'type' => 'node',
'behavior' => array(
'changes_node_property',
),
'configurable' => TRUE,
'hooks' => array(
'node' => array(
'presave',
),
),
),
'node_gallery_change_image_weight_action' => array(
'description' => t('Change image weight (sort order)'),
'type' => 'node',
'behavior' => array(
'changes_node_property',
),
'configurable' => TRUE,
'hooks' => array(
'node' => array(
'presave',
),
),
),
'node_gallery_set_as_cover_action' => array(
'description' => t('Set an image as the cover image'),
'type' => 'node',
'behavior' => array(
'changes_node_property',
),
'configurable' => FALSE,
'hooks' => array(
'node' => array(
'presave',
),
),
),
);
}