You are here

public function YamlFormInterface::setAccessRules in YAML Form 8

Sets the form access.

Parameters

array $access: The structured array containing all the form access controls.

Return value

$this

1 method overrides YamlFormInterface::setAccessRules()
YamlForm::setAccessRules in src/Entity/YamlForm.php
Sets the form access.

File

src/YamlFormInterface.php, line 198

Class

YamlFormInterface
Provides an interface defining a form entity.

Namespace

Drupal\yamlform

Code

public function setAccessRules(array $access);