You are here

104 calls to Drupal::messenger() in Drupal 10

ajax_forms_test_validation_form_callback in core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module
Ajax form callback: Selects the 'drivertext' element of the validation form.
ajax_forms_test_validation_number_form_callback in core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module
Ajax form callback: Selects the 'drivernumber' element of the validation form.
AreaMessagesTest::testMessageText in core/modules/views/tests/src/Kernel/Handler/AreaMessagesTest.php
Tests the messages area handler.
authorize.php in core/authorize.php
Administrative script for running authorized file operations.
BatchUserAction::finishBatch in core/modules/views/tests/modules/user_batch_action_test/src/Plugin/Action/BatchUserAction.php
Finish batch.
BigPipeTestController::test in core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php
Returns all BigPipe placeholder test case render arrays.
BlockRebuildTest::testRebuildInvalidBlocks in core/modules/block/tests/src/Kernel/BlockRebuildTest.php
@covers ::block_rebuild
BlockRebuildTest::testRebuildNoBlocks in core/modules/block/tests/src/Kernel/BlockRebuildTest.php
@covers ::block_rebuild
BlockRebuildTest::testRebuildNoInvalidBlocks in core/modules/block/tests/src/Kernel/BlockRebuildTest.php
@covers ::block_rebuild
block_form_form_test_alter_form_alter in core/modules/system/tests/modules/form_test/form_test.module
Implements hook_form_FORM_ID_alter().
block_rebuild in core/modules/block/block.module
Implements hook_rebuild().
book_test_page_attachments in core/modules/book/tests/modules/book_test/book_test.module
Implements hook_page_attachments().
Callbacks::validateName in core/modules/system/tests/modules/form_test/src/Callbacks.php
Form element validation handler for 'name' in form_test_validate_form().
callback_batch_finished in core/lib/Drupal/Core/Form/form.api.php
Complete a batch process.
ClassyTest::testClassyTheme in core/modules/system/tests/src/Kernel/Render/ClassyTest.php
Tests the classy theme.
ConfigImporterBatch::finish in core/lib/Drupal/Core/Config/Importer/ConfigImporterBatch.php
Finish batch.
content_translation_install in core/modules/content_translation/content_translation.install
Implements hook_install().
DisplayPluginCollection::initializePlugin in core/modules/views/src/DisplayPluginCollection.php
drupal_check_module in core/includes/install.inc
Checks a module's requirements.
ElementsTableSelectTest::formSubmitHelper in core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
Helper function for the option check test to submit a form while collecting errors.
field_form_config_admin_import_form_alter in core/modules/field/field.module
Implements hook_form_FORM_ID_alter().
field_test_field_widget_single_element_form_alter in core/modules/field/tests/modules/field_test/field_test.module
Implements hook_field_widget_single_element_form_alter().
FileModuleTestForm::submitForm in core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php
Form submission handler.
FileTestForm::submitForm in core/modules/file/tests/file_test/src/Form/FileTestForm.php
Form submission handler.
FileWidget::validateMultipleCount in core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
Form element validation callback for upload element on file widget. Checks if user has uploaded more files than allowed.
file_save_upload in core/modules/file/file.module
Saves file uploads to a new location.
file_validate_image_resolution in core/modules/file/file.module
Verifies that image dimensions are within the specified maximum and minimum.
filter_test_filter_format_disable in core/modules/filter/tests/filter_test/filter_test.module
Implements hook_filter_format_disable().
filter_test_filter_format_insert in core/modules/filter/tests/filter_test/filter_test.module
Implements hook_ENTITY_TYPE_insert().
filter_test_filter_format_update in core/modules/filter/tests/filter_test/filter_test.module
Implements hook_ENTITY_TYPE_update().
FormController::submitForm in core/modules/system/tests/modules/condition_test/src/FormController.php
Form submission handler.
FormTest::testRequiredFields in core/modules/system/tests/src/Functional/Form/FormTest.php
Check several empty values for required forms elements.
FormTestControllerObject::create in core/modules/system/tests/modules/form_test/src/FormTestControllerObject.php
Instantiates a new instance of this class.
FormValidationMessageOrderTest::testLimitValidationErrors in core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php
Tests that fields validation messages are sorted in the fields order.
form_test_form_alter in core/modules/system/tests/modules/form_test/form_test.module
Implements hook_form_alter().
form_test_form_form_test_alter_form_alter in core/modules/system/tests/modules/form_test/form_test.module
Implements hook_form_FORM_ID_alter().
form_test_user_register_form_rebuild in core/modules/system/tests/modules/form_test/form_test.module
Submit callback that just lets the form rebuild.
hook_user_login in core/modules/user/user.api.php
The user just logged in.
hook_views_post_execute in core/modules/views/views.api.php
Act on the view immediately after the query has been executed.
hook_views_pre_execute in core/modules/views/views.api.php
Act on the view after the query is built and just before it is executed.
install_config_import_batch in core/includes/install.core.inc
Creates a batch for the config importer to process.
install_config_revert_install_changes in core/includes/install.core.inc
Reverts configuration if hook_install() implementations have made changes.
install_finished in core/includes/install.core.inc
Performs final installation steps and displays a 'finished' page.
jsonapi_install in core/modules/jsonapi/jsonapi.install
Implements hook_install().
jsonapi_modules_installed in core/modules/jsonapi/jsonapi.module
Implements hook_modules_installed().
language_test_page_top in core/modules/language/tests/language_test/language_test.module
Implements hook_page_top().
locale_config_batch_finished in core/modules/locale/locale.bulk.inc
Implements callback_batch_finished().
locale_translate_batch_finished in core/modules/locale/locale.bulk.inc
Implements callback_batch_finished().
locale_translation_batch_status_finished in core/modules/locale/locale.batch.inc
Implements callback_batch_finished().
MailTest::testErrorMessageDisplay in core/modules/system/tests/src/Kernel/Mail/MailTest.php
Assert that the pluggable mail system is functional.
MessageTest::testMessages in core/tests/Drupal/KernelTests/Core/Theme/MessageTest.php
Tests setting messages output.
MessengerTrait::messenger in core/lib/Drupal/Core/Messenger/MessengerTrait.php
Gets the messenger.
MigrateUpgradeImportBatch::finished in core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php
Callback executed when the Migrate Upgrade Import batch process completes.
migrate_drupal_migration_plugins_alter in core/modules/migrate_drupal/migrate_drupal.module
Implements hook_migration_plugins_alter().
migrate_drupal_ui_install in core/modules/migrate_drupal_ui/migrate_drupal_ui.install
Implements hook_install().
NodeType::postSave in core/modules/node/src/Entity/NodeType.php
Acts on a saved entity before the insert or update hook is invoked.
node_access_rebuild in core/modules/node/node.module
Rebuilds the node access database.
node_help in core/modules/node/node.module
Implements hook_help().
node_mass_update in core/modules/node/node.admin.inc
Updates all nodes in the passed-in array with the passed-in field values.
node_test_form_alter in core/modules/node/tests/modules/node_test/node_test.module
Implements hook_form_alter().
olivero_test_preprocess_page in core/modules/system/tests/modules/olivero_test/olivero_test.module
Implements hook_preprocess().
PagerTestController::showPagerCacheContext in core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php
#pre_render callback for #type => pager that shows the pager cache context.
PrepareModulesEntityUninstallForm::moduleBatchFinished in core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php
Implements callback_batch_finished().
rebuild.php in core/rebuild.php
Rebuilds all Drupal caches even when Drupal itself does not work.
RenderPlaceholderMessageTestController::setAndLogMessage in core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
#lazy_builder callback; sets and prints a message.
search_langcode_test_search_preprocess in core/modules/search/tests/modules/search_langcode_test/search_langcode_test.module
Implements hook_search_preprocess().
StatusMessages::renderMessages in core/lib/Drupal/Core/Render/Element/StatusMessages.php
#lazy_builder callback; replaces placeholder with messages.
system_form_form_test_alter_form_alter in core/modules/system/tests/modules/form_test/form_test.module
Implements hook_form_FORM_ID_alter().
system_page_top in core/modules/system/system.module
Implements hook_page_top().
system_retrieve_file in core/modules/system/system.module
Attempts to get a file using Guzzle HTTP client and to store it locally.
system_test_modules_installed in core/modules/system/tests/modules/system_test/system_test.module
Implements hook_modules_installed().
system_test_modules_uninstalled in core/modules/system/tests/modules/system_test/system_test.module
Implements hook_modules_uninstalled().
system_test_module_preinstall in core/modules/system/tests/modules/system_test/system_test.module
Implements hook_module_preinstall().
system_test_page_attachments in core/modules/system/tests/modules/system_test/system_test.module
Implements hook_page_attachments().
TestClass::onKernelRequestTest in core/modules/system/tests/modules/service_provider_test/src/TestClass.php
A simple kernel listener method.
test_theme_theme_suggestions_alter in core/modules/system/tests/themes/test_theme/test_theme.theme
Implements hook_theme_suggestions_alter().
test_theme_theme_suggestions_theme_test_suggestions_alter in core/modules/system/tests/themes/test_theme/test_theme.theme
Implements hook_theme_suggestions_HOOK_alter().
theme_suggestions_test_theme_suggestions_alter in core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.module
Implements hook_theme_suggestions_alter().
theme_suggestions_test_theme_suggestions_theme_test_suggestions_alter in core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.module
Implements hook_theme_suggestions_HOOK_alter().
theme_test_theme_suggestions_alter in core/modules/system/tests/modules/theme_test/theme_test.module
Implements hook_theme_suggestions_alter().
theme_test_theme_suggestions_theme_test_suggestions_alter in core/modules/system/tests/modules/theme_test/theme_test.module
Implements hook_theme_suggestions_HOOK_alter().
update_fetch_data_finished in core/modules/update/update.module
Batch callback: Performs actions when all fetch tasks have been completed.
update_get_update_list in core/includes/update.inc
Returns a list of all the pending database updates.
update_manager_download_batch_finished in core/modules/update/update.manager.inc
Batch callback: Performs actions when the download batch is completed.
update_page_top in core/modules/update/update.module
Implements hook_page_top().
update_script_test_cache_flush in core/modules/system/tests/modules/update_script_test/update_script_test.module
Implements hook_cache_flush().
user_cancel in core/modules/user/user.module
Cancel a user account.
user_user_login in core/modules/user/user.module
Implements hook_user_login().
View::render in core/modules/views/src/Plugin/views/area/View.php
Render the area.
ViewsSelection::initializeView in core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php
Initializes a view.
views_test_data_form_views_form_test_form_multiple_default_alter in core/modules/views/tests/modules/views_test_data/views_test_data.module
Implements hook_form_BASE_FORM_ID_alter().
ViewUI::cacheSet in core/modules/views_ui/src/ViewUI.php
Sets a cached view object in the shared tempstore.
ViewUI::renderPreview in core/modules/views_ui/src/ViewUI.php
_batch_page in core/includes/batch.inc
Renders the batch processing page based on the current state of the batch.
_batch_test_finished_helper in core/modules/system/tests/modules/batch_test/batch_test.callbacks.inc
Provides a common 'finished' callback for batches 1 to 7.
_drupal_log_error in core/includes/errors.inc
Logs a PHP error or exception and displays an error page in fatal cases.
_field_test_alter_widget in core/modules/field/tests/modules/field_test/field_test.module
Sets up alterations for widget alter tests.
_file_save_upload_from_form in core/modules/file/file.module
Saves form file uploads.
_media_library_media_type_form_submit in core/modules/media_library/media_library.module
Submit callback for media type form.
_node_access_rebuild_batch_finished in core/modules/node/node.module
Implements callback_batch_finished().
_node_mass_update_batch_finished in core/modules/node/node.admin.inc
Implements callback_batch_finished().
_update_ckeditor5_html_filter in core/modules/ckeditor5/ckeditor5.module
AJAX callback handler for filter_format_form().
_update_fix_missing_schema in core/includes/update.inc
Helper to detect and fix 'missing' schema information.
_user_cancel in core/modules/user/user.module
Implements callback_batch_operation().