diff --git a/core/modules/aggregator/config/optional/views.view.aggregator_sources.yml b/core/modules/aggregator/config/optional/views.view.aggregator_sources.yml index 2e55c76..bacfa46 100644 --- a/core/modules/aggregator/config/optional/views.view.aggregator_sources.yml +++ b/core/modules/aggregator/config/optional/views.view.aggregator_sources.yml @@ -1,6 +1,9 @@ langcode: en status: true dependencies: + config: + - core.entity_view_mode.aggregator_feed.summary + - system.menu.tools module: - aggregator - user @@ -133,6 +136,12 @@ display: empty: { } relationships: { } arguments: { } + display_extenders: { } + cache_metadata: + contexts: + - 'languages:language_content' + - 'languages:language_interface' + cacheable: false feed_1: display_plugin: feed id: feed_1 @@ -193,9 +202,21 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - display_as_link: false - plugin_id: field + click_sort_column: value type: aggregator_title + settings: + display_as_link: false + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + plugin_id: field entity_type: aggregator_feed entity_field: title url: @@ -372,6 +393,12 @@ display: default: '0' title: 'OPML feed' sitename_title: true + display_extenders: { } + cache_metadata: + contexts: + - 'languages:language_content' + - 'languages:language_interface' + cacheable: false page_1: display_plugin: page id: page_1 @@ -386,3 +413,9 @@ display: weight: 0 context: '0' menu_name: tools + display_extenders: { } + cache_metadata: + contexts: + - 'languages:language_content' + - 'languages:language_interface' + cacheable: false diff --git a/core/modules/aggregator/config/schema/aggregator.views.schema.yml b/core/modules/aggregator/config/schema/aggregator.views.schema.yml index 96313ad..b729a5a 100644 --- a/core/modules/aggregator/config/schema/aggregator.views.schema.yml +++ b/core/modules/aggregator/config/schema/aggregator.views.schema.yml @@ -8,14 +8,6 @@ views.argument.aggregator_iid: type: views.argument.numeric label: 'Aggregator item ID' -views.field.aggregator_title: - type: views_field - label: 'Title link' - mapping: - display_as_link: - type: boolean - label: 'Display as link' - views.field.aggregator_xss: type: views.field.xss label: 'Aggregator XSS' diff --git a/core/modules/aggregator/src/AggregatorFeedViewsData.php b/core/modules/aggregator/src/AggregatorFeedViewsData.php index 5406f3f..baa0d60 100644 --- a/core/modules/aggregator/src/AggregatorFeedViewsData.php +++ b/core/modules/aggregator/src/AggregatorFeedViewsData.php @@ -35,6 +35,8 @@ public function getViewsData() { $data['aggregator_feed']['fid']['filter']['id'] = 'numeric'; $data['aggregator_feed']['title']['help'] = $this->t('The title of the aggregator feed.'); + $data['aggregator_feed']['title']['field']['default_formatter'] = 'aggregator_title'; + $data['aggregator_feed']['argument']['id'] = 'string'; $data['aggregator_feed']['url']['help'] = $this->t('The fully-qualified URL of the feed.'); diff --git a/core/modules/aggregator/src/AggregatorItemViewsData.php b/core/modules/aggregator/src/AggregatorItemViewsData.php index 5793f07..8059e09 100644 --- a/core/modules/aggregator/src/AggregatorItemViewsData.php +++ b/core/modules/aggregator/src/AggregatorItemViewsData.php @@ -28,7 +28,7 @@ public function getViewsData() { $data['aggregator_item']['iid']['argument']['numeric'] = TRUE; $data['aggregator_item']['title']['help'] = $this->t('The title of the aggregator item.'); - $data['aggregator_item']['title']['field']['extra'] = 'link'; + $data['aggregator_item']['title']['field']['default_formatter'] = 'aggregator_title'; $data['aggregator_item']['link']['help'] = $this->t('The link to the original source URL of the item.');