You are here

class NodeRevisionAccessCheck in Multiversion 8.2

Same name and namespace in other branches
  1. 8 src/Access/NodeRevisionAccessCheck.php \Drupal\multiversion\Access\NodeRevisionAccessCheck

Hierarchy

Expanded class hierarchy of NodeRevisionAccessCheck

File

src/Access/NodeRevisionAccessCheck.php, line 11

Namespace

Drupal\multiversion\Access
View source
class NodeRevisionAccessCheck extends CoreNodeRevisionAccessCheck {
  public function access(Route $route, AccountInterface $account, $node_revision = NULL, NodeInterface $node = NULL) {
    return AccessResult::forbidden('Multiversion does not support reverting revisions.');
  }

}

Members

Namesort descending Modifiers Type Description Overrides
NodeRevisionAccessCheck::$access protected property A static cache of access checks.
NodeRevisionAccessCheck::$nodeAccess protected property The node access control handler.
NodeRevisionAccessCheck::$nodeStorage protected property The node storage.
NodeRevisionAccessCheck::access public function Checks routing access for the node revision. Overrides NodeRevisionAccessCheck::access
NodeRevisionAccessCheck::checkAccess public function Checks node revision access.
NodeRevisionAccessCheck::__construct public function Constructs a new NodeRevisionAccessCheck.