AccessResultForbidden::isForbidden

public AccessResultForbidden::isForbidden()

Overrides AccessResult::isForbidden

See also

\Drupal\Core\Access\AccessResultForbidden

File

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

Class

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

Namespace

Drupal\Core\Access

Code

public function isForbidden() {
  return TRUE;
}
doc_Drupal
2016-10-29 08:42:35
Comments
Leave a Comment

Please login to continue.