Module card
ID: drupalorg_modules:module_card
A module shown as a block: its module link, followed by the module rendered in a view mode of its own, such as its latest release, active installs and security coverage.
Status: stable
| Name | Label | Type | Description |
|---|---|---|---|
content
|
Content | Slot | The module, rendered in the view mode. |
label
|
Label | String | The link text, usually the module's title. Required |
url
|
URL | String | Where the label links to, the module's page on this site. Required |
project_url
|
Project URL | String | The module's project page on drupal.org, which the icon links to. Required |
machine_name
|
Machine name | String | The module's machine name, set as data-drupalorg-module on the link. |
view_mode
|
View mode | String | The view mode the module is rendered in, added as a class modifier. |
Pathauto
A module card, with stand-in content for the view mode.
Latest release 8.x-1.14, 900,000 sites, covered by security advisories.