You are here

public function AssetInjectorInterface::getConditionsInstance in Asset Injector 8.2

Gets a conditions condition plugin instance.

Parameters

string $instance_id: The condition plugin instance ID.

Return value

\Drupal\Core\Condition\ConditionInterface A condition plugin.

1 method overrides AssetInjectorInterface::getConditionsInstance()
AssetInjectorBase::getConditionsInstance in src/Entity/AssetInjectorBase.php
Gets a conditions condition plugin instance.

File

src/AssetInjectorInterface.php, line 89

Class

AssetInjectorInterface
Provides an interface for defining Asset Injector entities.

Namespace

Drupal\asset_injector

Code

public function getConditionsInstance($instance_id);