function EntityDisplayBase::getOriginalMode
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::getOriginalMode()
- 8.9.x core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::getOriginalMode()
- 10 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::getOriginalMode()
Overrides EntityDisplayInterface::getOriginalMode
1 call to EntityDisplayBase::getOriginalMode()
- LayoutBuilderEntityViewDisplay::isCustomMode in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php - Indicates if this display is using the '_custom' view mode.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityDisplayBase.php, line 231
Class
- EntityDisplayBase
- Provides a common base class for entity view and form displays.
Namespace
Drupal\Core\EntityCode
public function getOriginalMode() {
return $this->get('originalMode');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.