Search for handle

  1. Search 7.x for handle
  2. Search 9.5.x for handle
  3. Search 8.9.x for handle
  4. Search 10.3.x for handle
  5. Search main for handle
  6. Other projects
Title Object type File name Summary
NotificationHandler::getAdminAddress function core/modules/user/src/NotificationHandler.php Returns the account admin email address.
NotificationHandler::getReplyToAddress function core/modules/user/src/NotificationHandler.php Returns the email address used in the reply-to field.
NotificationHandler::sendCancelConfirm function core/modules/user/src/NotificationHandler.php Confirms with the user that they have requested to cancel their account.
NotificationHandler::sendPasswordReset function core/modules/user/src/NotificationHandler.php Sends a password reset email to the user.
NotificationHandler::sendRegisterAdminCreated function core/modules/user/src/NotificationHandler.php Notifies the user when their account has been created by an administrator.
NotificationHandler::sendRegisterNoApprovalRequired function core/modules/user/src/NotificationHandler.php Notifies the user when they have successfully registered an account.
NotificationHandler::sendRegisterPendingApproval function core/modules/user/src/NotificationHandler.php Notifies the user that their registration request is pending approval.
NotificationHandler::sendRegisterPendingApprovalAdmin function core/modules/user/src/NotificationHandler.php Sends a notification email to the admin about an account pending approval.
NotificationHandler::sendStatusActivated function core/modules/user/src/NotificationHandler.php Notifies the user that their account has been activated.
NotificationHandler::sendStatusBlocked function core/modules/user/src/NotificationHandler.php Notifies the user that their account has been blocked.
NotificationHandler::sendStatusCanceled function core/modules/user/src/NotificationHandler.php Notifies the user that their account has been canceled.
NotificationHandler::sendToUser function core/modules/user/src/NotificationHandler.php Sends a notification email following a change to a user account.
NotificationHandler::__construct function core/modules/user/src/NotificationHandler.php @phpstan-param \Closure(): \Psr\Log\LoggerInterface $logger
@phpstan-param \Closure(): \Drupal\Core\Mail\MailManagerInterface $mailManager
NotificationHandlerTest class core/modules/user/tests/src/Kernel/NotificationHandlerTest.php Tests NotificationHandler use of user.settings.notify.*.
NotificationHandlerTest.php file core/modules/user/tests/src/Kernel/NotificationHandlerTest.php
NotificationHandlerTest::$modules property core/modules/user/tests/src/Kernel/NotificationHandlerTest.php
NotificationHandlerTest::testUserMailHook function core/modules/user/tests/src/Kernel/NotificationHandlerTest.php Tests the mail hook implementation from the user module.
NotificationHandlerTest::testUserMailsNotSent function core/modules/user/tests/src/Kernel/NotificationHandlerTest.php Tests that mails are not sent when disabled.
NotificationHandlerTest::testUserMailsSent function core/modules/user/tests/src/Kernel/NotificationHandlerTest.php Tests that mails are sent when the appropriate notify configuration is set.
NotificationHandlerTest::testUserMailsWithoutAccountEmail function core/modules/user/tests/src/Kernel/NotificationHandlerTest.php Tests mails are not sent when the account has no email address.
NotificationHandlerTest::testUserRecoveryMailLanguage function core/modules/user/tests/src/Kernel/NotificationHandlerTest.php Tests recovery email content and token langcode is aligned.
NotificationHandlerTest::userMailsProvider function core/modules/user/tests/src/Kernel/NotificationHandlerTest.php Data provider for user mail testing.
OEmbedResourceConstraintValidator::handleException function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php Handles exceptions that occur during validation.
OverridesSectionStorage::handleTranslationAccess function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Handles access checks related to translations.
PageCache::handle function core/modules/page_cache/src/StackMiddleware/PageCache.php
PerformanceForm::$moduleHandler property core/modules/system/src/Form/PerformanceForm.php The module handler.
Permission::$permissionHandler property core/modules/user/src/Plugin/views/access/Permission.php The permission handler.
PermissionHandler class core/modules/user/src/PermissionHandler.php Provides the available permissions based on yml files.
PermissionHandler.php file core/modules/user/src/PermissionHandler.php
PermissionHandler::$callableResolver property core/modules/user/src/PermissionHandler.php The callable resolver.
PermissionHandler::$moduleHandler property core/modules/user/src/PermissionHandler.php The module handler.
PermissionHandler::$yamlDiscovery property core/modules/user/src/PermissionHandler.php The YAML discovery class to find all .permissions.yml files.
PermissionHandler::buildPermissionsYaml function core/modules/user/src/PermissionHandler.php Builds all permissions provided by .permissions.yml files.
PermissionHandler::getModuleNames function core/modules/user/src/PermissionHandler.php Returns all module names.
PermissionHandler::getPermissions function core/modules/user/src/PermissionHandler.php Gets all available permissions.
PermissionHandler::getYamlDiscovery function core/modules/user/src/PermissionHandler.php Gets the YAML discovery.
PermissionHandler::moduleProvidesPermissions function core/modules/user/src/PermissionHandler.php Determines whether a module provides some permissions.
PermissionHandler::sortPermissions function core/modules/user/src/PermissionHandler.php Sorts the given permissions by provider name and title.
PermissionHandler::__construct function core/modules/user/src/PermissionHandler.php Constructs a new PermissionHandler.
PermissionHandlerInterface interface core/modules/user/src/PermissionHandlerInterface.php Defines an interface to list available permissions.
PermissionHandlerInterface.php file core/modules/user/src/PermissionHandlerInterface.php
PermissionHandlerInterface::getPermissions function core/modules/user/src/PermissionHandlerInterface.php Gets all available permissions.
PermissionHandlerInterface::moduleProvidesPermissions function core/modules/user/src/PermissionHandlerInterface.php Determines whether a module provides some permissions.
PermissionHandlerTest class core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests the permission handler.
PermissionHandlerTest.php file core/modules/user/tests/src/Unit/PermissionHandlerTest.php
PermissionHandlerTest::$callableResolver property core/modules/user/tests/src/Unit/PermissionHandlerTest.php The mocked callable resolver.
PermissionHandlerTest::$moduleHandler property core/modules/user/tests/src/Unit/PermissionHandlerTest.php The mocked module handler.
PermissionHandlerTest::$permissionHandler property core/modules/user/tests/src/Unit/PermissionHandlerTest.php The tested permission handler.
PermissionHandlerTest::assertPermissions function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Checks that the permissions are like expected.
PermissionHandlerTest::mockModuleExtension function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Provides an extension object for a given module with a human name.

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