function sarnia_entity_page in Sarnia 7
Menu page callback to display a Sarnia entity.
Renders a Sarnia entity using the default display mode.
The 'sarnia_id' and 'sarnia_solr_properties' items provided by Sarnia's hook_field_extra_fields() implementation should be useful to developers and administrators who wish to view the full contents of a particular Sarnia entity.
See also
1 string reference to 'sarnia_entity_page'
- sarnia_menu in ./
sarnia.module - Implements hook_menu().
File
- ./
sarnia.module, line 343
Code
function sarnia_entity_page($entity_type, $entity) {
return sarnia_view($entity);
}