function EntityDisplayBase::getDefaultRegion
Gets the default region.
Return value
string The default region for this display.
3 calls to EntityDisplayBase::getDefaultRegion()
- EntityDisplayBase::init in core/
lib/ Drupal/ Core/ Entity/ EntityDisplayBase.php  - Initializes the display.
 - EntityDisplayBase::preSave in core/
lib/ Drupal/ Core/ Entity/ EntityDisplayBase.php  - Acts on an entity before the presave hook is invoked.
 - LayoutBuilderEntityViewDisplay::getDefaultRegion in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php  - Gets the default region.
 
1 method overrides EntityDisplayBase::getDefaultRegion()
- LayoutBuilderEntityViewDisplay::getDefaultRegion in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php  - Gets the default region.
 
File
- 
              core/
lib/ Drupal/ Core/ Entity/ EntityDisplayBase.php, line 543  
Class
- EntityDisplayBase
 - Provides a common base class for entity view and form displays.
 
Namespace
Drupal\Core\EntityCode
protected function getDefaultRegion() {
  return 'content';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.