function pathauto_i18n_node_action_info in Pathauto i18n 8
Same name and namespace in other branches
- 7 modules/pathauto_i18n_node/pathauto_i18n_node.module \pathauto_i18n_node_action_info()
Implements hook_action_info().
File
- modules/
pathauto_i18n_node/ pathauto_i18n_node.module, line 115 - Provides tools for creating multilanguage aliases for nodes.
Code
function pathauto_i18n_node_action_info() {
return array(
'pathauto_i18n_node_generate_alias' => array(
'type' => 'node',
'label' => t('Enable generation of aliases for all languages'),
'configurable' => FALSE,
'behavior' => array(
'changes_property',
),
'triggers' => array(
'node_presave',
),
),
'pathauto_i18n_node_remove_alias' => array(
'type' => 'node',
'label' => t('Disable generation of aliases for all languages'),
'configurable' => FALSE,
'behavior' => array(
'changes_property',
),
'triggers' => array(
'node_presave',
),
),
);
}