You are here

public function ImageStyle::getPluginCollections in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/image/src/Entity/ImageStyle.php \Drupal\image\Entity\ImageStyle::getPluginCollections()

Gets the plugin collections used by this entity.

Return value

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

Overrides EntityWithPluginCollectionInterface::getPluginCollections

File

core/modules/image/src/Entity/ImageStyle.php, line 366
Contains \Drupal\image\Entity\ImageStyle.

Class

ImageStyle
Defines an image style configuration entity.

Namespace

Drupal\image\Entity

Code

public function getPluginCollections() {
  return array(
    'effects' => $this
      ->getEffects(),
  );
}