You are here

public function Fast404::blockPath in Fast 404 8

Same name and namespace in other branches
  1. 8.2 src/Fast404.php \Drupal\fast404\Fast404::blockPath()

Block the delivery of this 404 response.

2 calls to Fast404::blockPath()
Fast404::extensionCheck in src/Fast404.php
Extension check.
Fast404::pathCheck in src/Fast404.php
Path check.

File

src/Fast404.php, line 172

Class

Fast404
Fast404: A value object for manager Fast 404 logic.

Namespace

Drupal\fast404

Code

public function blockPath() {
  $this->respond404 = TRUE;
}