You are here

public function EntityOperation::access in Views Entity Operation Access 8

Same name and namespace in other branches
  1. 2.x src/Plugin/views/access/EntityOperation.php \Drupal\veoa\Plugin\views\access\EntityOperation::access()

All validation done in route. Must be TRUE or controller will render an empty page.

Overrides AccessPluginBase::access

File

src/Plugin/views/access/EntityOperation.php, line 73

Class

EntityOperation
Access plugin checking if the current user can operate on an entity.

Namespace

Drupal\veoa\Plugin\views\access

Code

public function access(AccountInterface $account) {
  return $this
    ->isValidConfig();
}