public function Fast404::isPathBlocked in Fast 404 8
Same name and namespace in other branches
- 8.2 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\fast404Code
public function isPathBlocked() {
if ($this
->isCli()) {
return FALSE;
}
return $this->respond404;
}