EntityDisplayModeBase::$status

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php \Drupal\Core\Entity\EntityDisplayModeBase::status
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php \Drupal\Core\Entity\EntityDisplayModeBase::status
  3. 11.x core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php \Drupal\Core\Entity\EntityDisplayModeBase::status

Whether or not this form or view mode has custom settings by default.

If FALSE, entities displayed in this mode will reuse the 'default' display settings by default (e.g. right after the module exposing the form or view mode is enabled), but administrators can later use the Field UI to apply custom display settings specific to the form or view mode.

Type: bool

Overrides ConfigEntityBase::$status

File

core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php, line 54

Class

EntityDisplayModeBase
Base class for config entity types with settings for form and view modes.

Namespace

Drupal\Core\Entity

Code

protected $status = TRUE;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.