-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1584 from danskernesdigitalebibliotek/DDFHER-60_r…
…edia-events Creating a legacy Redia RSS feed for events. DDFHER-60
- Loading branch information
Showing
16 changed files
with
488 additions
and
28 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
config/sync/core.entity_view_display.media.image.redia_feed_large.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
uuid: 014a5ed5-1c85-432f-a1b8-3814869178fd | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.media.redia_feed_large | ||
- field.field.media.image.field_byline | ||
- field.field.media.image.field_media_image | ||
- image.style.redia_feed_large | ||
- media.type.image | ||
module: | ||
- image | ||
id: media.image.redia_feed_large | ||
targetEntityType: media | ||
bundle: image | ||
mode: redia_feed_large | ||
content: | ||
field_media_image: | ||
type: image | ||
label: hidden | ||
settings: | ||
image_link: '' | ||
image_style: redia_feed_large | ||
image_loading: | ||
attribute: lazy | ||
third_party_settings: { } | ||
weight: 0 | ||
region: content | ||
hidden: | ||
created: true | ||
field_byline: true | ||
langcode: true | ||
name: true | ||
search_api_excerpt: true | ||
thumbnail: true | ||
uid: true |
36 changes: 36 additions & 0 deletions
36
config/sync/core.entity_view_display.media.image.redia_feed_small.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
uuid: 7cd49745-6747-4b76-b64a-f3e2a22a338e | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.media.redia_feed_small | ||
- field.field.media.image.field_byline | ||
- field.field.media.image.field_media_image | ||
- image.style.redia_feed_small | ||
- media.type.image | ||
module: | ||
- image | ||
id: media.image.redia_feed_small | ||
targetEntityType: media | ||
bundle: image | ||
mode: redia_feed_small | ||
content: | ||
field_media_image: | ||
type: image | ||
label: hidden | ||
settings: | ||
image_link: '' | ||
image_style: redia_feed_small | ||
image_loading: | ||
attribute: lazy | ||
third_party_settings: { } | ||
weight: 0 | ||
region: content | ||
hidden: | ||
created: true | ||
field_byline: true | ||
langcode: true | ||
name: true | ||
search_api_excerpt: true | ||
thumbnail: true | ||
uid: true |
11 changes: 11 additions & 0 deletions
11
config/sync/core.entity_view_mode.media.redia_feed_large.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
uuid: 74eba980-7ec0-4b81-a6da-5c33830b08d9 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- media | ||
id: media.redia_feed_large | ||
label: 'Redia feed - large' | ||
description: '' | ||
targetEntityType: media | ||
cache: true |
11 changes: 11 additions & 0 deletions
11
config/sync/core.entity_view_mode.media.redia_feed_small.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
uuid: fd0b39a0-f244-4d82-af84-54c63cf451bc | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- media | ||
id: media.redia_feed_small | ||
label: 'Redia feed - small' | ||
description: '' | ||
targetEntityType: media | ||
cache: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
uuid: 923e70e6-ea34-446d-ae06-2f6ac0ac4f00 | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
name: redia_feed_large | ||
label: 'Redia feed large' | ||
effects: | ||
71f3eb2a-c6f8-4a85-a16f-651a6e43239e: | ||
uuid: 71f3eb2a-c6f8-4a85-a16f-651a6e43239e | ||
id: image_scale | ||
weight: 1 | ||
data: | ||
width: 2000 | ||
height: null | ||
upscale: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
uuid: 33f9623f-9eea-4b05-8e9c-f1d3ac224119 | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
name: redia_feed_small | ||
label: 'Redia feed small' | ||
effects: | ||
2cd37185-a9d4-43e1-ba81-66b73d18cae2: | ||
uuid: 2cd37185-a9d4-43e1-ba81-66b73d18cae2 | ||
id: image_scale | ||
weight: 1 | ||
data: | ||
width: 220 | ||
height: null | ||
upscale: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
web/modules/custom/dpl_redia_legacy/dpl_redia_legacy.info.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: "DPL Redia Legacy feeds" | ||
type: module | ||
description: "Various legacy integrations, used for the Redia App." | ||
package: DPL | ||
core_version_requirement: ^10 | ||
|
||
dependencies: | ||
- dpl_opening_hours:dpl_opening_hours | ||
- drupal:drupal_typed |
9 changes: 9 additions & 0 deletions
9
web/modules/custom/dpl_redia_legacy/dpl_redia_legacy.routing.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dpl_redia_legacy.events: | ||
path: "/ding-redia-rss/event" | ||
defaults: | ||
_controller: '\Drupal\dpl_redia_legacy\Controller\RssFeeds\EventsController::getFeed' | ||
_title: "Redia APP Event" | ||
requirements: | ||
_permission: "access content" | ||
options: | ||
_format: "xml" |
Oops, something went wrong.