update-fetch-error-message.html.twig
Same filename in this branch
Same filename 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.
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 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/
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.