interface ObjectWithPluginCollectionInterface in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Plugin/ObjectWithPluginCollectionInterface.php \Drupal\Core\Plugin\ObjectWithPluginCollectionInterface
Provides an interface for an object using a plugin collection.
Entities that need this interface should implement \Drupal\Core\Entity\EntityWithPluginCollectionInterface, which extends this.
Hierarchy
- interface \Drupal\Core\Plugin\ObjectWithPluginCollectionInterface
Expanded class hierarchy of ObjectWithPluginCollectionInterface
All classes that implement ObjectWithPluginCollectionInterface
See also
\Drupal\Component\Plugin\LazyPluginCollection
Related topics
1 file declares its use of ObjectWithPluginCollectionInterface
- EntityWithPluginCollectionInterface.php in core/
lib/ Drupal/ Core/ Entity/ EntityWithPluginCollectionInterface.php
File
- core/
lib/ Drupal/ Core/ Plugin/ ObjectWithPluginCollectionInterface.php, line 15
Namespace
Drupal\Core\PluginView source
interface ObjectWithPluginCollectionInterface {
/**
* Gets the plugin collections used by this object.
*
* @return \Drupal\Component\Plugin\LazyPluginCollection[]
* An array of plugin collections, keyed by the property name they use to
* store their configuration.
*/
public function getPluginCollections();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ObjectWithPluginCollectionInterface:: |
public | function | Gets the plugin collections used by this object. | 11 |