EntityDisplayBase::$status

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

Whether this display is enabled or not. If the entity (form) display is disabled, we'll fall back to the 'default' display.

Type: bool

Overrides ConfigEntityBase::$status

File

core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 65

Class

EntityDisplayBase
Provides a common base class for entity view and form displays.

Namespace

Drupal\Core\Entity

Code

protected $status;

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