public function YamlForm::setAccessRules in YAML Form 8
Sets the form access.
Parameters
array $access: The structured array containing all the form access controls.
Return value
$this
Overrides YamlFormInterface::setAccessRules
File
- src/
Entity/ YamlForm.php, line 482
Class
- YamlForm
- Defines the form entity.
Namespace
Drupal\yamlform\EntityCode
public function setAccessRules(array $access) {
$this->access = $access;
return $this;
}