EntityDisplayModeBase::$id

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php \Drupal\Core\Entity\EntityDisplayModeBase::id
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php \Drupal\Core\Entity\EntityDisplayModeBase::id
  3. 10 core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php \Drupal\Core\Entity\EntityDisplayModeBase::id

The ID of the form or view mode.

Type: string

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

protected $id;

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