protected property 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 47

Class

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

Namespace

Drupal\Core\Entity

Code

protected $status = TRUE;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityDisplayModeBase.php/property/EntityDisplayModeBase::status/8.1.x