class EntityDisplayPluginCollection
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityDisplayPluginCollection.php \Drupal\Core\Entity\EntityDisplayPluginCollection
- 8.9.x core/lib/Drupal/Core/Entity/EntityDisplayPluginCollection.php \Drupal\Core\Entity\EntityDisplayPluginCollection
- 11.x core/lib/Drupal/Core/Entity/EntityDisplayPluginCollection.php \Drupal\Core\Entity\EntityDisplayPluginCollection
A collection of formatters or widgets.
Hierarchy
- class \Drupal\Component\Plugin\LazyPluginCollection implements \Drupal\Component\Plugin\IteratorAggregate, \Drupal\Component\Plugin\Countable
- class \Drupal\Core\Plugin\DefaultLazyPluginCollection extends \Drupal\Component\Plugin\LazyPluginCollection uses \Drupal\Core\DependencyInjection\DependencySerializationTrait
- class \Drupal\Core\Entity\EntityDisplayPluginCollection extends \Drupal\Core\Plugin\DefaultLazyPluginCollection
- class \Drupal\Core\Plugin\DefaultLazyPluginCollection extends \Drupal\Component\Plugin\LazyPluginCollection uses \Drupal\Core\DependencyInjection\DependencySerializationTrait
Expanded class hierarchy of EntityDisplayPluginCollection
2 files declare their use of EntityDisplayPluginCollection
- EntityFormDisplay.php in core/
lib/ Drupal/ Core/ Entity/ Entity/ EntityFormDisplay.php - EntityViewDisplay.php in core/
lib/ Drupal/ Core/ Entity/ Entity/ EntityViewDisplay.php
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityDisplayPluginCollection.php, line 10
Namespace
Drupal\Core\EntityView source
class EntityDisplayPluginCollection extends DefaultLazyPluginCollection {
/**
* The key within the plugin configuration that contains the plugin ID.
*
* @var string
*/
protected $pluginKey = 'type';
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.