function eck_title_property_formatter in Entity Construction Kit (ECK) 7.3
Display the title as an h1.
1 string reference to 'eck_title_property_formatter'
File
- plugins/
property_behavior/ title.inc, line 38
Code
function eck_title_property_formatter($property, $vars) {
$entity = $vars['entity'];
$title = _eck_title_property_extract_title($entity, $property);
return array(
'#markup' => "<h1>{$title}</h1>",
);
}