EntityDisplayBase::$mode
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::mode
- 8.9.x core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::mode
- 11.x core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::mode
View or form mode to be displayed.
Type: string
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityDisplayBase.php, line 58
Class
- EntityDisplayBase
- Provides a common base class for entity view and form displays.
Namespace
Drupal\Core\EntityCode
protected $mode = self::CUSTOM_MODE;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.