function entity_ui_entity_page_view in Entity API 7
Page callback for viewing an entity.
Parameters
Entity $entity: The entity to be rendered.
Return value
array A renderable array of the entity in full view mode.
1 string reference to 'entity_ui_entity_page_view'
- EntityContentUIController::hook_menu in includes/
entity.ui.inc - Provides definitions for implementing hook_menu().
File
- ./
entity.module, line 177
Code
function entity_ui_entity_page_view($entity) {
module_load_include('inc', 'entity', 'includes/entity.ui');
return $entity
->view('full', NULL, TRUE);
}