Mercurial > hg > isophonics-drupal-site
view core/lib/Drupal/Core/Plugin/ObjectWithPluginCollectionInterface.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace Drupal\Core\Plugin; /** * Provides an interface for an object using a plugin collection. * * @see \Drupal\Component\Plugin\LazyPluginCollection * * @ingroup plugin_api * * Entities that need this interface should implement * \Drupal\Core\Entity\EntityWithPluginCollectionInterface, which extends this. */ 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(); }