function BlockContentType::getDescription
Returns the description of the block type.
Return value
string The description of the type of this block.
Overrides BlockContentTypeInterface::getDescription
File
-
core/
modules/ block_content/ src/ Entity/ BlockContentType.php, line 89
Class
- BlockContentType
- Defines the block type entity.
Namespace
Drupal\block_content\EntityCode
public function getDescription() {
return $this->description ?? '';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.