You are here

constant EntityDisplayBase::CUSTOM_MODE in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 27
Contains \Drupal\Core\Entity\EntityDisplayBase.

Class

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

Namespace

Drupal\Core\Entity

Code

const CUSTOM_MODE = '_custom';