DenyNodePreview::check

public DenyNodePreview::check(Response $response, Request $request) Determines whether it is save to store a page in the cache. Parameters \Symfony\Component\HttpFoundation\Response $response: The response which is about to be sent to the client. \Symfony\Component\HttpFoundation\Request $request: The request object. Return value string|null Either static::DENY or NULL. Calling code may attempt to store a page in the cache unless static::DENY is returned. Returns NULL if the policy policy is

DenyNodePreview::$routeMatch

The current route match. Type: \Drupal\Core\Routing\RouteMatchInterface File core/modules/node/src/PageCache/DenyNodePreview.php, line 23 Class DenyNodePreview Cache policy for node preview page. Namespace Drupal\node\PageCache Code protected $routeMatch;

DenyNodePreview

Cache policy for node preview page. This policy rule denies caching of responses generated by the entity.node.preview route. Hierarchy class \Drupal\node\PageCache\DenyNodePreview implements ResponsePolicyInterface File core/modules/node/src/PageCache/DenyNodePreview.php, line 16 Namespace Drupal\node\PageCache Members Name Modifiers Type Description DenyNodePreview::$routeMatch protected property The current route match. DenyNodePreview::check public function De

DenyNoCacheRoutes::__construct

public DenyNoCacheRoutes::__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/lib/Drupal/Core/PageCache/ResponsePolicy/DenyNoCacheRoutes.php, line 31 Class DenyNoCacheRoutes Cache policy for routes with the 'no_cache' option set. Namespace Drupal\Core\PageCache\ResponsePolicy Code public function __construct(RouteMatchInterface $route_match)

DenyNoCacheRoutes::check

public DenyNoCacheRoutes::check(Response $response, Request $request) Determines whether it is save to store a page in the cache. Parameters \Symfony\Component\HttpFoundation\Response $response: The response which is about to be sent to the client. \Symfony\Component\HttpFoundation\Request $request: The request object. Return value string|null Either static::DENY or NULL. Calling code may attempt to store a page in the cache unless static::DENY is returned. Returns NULL if the policy policy i

DenyNoCacheRoutes::$routeMatch

The current route match. Type: \Drupal\Core\Routing\RouteMatchInterface File core/lib/Drupal/Core/PageCache/ResponsePolicy/DenyNoCacheRoutes.php, line 23 Class DenyNoCacheRoutes Cache policy for routes with the 'no_cache' option set. Namespace Drupal\Core\PageCache\ResponsePolicy Code protected $routeMatch;

DenyNoCacheRoutes

Cache policy for routes with the 'no_cache' option set. This policy rule denies caching of responses generated for routes that have the 'no_cache' option set to TRUE. Hierarchy class \Drupal\Core\PageCache\ResponsePolicy\DenyNoCacheRoutes implements ResponsePolicyInterface File core/lib/Drupal/Core/PageCache/ResponsePolicy/DenyNoCacheRoutes.php, line 16 Namespace Drupal\Core\PageCache\ResponsePolicy Members Name Modifiers Type Description DenyNoCacheRoutes::$routeMatch prote

DenyAdminRoutes::__construct

public DenyAdminRoutes::__construct(RouteMatchInterface $route_match) Constructs a deny admin route page cache policy. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. File core/modules/dynamic_page_cache/src/PageCache/ResponsePolicy/DenyAdminRoutes.php, line 32 Class DenyAdminRoutes Cache policy for routes with the '_admin_route' option set. Namespace Drupal\dynamic_page_cache\PageCache\ResponsePolicy Code public function __construct(RouteMat

DenyAdminRoutes::check

public DenyAdminRoutes::check(Response $response, Request $request) Determines whether it is save to store a page in the cache. Parameters \Symfony\Component\HttpFoundation\Response $response: The response which is about to be sent to the client. \Symfony\Component\HttpFoundation\Request $request: The request object. Return value string|null Either static::DENY or NULL. Calling code may attempt to store a page in the cache unless static::DENY is returned. Returns NULL if the policy policy is

DenyAdminRoutes::$routeMatch

The current route match. Type: \Drupal\Core\Routing\RouteMatchInterface File core/modules/dynamic_page_cache/src/PageCache/ResponsePolicy/DenyAdminRoutes.php, line 24 Class DenyAdminRoutes Cache policy for routes with the '_admin_route' option set. Namespace Drupal\dynamic_page_cache\PageCache\ResponsePolicy Code protected $routeMatch;