|
|
@ -1,13 +1,6 @@ |
|
|
|
# Installation |
|
|
|
# Installation |
|
|
|
|
|
|
|
|
|
|
|
Use composer to download the module, there is an open issue on Drupal.org |
|
|
|
Use composer to download the module, |
|
|
|
in Paragraphs that prevents this module from working without a patch. |
|
|
|
|
|
|
|
Composer should apply the patch automatically. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
composer require drupal/media_attribution |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The issue the patch comes from is at https://www.drupal.org/project/paragraphs/issues/2901390 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
When you install the module, it creates the following configurations: |
|
|
|
When you install the module, it creates the following configurations: |
|
|
|
|
|
|
|
|
|
|
|
* Taxonomy vocabulary |
|
|
|
* Taxonomy vocabulary |
|
|
@ -17,13 +10,13 @@ When you install the module, it creates the following configurations: |
|
|
|
* License Attribution (license_attribution) |
|
|
|
* License Attribution (license_attribution) |
|
|
|
* This field is automatically added to the Image media type on install. |
|
|
|
* This field is automatically added to the Image media type on install. |
|
|
|
|
|
|
|
|
|
|
|
# Use |
|
|
|
# Useage |
|
|
|
|
|
|
|
|
|
|
|
The installation script automatically adds the attribution paragraphs field |
|
|
|
The installation script automatically adds the attribution paragraphs field |
|
|
|
to the Image media type if it exists. Otherwise adding attribution |
|
|
|
to the Image media type if it exists. Otherwise adding attribution |
|
|
|
can be done at Admin -> Structure -> Media Types. |
|
|
|
can be done at Admin -> Structure -> Media Types. |
|
|
|
|
|
|
|
|
|
|
|
When you click the Embed Media button, the attribution links |
|
|
|
In CKEditor, when you click the Embed Media button, the attribution links |
|
|
|
fields will show up in the Media along with Title, Alt text, etc. |
|
|
|
fields will show up in the Media along with Title, Alt text, etc. |
|
|
|
Alternatively you can edit the media content entity directly. |
|
|
|
Alternatively you can edit the media content entity directly. |
|
|
|
|
|
|
|
|
|
|
|