You are here

public function Fast404::isPathBlocked in Fast 404 8.2

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

Make sure cli calls are not blocked.

Return value

bool Whether the path is blocked or not.

File

src/Fast404.php, line 182

Class

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

Namespace

Drupal\fast404

Code

public function isPathBlocked() {
  if ($this
    ->isCli()) {
    return FALSE;
  }
  return $this->respond404;
}