Overrides AccessPluginBase::access
public function access(AccountInterface $account) { return !empty(array_intersect(array_filter($this->options['role']), $account->getRoles())); }