contact.services.yml

Same filename and directory in other branches
  1. 9 core/modules/contact/contact.services.yml
  2. 8.9.x core/modules/contact/contact.services.yml
  3. 10 core/modules/contact/contact.services.yml
core/modules/contact/contact.services.yml

File

core/modules/contact/contact.services.yml

View source
  1. services:
  2. _defaults:
  3. autoconfigure: true
  4. access_check.contact_personal:
  5. class: Drupal\contact\Access\ContactPageAccess
  6. tags:
  7. - { name: access_check, applies_to: _access_contact_personal_tab }
  8. arguments: ['@config.factory', '@user.data']
  9. contact.mail_handler:
  10. class: Drupal\contact\MailHandler
  11. arguments: ['@plugin.manager.mail', '@language_manager', '@logger.channel.contact', '@string_translation', '@entity_type.manager']
  12. Drupal\contact\MailHandlerInterface: '@contact.mail_handler'
  13. logger.channel.contact:
  14. class: Drupal\Core\Logger\LoggerChannel
  15. factory: ['@logger.factory', 'get']
  16. arguments: ['contact']

Services

Title Deprecated Summary
access_check.contact_personal Drupal\contact\Access\ContactPageAccess
contact.mail_handler Drupal\contact\MailHandler
Drupal\contact\MailHandlerInterface
logger.channel.contact Drupal\Core\Logger\LoggerChannel
_defaults

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.