NodeRevisionPermissionsTest::$map

Same name in other branches
  1. 8.9.x 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 41

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',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.