You are here

public function AccessResultForbidden::isForbidden in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 18
Contains \Drupal\Core\Access\AccessResultForbidden.

Class

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

Namespace

Drupal\Core\Access

Code

public function isForbidden() {
  return TRUE;
}