You are here

constant EntityDisplayBase::CUSTOM_MODE in Drupal 10

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

The 'mode' for runtime EntityDisplay objects used to render entities with arbitrary display options rather than a configured view mode or form mode.

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

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

const CUSTOM_MODE = '_custom';