W3cubDocs

/Drupal 8

system-modules-details.html.twig

Default theme implementation for the modules listing page.

Displays a list of all packages in a project.

Available variables:

  • modules: Contains multiple module instances. Each module contains:
    • attributes: Attributes on the row.
    • checkbox: A checkbox for enabling the module.
    • name: The human-readable name of the module.
    • id: A unique identifier for interacting with the details element.
    • enable_id: A unique identifier for interacting with the checkbox element.
    • description: The description of the module.
    • machine_name: The module's machine name.
    • version: Information about the module version.
    • requires: A list of modules that this module requires.
    • required_by: A list of modules that require this module.
    • links: A list of administration links provided by the module.

See also

template_preprocess_system_modules_details()

File

core/modules/system/templates/system-modules-details.html.twig

Related topics

Theme system overview
Functions and templates for the user interface that themes can override.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!system!templates!system-modules-details.html.twig/8.1.x