public function TestExample::access in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php \Drupal\views_test_data\Plugin\views\area\TestExample::access()
- 9 core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php \Drupal\views_test_data\Plugin\views\area\TestExample::access()
File
- core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ area/ TestExample.php, line 21
Class
- TestExample
- Test area plugin.
Namespace
Drupal\views_test_data\Plugin\views\areaCode
public function access(AccountInterface $account) {
return $this->options['custom_access'];
}