update-fetch-error-message.html.twig in Drupal 10
Same filename in this branch
Same filename and directory in other branches
Default theme implementation for the message when fetching data fails.
Available variables:
- error_message: A render array containing the appropriate 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 enabled.
- UpdateReportTest::testTemplatePreprocessUpdateFetchErrorMessageWithDblog in core/
modules/ update/ tests/ src/ Kernel/ UpdateReportTest.php - Tests the error message when failing to fetch data with dblog enabled.
File
core/themes/stable/templates/admin/update-fetch-error-message.html.twigView 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 }}