countries.info.inc in Countries 8
Same filename and directory in other branches
File
countries.info.incView source
<?php
/**
* Implements hook_entity_property_info_alter().
*
* Add Continent name property.
*/
function countries_entity_property_info_alter(&$info) {
$info['country']['properties']['continent_name'] = array(
'label' => t('Continent name'),
'type' => 'text',
'getter callback' => 'countries_get_properties',
);
}
Functions
Name | Description |
---|---|
countries_entity_property_info_alter | Implements hook_entity_property_info_alter(). |