function node_type_get_clean_name

Title callback: Returns the sanitized node type name.

Parameters

$node_type: The node type object.

Return value

The node type name that is safe for printing.

1 string reference to 'node_type_get_clean_name'
node_menu in drupal/core/modules/node/node.module
Implements hook_menu().

File

drupal/core/modules/node/node.module, line 392
The core module that allows content to be submitted to the site.

Code

function node_type_get_clean_name($node_type) {
  return check_plain($node_type->name);
}