public function VariantBase::access in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Display/VariantBase.php \Drupal\Core\Display\VariantBase::access()
- 9 core/lib/Drupal/Core/Display/VariantBase.php \Drupal\Core\Display\VariantBase::access()
File
- core/
lib/ Drupal/ Core/ Display/ VariantBase.php, line 133
Class
- VariantBase
- Provides a base class for DisplayVariant plugins.
Namespace
Drupal\Core\DisplayCode
public function access(AccountInterface $account = NULL) {
return TRUE;
}