The Attributions module may be used by maintainers of Drupal modules and themes to create an attribution block or an attribution page that can be used to display the license and attribution information about materials (such as code libraries, fonts, icons and images) that are included in a project distribution, but is not licensed under the Drupal.org mandatory license for code: GPLv2+.
The declarations concerning licenses and attributions are pulled from
files named ASSETS.yml.
Please note that this module will do nothing on its own. Only download and install it if it is listed as required or recommended by another module or theme.
This module has dependencies on an external library that is managed by Composer Manager. It is strongly recommended to use drush to enable the module:
drush en attributions
If you don't use drush, you need to use the composer CLI tool to install and update the library. Navigate to the “Composer File directory” as configured in the Composer Manager's Settings page and run the following two commands:
composer install --no-dev composer update --no-devSee also: Composer Manager for Drupal 6 and Drupal 7 and Installing modules.
After installing and enabling Attributions there
will be an attribution block named Attributions block, and an
attribution page when you vist /attributions.
By default, only attributions specified by enabled modules and
themes will be rendered. To render attributions from all
modules and themes. set the boolean
variable attributions_all TRUE. You may do this
with drush:
drush vset attributions_all TRUE
There is no adminsitrative GUI.
Attributions should be placed in a file
named ASSETS.yml, in the module's top directory, using
the standard YAML data serialization format.
To see the full syntax available for specifying attributions, see: Attributions YAML format. To see some examples of how you may specify attributions, Examples.