public function AccessRestrictedLink::isAllowed in JSON:API Hypermedia 8
Whether the link is allowed or not.
Return value
bool TRUE if the link is accessible, FALSE otherwise.
1 call to AccessRestrictedLink::isAllowed()
- AccessRestrictedLink::getInnerLink in src/
AccessRestrictedLink.php - Gets the bare link.
File
- src/
AccessRestrictedLink.php, line 139
Class
- AccessRestrictedLink
- Decorates a JSON:API link to consider link accessibility.
Namespace
Drupal\jsonapi_hypermediaCode
public function isAllowed() {
return $this->accessResult
->isAllowed();
}