function EntityDisplayModeBase::getDescription
Same name in other branches
- 11.x core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php \Drupal\Core\Entity\EntityDisplayModeBase::getDescription()
Overrides EntityDisplayModeInterface::getDescription
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityDisplayModeBase.php, line 132
Class
- EntityDisplayModeBase
- Base class for config entity types with settings for form and view modes.
Namespace
Drupal\Core\EntityCode
public function getDescription() : string {
return $this->description ?? '';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.