You are here

function pathauto_i18n_taxonomy_action_info in Pathauto i18n 8

Same name and namespace in other branches
  1. 7 modules/pathauto_i18n_taxonomy/pathauto_i18n_taxonomy.module \pathauto_i18n_taxonomy_action_info()

Implements hook_action_info().

File

modules/pathauto_i18n_taxonomy/pathauto_i18n_taxonomy.module, line 163
Provides tools for creating multilanguage aliases for taxonomy terms.

Code

function pathauto_i18n_taxonomy_action_info() {
  return array(
    'pathauto_i18n_taxonomy_generate_alias' => array(
      'type' => 'taxonomy_term',
      'label' => t('Enable generation of aliases for all languages'),
      'configurable' => FALSE,
      'behavior' => array(
        'changes_property',
      ),
      'triggers' => array(
        'any',
      ),
    ),
    'pathauto_i18n_taxonomy_remove_alias' => array(
      'type' => 'taxonomy_term',
      'label' => t('Disable generation of aliases for all languages'),
      'configurable' => FALSE,
      'behavior' => array(
        'changes_property',
      ),
      'triggers' => array(
        'any',
      ),
    ),
  );
}