function node_type_get_description

Description callback: Returns the node type description.

Parameters

\Drupal\node\NodeTypeInterface $node_type: The node type object.

Return value

string The node type description.

File

core/modules/node/node.module, line 245

Code

function node_type_get_description(NodeTypeInterface $node_type) {
  return $node_type->getDescription();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.