Same name and namespace in other branches
- 8.9.x core/modules/node/src/Entity/NodeType.php \Drupal\node\Entity\NodeType::getDescription()
- 9 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 173
Class
- NodeType
- Defines the Node type configuration entity.
Namespace
Drupal\node\EntityCode
public function getDescription() {
return $this->description ?? '';
}