CodeExplorer ConditionPluginCollection example
else { $conditions->
setInstanceConfiguration($instance_id,
$configuration);
} return $this;
} /**
* {@inheritdoc}
*/
public function getVisibilityConditions() { if (!
isset($this->visibilityCollection
)) { $this->visibilityCollection =
new ConditionPluginCollection($this->
conditionPluginManager(),
$this->
get('visibility'
));
} return $this->visibilityCollection;
} /**
* {@inheritdoc}
*/
public function getVisibilityCondition($instance_id) { return $this->
getVisibilityConditions()->
get($instance_id);
}