public AccessResultReasonInterface::getReason()
Gets the reason for this access result.
Return value
string|null The reason of this access result or NULL if no reason is provided.
File
- core/lib/Drupal/Core/Access/AccessResultReasonInterface.php, line 23
Class
- AccessResultReasonInterface
- Interface for access result value objects with stored reason for developers.
Namespace
Drupal\Core\Access
Code
public function getReason();
Please login to continue.