diff --git a/README.md b/README.md index 983d478..a2e016a 100644 --- a/README.md +++ b/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. diff --git a/composer.json b/composer.json index 262d1d2..66d252c 100644 --- a/composer.json +++ b/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" } } }