You are here

protected property NodeRevisionPermissionsTest::$map in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php \Drupal\Tests\node\Functional\NodeRevisionPermissionsTest::map

Map revision permission names to node revision access ops.

Type: array

File

core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php, line 40

Class

NodeRevisionPermissionsTest
Tests user permissions for node revisions.

Namespace

Drupal\Tests\node\Functional

Code

protected $map = [
  'view' => 'view all revisions',
  'update' => 'revert all revisions',
  'delete' => 'delete all revisions',
];