interface 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
| Title Sort descending | Modifiers | Object type | Summary | Overrides | 
|---|---|---|---|---|
| ObjectWithPluginCollectionInterface::getPluginCollections | public | function | Gets the plugin collections used by this object. | 12 | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
