NodeRevisionPermissionsTestCase::$map

Map revision permission names to node revision access ops.

Type: array

File

modules/node/node.test, line 2673

Class

NodeRevisionPermissionsTestCase
Tests user permissions for node revisions.

Code

protected $map = array(
    'view' => 'view revisions',
    'update' => 'revert revisions',
    'delete' => 'delete revisions',
);

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