You are here

public function AssetInjectorBase::getPluginCollections in Asset Injector 8.2

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/AssetInjectorBase.php, line 149

Class

AssetInjectorBase
Class AssetInjectorBase: Base asset injector class.

Namespace

Drupal\asset_injector\Entity

Code

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