You are here

public function ViewsMegarowEditController::access in Views Megarow 8

1 string reference to 'ViewsMegarowEditController::access'
views_megarow.routing.yml in ./views_megarow.routing.yml
views_megarow.routing.yml

File

src/Controller/ViewsMegarowEditController.php, line 54

Class

ViewsMegarowEditController

Namespace

Drupal\views_megarow\Controller

Code

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'));
}