public function Wizard::addAccessCondition in Flexiform 8
File
- contrib/
wizard/ src/ Entity/ Wizard.php, line 206
Class
- Wizard
- Defines a flexiform wizard entity class.
Namespace
Drupal\flexiform_wizard\EntityCode
public function addAccessCondition(array $configuration) {
$configuration['uuid'] = $this
->uuidGenerator()
->generate();
$this
->getAccessConditions()
->addInstanceId($configuration['uuid'], $configuration);
return $configuration['uuid'];
}