conditionPluginManager 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);
  }

  
Home | Imprint | This part of the site doesn't use cookies.