You are here

public function Wizard::getAccessConditions in Flexiform 8

1 call to Wizard::getAccessConditions()
Wizard::getPluginCollections in contrib/wizard/src/Entity/Wizard.php
Gets the plugin collections used by this object.

File

contrib/wizard/src/Entity/Wizard.php, line 196

Class

Wizard
Defines a flexiform wizard entity class.

Namespace

Drupal\flexiform_wizard\Entity

Code

public function getAccessConditions() {
  if (!$this->accessConditionCollection) {
    $this->accessConditionCollection = new ConditionPluginCollection(\Drupal::service('plugin.manager.condition'), $this
      ->get('access_conditions'));
  }
  return $this->accessConditionCollection;
}