DenyNodePreview::__construct

public DenyNodePreview::__construct(RouteMatchInterface $route_match)

Constructs a deny node preview page cache policy.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.

File

core/modules/node/src/PageCache/DenyNodePreview.php, line 31

Class

DenyNodePreview
Cache policy for node preview page.

Namespace

Drupal\node\PageCache

Code

public function __construct(RouteMatchInterface $route_match) {
  $this->routeMatch = $route_match;
}
doc_Drupal
2016-10-29 09:02:13
Comments
Leave a Comment

Please login to continue.