function None::access
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/access/None.php \Drupal\views\Plugin\views\access\None::access()
- 10 core/modules/views/src/Plugin/views/access/None.php \Drupal\views\Plugin\views\access\None::access()
- 11.x core/modules/views/src/Plugin/views/access/None.php \Drupal\views\Plugin\views\access\None::access()
Overrides AccessPluginBase::access
File
-
core/
modules/ views/ src/ Plugin/ views/ access/ None.php, line 31
Class
- None
- Access plugin that provides no access control at all.
Namespace
Drupal\views\Plugin\views\accessCode
public function access(AccountInterface $account) {
// No access control.
return TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.