class AccessResultAllowed in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Access/AccessResultAllowed.php \Drupal\Core\Access\AccessResultAllowed
- 9 core/lib/Drupal/Core/Access/AccessResultAllowed.php \Drupal\Core\Access\AccessResultAllowed
Value object indicating an allowed access result, with cacheability metadata.
Hierarchy
- class \Drupal\Core\Access\AccessResult implements AccessResultInterface, RefinableCacheableDependencyInterface uses RefinableCacheableDependencyTrait
- class \Drupal\Core\Access\AccessResultAllowed
Expanded class hierarchy of AccessResultAllowed
3 files declare their use of AccessResultAllowed
- BlockPluginHasSettingsTrayFormAccessCheckTest.php in core/
modules/ settings_tray/ tests/ src/ Unit/ Access/ BlockPluginHasSettingsTrayFormAccessCheckTest.php - LatestRevisionCheckTest.php in core/
modules/ content_moderation/ tests/ src/ Unit/ LatestRevisionCheckTest.php - MigrateAccessCheck.php in core/
modules/ migrate_drupal_ui/ src/ MigrateAccessCheck.php
File
- core/
lib/ Drupal/ Core/ Access/ AccessResultAllowed.php, line 8
Namespace
Drupal\Core\AccessView source
class AccessResultAllowed extends AccessResult {
/**
* {@inheritdoc}
*/
public function isAllowed() {
return TRUE;
}
}