constant EntityDisplayBase::CUSTOM_MODE in Drupal 8
Same name and namespace in other branches
- 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\EntityCode
const CUSTOM_MODE = '_custom';