function ImageStyle::getPluginCollections

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

core/modules/image/src/Entity/ImageStyle.php, line 411

Class

ImageStyle
Defines an image style configuration entity.

Namespace

Drupal\image\Entity

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.