function theme_node_admin_overview

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 content_types.inc theme_node_admin_overview($variables)
cle7 content_types.inc theme_node_admin_overview($variables)
elmsmedia7 content_types.inc theme_node_admin_overview($variables)
icor7 content_types.inc theme_node_admin_overview($variables)
meedjum_blog7 content_types.inc theme_node_admin_overview($variables)
mooc7 content_types.inc 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

1 theme call to theme_node_admin_overview()
node_overview_types in modules/node/content_types.inc
Displays the content type admin overview page.
2 string references to the theme hook from theme_node_admin_overview()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

node_overview_types in modules/node/content_types.inc
Displays the content type admin overview page.
node_theme in modules/node/node.module
Implements hook_theme().

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;
}