Upgraded drupal core with security updates
[yaffs-website] / web / core / lib / Drupal / Core / Plugin / ObjectWithPluginCollectionInterface.php
1 <?php
2
3 namespace Drupal\Core\Plugin;
4
5 /**
6  * Provides an interface for an object using a plugin collection.
7  *
8  * @see \Drupal\Component\Plugin\LazyPluginCollection
9  *
10  * @ingroup plugin_api
11  *
12  * Entities that need this interface should implement
13  * \Drupal\Core\Entity\EntityWithPluginCollectionInterface, which extends this.
14  */
15 interface ObjectWithPluginCollectionInterface {
16
17   /**
18    * Gets the plugin collections used by this object.
19    *
20    * @return \Drupal\Component\Plugin\LazyPluginCollection[]
21    *   An array of plugin collections, keyed by the property name they use to
22    *   store their configuration.
23    */
24   public function getPluginCollections();
25
26 }