public function BlockContentType::getDescription in Drupal 9
Same name and namespace in other branches
- 8 core/modules/block_content/src/Entity/BlockContentType.php \Drupal\block_content\Entity\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 86
Class
- BlockContentType
- Defines the custom block type entity.
Namespace
Drupal\block_content\EntityCode
public function getDescription() {
return $this->description;
}