update-fetch-error-message.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/templates/admin/update-fetch-error-message.html.twig
- 9 core/themes/stable/templates/admin/update-fetch-error-message.html.twig
- 9 core/modules/update/templates/update-fetch-error-message.html.twig
- 11.x core/themes/stable9/templates/admin/update-fetch-error-message.html.twig
- 11.x core/modules/update/templates/update-fetch-error-message.html.twig
Default theme implementation for the message when fetching data fails.
Available variables:
- error_message: A render array containing the appropriate error message.
See also
template_preprocess_update_fetch_error_message()
4 theme calls to update-fetch-error-message.html.twig
- UpdateController::updateStatus in core/
modules/ update/ src/ Controller/ UpdateController.php - Returns a page about the update status of projects.
- UpdateManagerUpdate::buildForm in core/
modules/ update/ src/ Form/ UpdateManagerUpdate.php - Form constructor.
- UpdateReportTest::testTemplatePreprocessUpdateFetchErrorMessageNoDblog in core/
modules/ update/ tests/ src/ Kernel/ UpdateReportTest.php - Tests the error message when failing to fetch data without dblog installed.
- UpdateReportTest::testTemplatePreprocessUpdateFetchErrorMessageWithDblog in core/
modules/ update/ tests/ src/ Kernel/ UpdateReportTest.php - Tests the error message when failing to fetch data with dblog installed.
File
-
core/
modules/ update/ templates/ update-fetch-error-message.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation for the message when fetching data fails.
- *
- * Available variables:
- * - error_message: A render array containing the appropriate error message.
- *
- * @see template_preprocess_update_fetch_error_message()
- *
- * @ingroup themeable
- */
- #}
- {{ error_message }}
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.