constant 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';
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityDisplayBase.php/constant/EntityDisplayBase::CUSTOM_MODE/8.1.x