function search_api_glossary_entity_property_info in Search API AZ Glossary 7.2
Same name and namespace in other branches
- 7.3 search_api_glossary.module \search_api_glossary_entity_property_info()
- 7 search_api_glossary.module \search_api_glossary_entity_property_info()
Implements hook_entity_property_info().
See also
File
- ./
search_api_glossary.module, line 155 - Search api glossary module file.
Code
function search_api_glossary_entity_property_info() {
$info = array();
// Add meta-data about the basic node properties.
$properties =& $info['node']['properties'];
$properties['title_az_glossary'] = array(
'label' => t("Title A-Z Glossary"),
'type' => 'text',
'description' => t("The A-Z Glossary from title of the node."),
'getter callback' => 'search_api_glossary_title_getter_callback',
'schema field' => 'az_title',
'sanitized' => TRUE,
);
return $info;
}