function hook_field_timer_entity_properties in Field Timer 7.2
Same name and namespace in other branches
- 7 field_timer.api.php \hook_field_timer_entity_properties()
Allows modules to define date properties of an entity type.
Return value
array Keys of the array are entity types and values are arrays described properties. Each key of subarray is property name and value is property human readable name.
See also
field_timer_field_timer_entity_properties()
1 function implements hook_field_timer_entity_properties()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
1 invocation of hook_field_timer_entity_properties()
- field_timer_entity_properties in ./
field_timer.module - Loads entity properties which represent a date.
File
- ./
field_timer.api.php, line 18 - Hooks provided by the Field Timer module.
Code
function hook_field_timer_entity_properties() {
$properties = array(
'node' => array(
'created' => t('Node create date'),
'changed' => t('Node last change date'),
),
);
return $properties;
}