function workflow_search_api_entity_property_info_alter in Workflow 7
Same name and namespace in other branches
- 7.2 workflow_search_api/workflow_search_api.module \workflow_search_api_entity_property_info_alter()
Implements hook_entity_property_info_alter().
File
- workflow_search_api/
workflow_search_api.module, line 10 - Adds workflow state information to Search API index.
Code
function workflow_search_api_entity_property_info_alter(&$info) {
$info['node']['properties']['workflow_state_name'] = array(
'type' => 'text',
'label' => t('Workflow state name'),
'sanitized' => TRUE,
'getter callback' => 'workflow_search_api_property_workflow_state_getter_callback',
);
}