NodeRevisionAccessCheck::access

public NodeRevisionAccessCheck::access(Route $route, AccountInterface $account, $node_revision = NULL, NodeInterface $node = NULL) Checks routing access for the node revision. Parameters \Symfony\Component\Routing\Route $route: The route to check against. \Drupal\Core\Session\AccountInterface $account: The currently logged in account. int $node_revision: (optional) The node revision ID. If not specified, but $node is, access is checked for that object's revision. \Drupal\node\NodeInterface $no

NodeRevisionAccessCheck::$nodeStorage

The node storage. Type: \Drupal\node\NodeStorageInterface File core/modules/node/src/Access/NodeRevisionAccessCheck.php, line 24 Class NodeRevisionAccessCheck Provides an access checker for node revisions. Namespace Drupal\node\Access Code protected $nodeStorage;

NodeRevisionAccessCheck::$nodeAccess

The node access control handler. Type: \Drupal\Core\Entity\EntityAccessControlHandlerInterface File core/modules/node/src/Access/NodeRevisionAccessCheck.php, line 31 Class NodeRevisionAccessCheck Provides an access checker for node revisions. Namespace Drupal\node\Access Code protected $nodeAccess;

NodeRevisionAccessCheck::$access

A static cache of access checks. Type: array File core/modules/node/src/Access/NodeRevisionAccessCheck.php, line 38 Class NodeRevisionAccessCheck Provides an access checker for node revisions. Namespace Drupal\node\Access Code protected $access = array();

NodeRevisionAccessCheck

Provides an access checker for node revisions. Hierarchy class \Drupal\node\Access\NodeRevisionAccessCheck implements AccessInterface Related topics Node access rights The node access system determines who can do what to which nodes. File core/modules/node/src/Access/NodeRevisionAccessCheck.php, line 17 Namespace Drupal\node\Access Members Name Modifiers Type Description NodeRevisionAccessCheck::$access protected property A static cache of access checks. NodeRevision

NodePreviewConverter::__construct

public NodePreviewConverter::__construct(PrivateTempStoreFactory $temp_store_factory) Constructs a new NodePreviewConverter. Parameters \Drupal\user\PrivateTempStoreFactory $temp_store_factory: The factory for the temp store object. File core/modules/node/src/ParamConverter/NodePreviewConverter.php, line 27 Class NodePreviewConverter Provides upcasting for a node entity in preview. Namespace Drupal\node\ParamConverter Code public function __construct(PrivateTempStoreFactory $temp_stor

NodePreviewConverter::convert

public NodePreviewConverter::convert($value, $definition, $name, array $defaults) Converts path variables to their corresponding objects. Parameters mixed $value: The raw value. mixed $definition: The parameter definition provided in the route options. string $name: The name of the parameter. array $defaults: The route defaults array. Return value mixed|null The converted parameter value. Overrides ParamConverterInterface::convert File core/modules/node/src/ParamConverter/NodePreviewConverter

NodePreviewConverter::applies

public NodePreviewConverter::applies($definition, $name, Route $route) Determines if the converter applies to a specific route and variable. Parameters mixed $definition: The parameter definition provided in the route options. string $name: The name of the parameter. \Symfony\Component\Routing\Route $route: The route to consider attaching to. Return value bool TRUE if the converter applies to the passed route and parameter, FALSE otherwise. Overrides ParamConverterInterface::applies File core

NodePreviewConverter::$tempStoreFactory

Stores the tempstore factory. Type: \Drupal\user\PrivateTempStoreFactory File core/modules/node/src/ParamConverter/NodePreviewConverter.php, line 19 Class NodePreviewConverter Provides upcasting for a node entity in preview. Namespace Drupal\node\ParamConverter Code protected $tempStoreFactory;

NodePreviewConverter

Provides upcasting for a node entity in preview. Hierarchy class \Drupal\node\ParamConverter\NodePreviewConverter implements ParamConverterInterface File core/modules/node/src/ParamConverter/NodePreviewConverter.php, line 12 Namespace Drupal\node\ParamConverter Members Name Modifiers Type Description NodePreviewConverter::$tempStoreFactory protected property Stores the tempstore factory. NodePreviewConverter::applies public function Determines if the converter ap