contact.services.yml 575 Bytes
Newer Older
1 2 3 4
services:
  access_check.contact_personal:
    class: Drupal\contact\Access\ContactPageAccess
    tags:
5
      - { name: access_check, applies_to: _access_contact_personal_tab }
6
    arguments: ['@config.factory', '@user.data']
7 8 9 10 11 12 13 14
  contact.mail_handler:
    class: Drupal\contact\MailHandler
    arguments: ['@plugin.manager.mail', '@language_manager', '@logger.channel.contact', '@string_translation', '@entity.manager']
  logger.channel.contact:
    class: Drupal\Core\Logger\LoggerChannel
    factory_method: get
    factory_service: logger.factory
    arguments: ['contact']