Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DenyNodePreview.php

function DenyNodePreview::__construct

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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal