You are here

public function MediaBundle::getPluginCollections in Media entity 8

Gets the plugin collections used by this object.

Return value

\Drupal\Component\Plugin\LazyPluginCollection[] An array of plugin collections, keyed by the property name they use to store their configuration.

Overrides ObjectWithPluginCollectionInterface::getPluginCollections

File

src/Entity/MediaBundle.php, line 138

Class

MediaBundle
Defines the Media bundle configuration entity.

Namespace

Drupal\media_entity\Entity

Code

public function getPluginCollections() {
  return [
    'type_configuration' => $this
      ->typePluginCollection(),
  ];
}