EntityWithPluginCollectionInterface.php in Zircon Profile 8
Same filename and directory in other branches
Namespace
Drupal\Core\EntityFile
core/lib/Drupal/Core/Entity/EntityWithPluginCollectionInterface.phpView source
<?php
/**
* @file
* Contains \Drupal\Core\Entity\EntityWithPluginCollectionInterface.
*/
namespace Drupal\Core\Entity;
/**
* Provides an interface for an object using a plugin collection.
*
* @see \Drupal\Component\Plugin\LazyPluginCollection
*
* @ingroup plugin_api
*/
interface EntityWithPluginCollectionInterface extends EntityInterface {
/**
* Gets the plugin collections used by this entity.
*
* @return \Drupal\Component\Plugin\LazyPluginCollection[]
* An array of plugin collections, keyed by the property name they use to
* store their configuration.
*/
public function getPluginCollections();
}
Interfaces
Name | Description |
---|---|
EntityWithPluginCollectionInterface | Provides an interface for an object using a plugin collection. |