service content_translation.delete_access in Drupal 10
Same name and namespace in other branches
- 8 core/modules/content_translation/content_translation.services.yml \content_translation.delete_access
- 9 core/modules/content_translation/content_translation.services.yml \content_translation.delete_access
Class
Drupal\content_translation\Access\ContentTranslationDeleteAccessTags
- access_check
3 string references to content_translation.delete_access
- ContentTranslationController::overview in core/
modules/ content_translation/ src/ Controller/ ContentTranslationController.php - Builds the translations overview page.
- ContentTranslationHandler::entityFormAlter in core/
modules/ content_translation/ src/ ContentTranslationHandler.php - ContentTranslationManageAccessCheck::access in core/
modules/ content_translation/ src/ Access/ ContentTranslationManageAccessCheck.php - Checks translation access for the entity and operation on the given route.
File
- core/
modules/ content_translation/ content_translation.services.yml - core/modules/content_translation/content_translation.services.yml
View source
- class: Drupal\content_translation\Access\ContentTranslationDeleteAccess
- arguments:
- - '@entity_type.manager'
- - '@content_translation.manager'
- tags:
- - { name: access_check, applies_to: _access_content_translation_delete }