function tripal_content_view
3.x TripalEntityUIController.inc | tripal_content_view() |
Provide a data listing for tripal entites (ie: biological data).
This function is a callback in a menu item which is set in the TripalEntityUIController class.
1 string reference to 'tripal_content_view'
- TripalEntityUIController::hook_menu in tripal/
includes/ TripalEntityUIController.inc - Overrides hook_menu() defaults. Main reason for doing this is that parent class hook_menu() is optimized for entity type administration.
File
- tripal/
includes/ TripalEntityUIController.inc, line 134
Code
function tripal_content_view() {
// Retrieve our data listing form and render it.
$form = drupal_get_form('tripal_content_overview_form');
$output = drupal_render($form);
// Set the breadcrumb.
$breadcrumb = array();
$breadcrumb[] = l('Home', '<front>');
$breadcrumb[] = l('Administration', 'admin');
drupal_set_breadcrumb($breadcrumb);
return $output;
}