You are here

public function PermissionsByTermDrupalSubContext::nodeAccessRecordsAreDisabled in Permissions by Term 8.2

@Given node access records are disabled

File

tests/src/Behat/Context/permissions_by_term.behat.inc, line 115

Class

PermissionsByTermDrupalSubContext
Class PermissionsByTermContext

Namespace

Drupal\Tests\permissions_by_term\Behat\PermissionsByTermDrupalSubContext

Code

public function nodeAccessRecordsAreDisabled() : void {
  \Drupal::configFactory()
    ->getEditable('permissions_by_term.settings')
    ->set('disable_node_access_records', TRUE)
    ->save();
}