You are here

public function NodeType::getDescription in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/node/src/Entity/NodeType.php \Drupal\node\Entity\NodeType::getDescription()

Gets the description.

Return value

string The description of this node type.

Overrides NodeTypeInterface::getDescription

File

core/modules/node/src/Entity/NodeType.php, line 169

Class

NodeType
Defines the Node type configuration entity.

Namespace

Drupal\node\Entity

Code

public function getDescription() {
  return $this->description;
}