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