You are here

password_policy.services.yml in Password Policy 8.3

File

password_policy.services.yml
View source
  1. services:
  2. plugin.manager.password_policy.password_constraint:
  3. class: Drupal\password_policy\PasswordConstraintPluginManager
  4. parent: default_plugin_manager
  5. password_policy_event_subscriber:
  6. class: Drupal\password_policy\EventSubscriber\PasswordPolicyEventSubscriber
  7. arguments:
  8. - '@current_user'
  9. - '@entity_type.manager'
  10. - '@messenger'
  11. - '@request_stack'
  12. tags:
  13. - {name: event_subscriber}
  14. password_policy.validator:
  15. class: Drupal\password_policy\PasswordPolicyValidator
  16. arguments: ['@entity_type.manager', '@plugin.manager.password_policy.password_constraint']