public function ViewsMegarowEditController::access in Views Megarow 8
1 string reference to 'ViewsMegarowEditController::access'
File
- src/
Controller/ ViewsMegarowEditController.php, line 54
Class
Namespace
Drupal\views_megarow\ControllerCode
public function access(AccountInterface $account) {
// Find a way to call the access handler of the entity for the edit action.
return AccessResult::allowedIf($account
->hasPermission('access content'));
}