public function WebformInterface::setAccessRules in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformInterface.php \Drupal\webform\WebformInterface::setAccessRules()
Sets the webform access rules.
Parameters
array $access: The structured array containing all the webform access rules.
Return value
$this
1 method overrides WebformInterface::setAccessRules()
- Webform::setAccessRules in src/
Entity/ Webform.php - Sets the webform access rules.
File
- src/
WebformInterface.php, line 638
Class
- WebformInterface
- Provides an interface defining a webform entity.
Namespace
Drupal\webformCode
public function setAccessRules(array $access);