View or form mode to be displayed.
Type: string
File
- core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 57
Class
- EntityDisplayBase
- Provides a common base class for entity view and form displays.
Namespace
Drupal\Core\Entity
Code
protected $mode = self::CUSTOM_MODE;
Please login to continue.