public function AssetInjectorInterface::setConditionsCollection in Asset Injector 8.2
Set new conditions on the asset.
Parameters
\Drupal\Core\Condition\ConditionPluginCollection $conditions: Conditions to set.
1 method overrides AssetInjectorInterface::setConditionsCollection()
- AssetInjectorBase::setConditionsCollection in src/
Entity/ AssetInjectorBase.php - Set new conditions on the asset.
File
- src/
AssetInjectorInterface.php, line 78
Class
- AssetInjectorInterface
- Provides an interface for defining Asset Injector entities.
Namespace
Drupal\asset_injectorCode
public function setConditionsCollection(ConditionPluginCollection $conditions);