public static AccessResult::allowed()
Creates an AccessResultInterface object with isAllowed() === TRUE.
Return value
\Drupal\Core\Access\AccessResult isAllowed() will be TRUE.
File
- core/lib/Drupal/Core/Access/AccessResult.php, line 47
Class
- AccessResult
- Value object for passing an access result with cacheability metadata.
Namespace
Drupal\Core\Access
Code
public static function allowed() { return new AccessResultAllowed(); }
Please login to continue.