function countries_action_info in Countries 8
Same name and namespace in other branches
- 7.2 countries.module \countries_action_info()
Implements hook_action_info().
File
- ./
countries.module, line 1014 - Defines the field and entity information for countries.
Code
function countries_action_info() {
return array(
'country_enable_action' => array(
'type' => 'country',
'label' => t('Enable country'),
'configurable' => FALSE,
'behavior' => array(
'changes_property',
),
),
'country_disable_action' => array(
'type' => 'country',
'label' => t('Disable country'),
'configurable' => FALSE,
'behavior' => array(
'changes_property',
),
),
);
}