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. |
Latest release 8.x-1.14, 900,000 sites, covered by security advisories.
Module link
ID: drupalorg_modules:module_link
The Drupal drop linking to the module's project page on drupal.org, followed by a link to the module's page on this site.
Status: stable
| Name | Label | Type | Description |
|---|---|---|---|
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, or its project page on drupal.org for a viewer who may not see one. 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. |