You are here

public function Scheduler::access in Scheduler 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/views/access/Scheduler.php \Drupal\scheduler\Plugin\views\access\Scheduler::access()

Determine if the current user has access or not.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user who wants to access this view.

Return value

bool Returns whether the user has access to the view.

Overrides AccessPluginBase::access

File

src/Plugin/views/access/Scheduler.php, line 29

Class

Scheduler
Access plugin that provided access control for Scheduler views.

Namespace

Drupal\scheduler\Plugin\views\access

Code

public function access(AccountInterface $account) {
}