diff --git a/CHANGELOG.md b/CHANGELOG.md index c49cca14..6039f5bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,16 +5,16 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [1.14.0] - IN DEVELOPMENT -### Added -- Added description for field field_slideshow_type in paragraph degov_paragraph_slideshow ### Added +- Added description for field field_slideshow_type in paragraph degov_paragraph_slideshow - Added support for media bundles tweet and instagram to degov_social_media_settings. ### Fixed - Fixed configurations of degov_media_video configurations -### Changed +## Changed +- Chnage cardinility of simplenews_issue field to 10 in degov_simplenews module. - Views reference when argument field is empty doesn't try to set the argument, so the default argument is calculated by the view itself. diff --git a/degov_simplenews/config/rewrite/field.storage.node.simplenews_issue.yml b/degov_simplenews/config/rewrite/field.storage.node.simplenews_issue.yml new file mode 100644 index 00000000..cb061676 --- /dev/null +++ b/degov_simplenews/config/rewrite/field.storage.node.simplenews_issue.yml @@ -0,0 +1 @@ +cardinality: 10 diff --git a/degov_simplenews/config/update_8002/rewrite/field.storage.node.simplenews_issue.yml b/degov_simplenews/config/update_8002/rewrite/field.storage.node.simplenews_issue.yml new file mode 100644 index 00000000..cb061676 --- /dev/null +++ b/degov_simplenews/config/update_8002/rewrite/field.storage.node.simplenews_issue.yml @@ -0,0 +1 @@ +cardinality: 10 diff --git a/degov_simplenews/degov_simplenews.install b/degov_simplenews/degov_simplenews.install index 7cec2f79..ccebf637 100644 --- a/degov_simplenews/degov_simplenews.install +++ b/degov_simplenews/degov_simplenews.install @@ -7,3 +7,11 @@ * and every minor release as well until 1.14 respectively. * The fresh install should have all the changes from 1.1 to 1.14. */ + +/** + * Change newsletter field cardinality. + */ +function degov_simplenews_update_8002() { + \Drupal::service('degov_config.module_updater') + ->applyUpdates('degov_simplenews', '8002'); +}