function termstatus_entity_property_info_alter in Taxonomy Term Status 7
Implements hook_entity_property_info_alter().
File
- ./
termstatus.module, line 90 - Hook implementations and API for the taxonomy term status module.
Code
function termstatus_entity_property_info_alter(&$entity_info) {
$entity_info['taxonomy_term']['properties']['status'] = array(
'label' => t("Status"),
'description' => t("Whether the taxonomy term is published or unpublished."),
'setter callback' => 'entity_property_verbatim_set',
'type' => 'integer',
'options list' => 'entity_metadata_status_options_list',
'access permission' => 'administer taxonomy',
);
}