contact.services.yml in Drupal 10
Same filename and directory in other branches
core/modules/contact/contact.services.yml
File
core/modules/contact/contact.services.ymlView source
- services:
- access_check.contact_personal:
- class: Drupal\contact\Access\ContactPageAccess
- tags:
- - { name: access_check, applies_to: _access_contact_personal_tab }
- arguments: ['@config.factory', '@user.data']
- contact.mail_handler:
- class: Drupal\contact\MailHandler
- arguments: ['@plugin.manager.mail', '@language_manager', '@logger.channel.contact', '@string_translation', '@entity_type.manager']
- logger.channel.contact:
- class: Drupal\Core\Logger\LoggerChannel
- factory: ['@logger.factory', 'get']
- arguments: ['contact']
Services
Name | Description |
---|---|
access_check.contact_personal | Drupal\contact\Access\ContactPageAccess |
contact.mail_handler | Drupal\contact\MailHandler |
logger.channel.contact | Drupal\Core\Logger\LoggerChannel |