status-report-general-info.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/templates/admin/status-report-general-info.html.twig
- 9 core/themes/seven/templates/status-report-general-info.html.twig
- 9 core/themes/claro/templates/status-report-general-info.html.twig
- 9 core/themes/stable/templates/admin/status-report-general-info.html.twig
- 9 core/modules/system/templates/status-report-general-info.html.twig
- 8.9.x core/themes/seven/templates/status-report-general-info.html.twig
- 8.9.x core/themes/claro/templates/status-report-general-info.html.twig
- 8.9.x core/themes/stable/templates/admin/status-report-general-info.html.twig
- 8.9.x core/modules/system/templates/status-report-general-info.html.twig
- 11.x core/themes/stable9/templates/admin/status-report-general-info.html.twig
- 11.x core/themes/claro/templates/status-report-general-info.html.twig
- 11.x core/modules/system/templates/status-report-general-info.html.twig
Default theme implementation for the status report general info.
Available variables:
- drupal: The status of Drupal installation:
- value: The current status of Drupal installation.
- description: The description for current status of Drupal installation.
- cron: The status of cron:
- value: The current status of cron.
- description: The description for current status of cron.
- cron.run_cron: An array to render a button for running cron.
- database_system: The status of database system:
- value: The current status of database system.
- description: The description for current status of cron.
- database_system_version: The info about current database version:
- value: The current version of database.
- description: The description for current version of database.
- php: The current version of PHP:
- value: The status of currently installed PHP version.
- description: The description for current installed PHP version.
- php_memory_limit: The info about current PHP memory limit:
- value: The status of currently set PHP memory limit.
- description: The description for currently set PHP memory limit.
- webserver: The info about currently installed web server:
- value: The status of currently installed web server.
- description: The description for the status of currently installed web server.
1 theme call to status-report-general-info.html.twig
- StatusReportPage::preRenderGeneralInfo in core/
modules/ system/ src/ Element/ StatusReportPage.php - #pre_render callback to get general info out of requirements.
File
-
core/
modules/ system/ templates/ status-report-general-info.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation for the status report general info.
- *
- * Available variables:
- * - drupal: The status of Drupal installation:
- * - value: The current status of Drupal installation.
- * - description: The description for current status of Drupal installation.
- * - cron: The status of cron:
- * - value: The current status of cron.
- * - description: The description for current status of cron.
- * - cron.run_cron: An array to render a button for running cron.
- * - database_system: The status of database system:
- * - value: The current status of database system.
- * - description: The description for current status of cron.
- * - database_system_version: The info about current database version:
- * - value: The current version of database.
- * - description: The description for current version of database.
- * - php: The current version of PHP:
- * - value: The status of currently installed PHP version.
- * - description: The description for current installed PHP version.
- * - php_memory_limit: The info about current PHP memory limit:
- * - value: The status of currently set PHP memory limit.
- * - description: The description for currently set PHP memory limit.
- * - webserver: The info about currently installed web server:
- * - value: The status of currently installed web server.
- * - description: The description for the status of currently installed web
- * server.
- */
- #}
-
- <h2>{{ 'General System Information'|t }}</h2>
- <div class="system-status-general-info__item">
- <h3 class="system-status-general-info__item-title">{{ 'Drupal Version'|t }}</h3>
- {{ drupal.value }}
- {% if drupal.description %}
- {{ drupal.description }}
- {% endif %}
- </div>
- <div class="system-status-general-info__item">
- <h3 class="system-status-general-info__item-title">{{ 'Last Cron Run'|t }}</h3>
- {{ cron.value }}
- {% if cron.run_cron %}
- {{ cron.run_cron }}
- {% endif %}
- {% if cron.description %}
- {{ cron.description }}
- {% endif %}
- </div>
- <div class="system-status-general-info__item">
- <h3 class="system-status-general-info__item-title">{{ 'Web Server'|t }}</h3>
- {{ webserver.value }}
- {% if webserver.description %}
- {{ webserver.description }}
- {% endif %}
- </div>
- <div class="system-status-general-info__item">
- <h3 class="system-status-general-info__item-title">{{ 'PHP'|t }}</h3>
- <h4>{{ 'Version'|t }}</h4> {{ php.value }}
- {% if php.description %}
- {{ php.description }}
- {% endif %}
-
- <h4>{{ 'Memory limit'|t }}</h4>{{ php_memory_limit.value }}
- {% if php_memory_limit.description %}
- {{ php_memory_limit.description }}
- {% endif %}
- </div>
- <div class="system-status-general-info__item">
- <h3 class="system-status-general-info__item-title">{{ 'Database'|t }}</h3>
- <h4>{{ 'Version'|t }}</h4>{{ database_system_version.value }}
- {% if database_system_version.description %}
- {{ database_system_version.description }}
- {% endif %}
-
- <h4>{{ 'System'|t }}</h4>{{ database_system.value }}
- {% if database_system.description %}
- {{ database_system.description }}
- {% endif %}
- </div>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.