You are here

public function WebformInterface::setAccessRules in Webform 8.5

Same name and namespace in other branches
  1. 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\webform

Code

public function setAccessRules(array $access);