function pathauto_action_info in Pathauto 7
Same name and namespace in other branches
- 6.2 pathauto.module \pathauto_action_info()
Implements hook_action_info().
File
- ./
pathauto.module, line 516 - Main file for the Pathauto module, which automatically generates aliases for content.
Code
function pathauto_action_info() {
$info['pathauto_node_update_action'] = array(
'type' => 'node',
'label' => t('Update node alias'),
'configurable' => FALSE,
'triggers' => array(),
);
$info['pathauto_taxonomy_term_update_action'] = array(
'type' => 'taxonomy_term',
'label' => t('Update taxonomy term alias'),
'configurable' => FALSE,
'triggers' => array(),
);
$info['pathauto_user_update_action'] = array(
'type' => 'user',
'label' => t('Update user alias'),
'configurable' => FALSE,
'triggers' => array(),
);
return $info;
}