function theme_node_admin_overview
theme_node_admin_overview($variables)
Returns HTML for a node type description for the content type admin overview page.
Parameters
$variables: An associative array containing:
- name: The human-readable name of the content type.
- type: An object containing the 'type' (machine name) and 'description' of the content type.
Related topics
File
- modules/node/content_types.inc, line 67
- Content type editing user interface.
Code
function theme_node_admin_overview($variables) { $name = $variables['name']; $type = $variables['type']; $output = check_plain($name); $output .= ' <small>' . t('(Machine name: @type)', array('@type' => $type->type)) . '</small>'; $output .= '<div class="description">' . filter_xss_admin($type->description) . '</div>'; return $output; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!node!content_types.inc/function/theme_node_admin_overview/7.x