interface EntityWithPluginCollectionInterface

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityWithPluginCollectionInterface.php \Drupal\Core\Entity\EntityWithPluginCollectionInterface
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityWithPluginCollectionInterface.php \Drupal\Core\Entity\EntityWithPluginCollectionInterface
  3. 10 core/lib/Drupal/Core/Entity/EntityWithPluginCollectionInterface.php \Drupal\Core\Entity\EntityWithPluginCollectionInterface

Provides an interface for an object using a plugin collection.

Hierarchy

  • interface \Drupal\Core\Entity\EntityInterface extends \Drupal\Core\Access\AccessibleInterface \Drupal\Core\Cache\CacheableDependencyInterface \Drupal\Core\Cache\RefinableCacheableDependencyInterface; interface \Drupal\Core\Plugin\ObjectWithPluginCollectionInterface

Expanded class hierarchy of EntityWithPluginCollectionInterface

All classes that implement EntityWithPluginCollectionInterface

See also

\Drupal\Component\Plugin\LazyPluginCollection

Related topics

14 files declare their use of EntityWithPluginCollectionInterface
Action.php in core/modules/system/src/Entity/Action.php
Block.php in core/modules/block/src/Entity/Block.php
ConfigEntityBase.php in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
ConfigEntityBaseWithPluginCollections.php in core/tests/Drupal/Tests/Core/Config/Entity/Fixtures/ConfigEntityBaseWithPluginCollections.php
ConfigEntityImportTest.php in core/modules/system/tests/src/Kernel/Entity/ConfigEntityImportTest.php

... See full list

File

core/lib/Drupal/Core/Entity/EntityWithPluginCollectionInterface.php, line 14

Namespace

Drupal\Core\Entity
View source
interface EntityWithPluginCollectionInterface extends EntityInterface, ObjectWithPluginCollectionInterface {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.