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';
doc_Drupal
2016-10-29 09:05:15
Comments
Leave a Comment

Please login to continue.