You are here

public function AssetInjectorBase::getConditions in Asset Injector 8.2

Returns an array of condition configurations.

Return value

array An array of condition configuration keyed by the condition ID.

Overrides AssetInjectorInterface::getConditions

File

src/Entity/AssetInjectorBase.php, line 156

Class

AssetInjectorBase
Class AssetInjectorBase: Base asset injector class.

Namespace

Drupal\asset_injector\Entity

Code

public function getConditions() {
  return $this
    ->getConditionsCollection()
    ->getConfiguration();
}