You are here

public function PermissionsByTermDrupalSubContext::permissionModeIsSet in Permissions by Term 8.2

@Given /^permission mode is set$/

File

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

Class

PermissionsByTermDrupalSubContext
Class PermissionsByTermContext

Namespace

Drupal\Tests\permissions_by_term\Behat\PermissionsByTermDrupalSubContext

Code

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