You are here

public function AccessResultForbidden::isForbidden in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Access/AccessResultForbidden.php \Drupal\Core\Access\AccessResultForbidden::isForbidden()

Overrides AccessResult::isForbidden

See also

\Drupal\Core\Access\AccessResultForbidden

File

core/lib/Drupal/Core/Access/AccessResultForbidden.php, line 30

Class

AccessResultForbidden
Value object indicating a forbidden access result, with cacheability metadata.

Namespace

Drupal\Core\Access

Code

public function isForbidden() {
  return TRUE;
}