EntityDisplayBase::CUSTOM_MODE

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

The mode used to render entities with arbitrary display options.

@todo Prevent creation of a mode with this ID https://www.drupal.org/node/2410727

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

const CUSTOM_MODE = '_custom';

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