public function AssetInjectorBase::setConditionsCollection in Asset Injector 8.2
Set new conditions on the asset.
Parameters
\Drupal\Core\Condition\ConditionPluginCollection $conditions: Conditions to set.
Overrides AssetInjectorInterface::setConditionsCollection
File
- src/
Entity/ AssetInjectorBase.php, line 188
Class
- AssetInjectorBase
- Class AssetInjectorBase: Base asset injector class.
Namespace
Drupal\asset_injector\EntityCode
public function setConditionsCollection(ConditionPluginCollection $conditions) {
$this->conditionsCollection = $conditions;
}