You are here

service content_translation.delete_access in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/content_translation/content_translation.services.yml \content_translation.delete_access
  2. 9 core/modules/content_translation/content_translation.services.yml \content_translation.delete_access

Class

Drupal\content_translation\Access\ContentTranslationDeleteAccess

Tags

  • 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
  1. class: Drupal\content_translation\Access\ContentTranslationDeleteAccess
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@content_translation.manager'
  5. tags:
  6. - { name: access_check, applies_to: _access_content_translation_delete }