public function Webform::setAccessRules in Webform 8.5
Same name and namespace in other branches
- 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::setAccessRules()
Sets the webform access rules.
Parameters
array $access: The structured array containing all the webform access rules.
Return value
$this
Overrides WebformInterface::setAccessRules
File
- src/
Entity/ Webform.php, line 1055
Class
- Webform
- Defines the webform entity.
Namespace
Drupal\webform\EntityCode
public function setAccessRules(array $access) {
$this->access = $access;
return $this;
}