contact.services.yml

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