You are here

public function PermissionsByTermDrupalSubContext::nodeAccessRecordsAreEnabled in Permissions by Term 8.2

@Given node access records are enabled

File

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

Class

PermissionsByTermDrupalSubContext
Class PermissionsByTermContext

Namespace

Drupal\Tests\permissions_by_term\Behat\PermissionsByTermDrupalSubContext

Code

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