public function NodeType::getDescription in Drupal 9
Same name and namespace in other branches
- 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\EntityCode
public function getDescription() {
return $this->description;
}