Browse Source

Remove patch, update README and composer.json.

Issue https://www.drupal.org/project/paragraphs/issues/2901390 has been committed.
8.x-1.x
Alexander O'Neill 2 years ago
parent
commit
8b158bfe17
  1. 13
      README.md
  2. 12
      composer.json

13
README.md

@ -1,13 +1,6 @@
# Installation
Use composer to download the module, there is an open issue on Drupal.org
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
Use composer to download the module,
When you install the module, it creates the following configurations:
* Taxonomy vocabulary
@ -17,13 +10,13 @@ When you install the module, it creates the following configurations:
* License Attribution (license_attribution)
* This field is automatically added to the Image media type on install.
# Use
# Useage
The installation script automatically adds the attribution paragraphs field
to the Image media type if it exists. Otherwise adding attribution
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.
Alternatively you can edit the media content entity directly.

12
composer.json

@ -17,17 +17,13 @@
"Drupal\\media_attribution\\": "src/"
}
},
"require": {},
"require": {
"drupal/paragraphs": ">=1.15"
},
"extra": {
"drush": {
"services": {
"drush.services.yml": "^9"
}
},
"patches": {
"drupal/paragraphs": {
"Integrity constraint violation: 1048 Column 'langcode' cannot be null":
"https://www.drupal.org/files/issues/2020-06-25/paragraphs-2901390-51.patch"
"drush.services.yml": ">=9"
}
}
}

Loading…
Cancel
Save