patchinfo-patches.html.twig in PatchInfo 8.2
Same filename and directory in other branches
Default theme implementation for patch listing.
Available variables:
- patches: List of patch information for a module and its submodules.
- is_core: TRUE, if the patches are in Drupal core. Otherwise FALSE.
See also
2 theme calls to patchinfo-patches.html.twig
- patchinfo_form_update_manager_update_form_alter in ./
patchinfo.module - Implements hook_form_FORM_ID_alter() for update_manager_update_form().
- patchinfo_preprocess_update_project_status in ./
patchinfo.module - Implements hook_preprocess_HOOK() for update-project-status.html.twig.
File
templates/patchinfo-patches.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for patch listing.
- *
- * Available variables:
- * - patches: List of patch information for a module and its submodules.
- * - is_core: TRUE, if the patches are in Drupal core. Otherwise FALSE.
- *
- * @see template_preprocess_patchinfo_patches()
- *
- * @ingroup themeable
- */
- #}
- {% if patches %}
- <div class="patchinfo-patches">
- <div class="patchinfo-patches-title">{{ 'Patches:'|t }}</div>
- {{ patches }}
- </div>
- </div>
- {% endif %}