aggregator-2.x-dev/tests/fixtures/update/aggregator.php
tests/fixtures/update/aggregator.php
<?php
/**
* @file
* Contains database additions for testing Aggregator upgrade paths.
*/
use Drupal\Core\Database\Database;
$connection = Database::getConnection();
$extensions = $connection->select('config')
->fields('config', ['data'])
->condition('collection', '')
->condition('name', 'core.extension')
->execute()
->fetchField();
$extensions = unserialize($extensions);
$extensions['module']['aggregator'] = 0;
// Remove automated_cron to prevent the feed from being updated.
unset($extensions['module']['automated_cron']);
$connection->update('config')
->fields(['data' => serialize($extensions)])
->condition('collection', '')
->condition('name', 'core.extension')
->execute();
$connection->schema()->createTable('aggregator_feed', [
'fields' => [
'fid' => [
'type' => 'serial',
'not null' => TRUE,
'size' => 'normal',
'unsigned' => TRUE,
],
'uuid' => [
'type' => 'varchar_ascii',
'not null' => TRUE,
'length' => '128',
],
'langcode' => [
'type' => 'varchar_ascii',
'not null' => TRUE,
'length' => '12',
],
'title' => [
'type' => 'varchar',
'not null' => TRUE,
'length' => '255',
],
'url' => [
'type' => 'varchar',
'not null' => TRUE,
'length' => '2048',
],
'refresh' => [
'type' => 'int',
'not null' => FALSE,
'size' => 'normal',
],
'checked' => [
'type' => 'int',
'not null' => FALSE,
'size' => 'normal',
],
'queued' => [
'type' => 'int',
'not null' => TRUE,
'size' => 'normal',
],
'link' => [
'type' => 'varchar',
'not null' => FALSE,
'length' => '2048',
],
'description' => [
'type' => 'text',
'not null' => FALSE,
'size' => 'big',
],
'image' => [
'type' => 'varchar',
'not null' => FALSE,
'length' => '2048',
],
'hash' => [
'type' => 'varchar_ascii',
'not null' => FALSE,
'length' => '255',
],
'etag' => [
'type' => 'varchar',
'not null' => FALSE,
'length' => '255',
],
'modified' => [
'type' => 'int',
'not null' => FALSE,
'size' => 'normal',
],
],
'primary key' => [
'fid',
],
'unique keys' => [
'aggregator_feed_field__uuid__value' => [
'uuid',
],
],
'indexes' => [
'aggregator_feed_field__title' => [
[
'title',
'191',
],
],
'aggregator_feed_field__url' => [
[
'url',
'191',
],
],
'aggregator_feed_field__refresh__value' => [
'refresh',
],
'aggregator_feed_field__queued' => [
'queued',
],
],
'mysql_character_set' => 'utf8mb4',
]);
$connection->insert('aggregator_feed')
->fields([
'fid',
'uuid',
'langcode',
'title',
'url',
'refresh',
'checked',
'queued',
'link',
'description',
'image',
'hash',
'etag',
'modified',
])
->values([
'fid' => '1',
'uuid' => 'c0cff958-6b9f-4f5f-b29d-50028a809fa4',
'langcode' => 'en',
'title' => 'Drupal Planet',
'url' => 'https://www.drupal.org/planet/rss.xml',
'refresh' => '3600',
'checked' => '1692681376',
'queued' => '0',
'link' => 'https://www.drupal.org/planet',
'description' => 'Drupal.org - aggregated feeds in category Planet Drupal',
'image' => NULL,
'hash' => 'e2a61b6ee97c55a325cc967fbc8f436fc0491977cef8cd9cb811f4c6527d6120',
'etag' => '"1692680882-0"',
'modified' => '1692680882',
])
->execute();
$connection->schema()->createTable('aggregator_item', [
'fields' => [
'iid' => [
'type' => 'serial',
'not null' => TRUE,
'size' => 'normal',
'unsigned' => TRUE,
],
'langcode' => [
'type' => 'varchar_ascii',
'not null' => TRUE,
'length' => '12',
],
'fid' => [
'type' => 'int',
'not null' => FALSE,
'size' => 'normal',
'unsigned' => TRUE,
],
'title' => [
'type' => 'varchar',
'not null' => FALSE,
'length' => '255',
],
'link' => [
'type' => 'varchar',
'not null' => FALSE,
'length' => '2048',
],
'author' => [
'type' => 'varchar',
'not null' => FALSE,
'length' => '255',
],
'description' => [
'type' => 'text',
'not null' => FALSE,
'size' => 'big',
],
'timestamp' => [
'type' => 'int',
'not null' => TRUE,
'size' => 'normal',
],
'guid' => [
'type' => 'text',
'not null' => FALSE,
'size' => 'big',
],
],
'primary key' => [
'iid',
],
'indexes' => [
'aggregator_item_field__fid__target_id' => [
'fid',
],
'aggregator_item_field__timestamp' => [
'timestamp',
],
],
'mysql_character_set' => 'utf8mb4',
]);
$connection->insert('aggregator_item')
->fields([
'iid',
'langcode',
'fid',
'title',
'link',
'author',
'description',
'timestamp',
'guid',
])
->values([
'iid' => '1',
'langcode' => 'en',
'fid' => '1',
'title' => 'Test Item',
'link' => 'https://example.com/',
'author' => NULL,
'description' => "Test description",
'timestamp' => '1692107041',
'guid' => '123456',
])
->execute();
$connection->delete('config')
->condition('name', 'automated_cron.settings')
->execute();
$connection->insert('config')
->fields([
'collection',
'name',
'data',
])
->values([
'collection' => '',
'name' => 'aggregator.settings',
'data' => 'a:6:{s:5:"_core";a:1:{s:19:"default_config_hash";s:43:"oqQElnvorzLoHb68o4B3zFkGuMV5_GQEGi7pHfUseVM";}s:7:"fetcher";s:10:"aggregator";s:6:"parser";s:10:"aggregator";s:10:"processors";a:1:{i:0;s:10:"aggregator";}s:5:"items";a:3:{s:12:"allowed_html";s:68:"<a> <b> <br> <dd> <dl> <dt> <em> <i> <li> <ol> <p> <strong> <u> <ul>";s:13:"teaser_length";i:600;s:6:"expire";i:9676800;}s:6:"source";a:1:{s:8:"list_max";i:3;}}',
])
->values([
'collection' => '',
'name' => 'core.entity_view_display.aggregator_feed.aggregator_feed.default',
'data' => 'a:11:{s:4:"uuid";s:36:"5a50acff-a158-48ec-a207-ad23330048d7";s:8:"langcode";s:2:"en";s:6:"status";b:1;s:12:"dependencies";a:1:{s:6:"module";a:1:{i:0;s:10:"aggregator";}}s:5:"_core";a:1:{s:19:"default_config_hash";s:43:"RTDtRKHBQAxLXzLLfR4oBteItTh2Lou1GZpsDmiq0Qw";}s:2:"id";s:39:"aggregator_feed.aggregator_feed.default";s:16:"targetEntityType";s:15:"aggregator_feed";s:6:"bundle";s:15:"aggregator_feed";s:4:"mode";s:7:"default";s:7:"content";a:6:{s:7:"checked";a:6:{s:4:"type";s:13:"timestamp_ago";s:5:"label";s:6:"inline";s:8:"settings";a:0:{}s:20:"third_party_settings";a:0:{}s:6:"weight";i:1;s:6:"region";s:7:"content";}s:11:"description";a:2:{s:6:"weight";i:3;s:6:"region";s:7:"content";}s:9:"feed_icon";a:2:{s:6:"weight";i:5;s:6:"region";s:7:"content";}s:5:"image";a:2:{s:6:"weight";i:2;s:6:"region";s:7:"content";}s:5:"items";a:2:{s:6:"weight";i:0;s:6:"region";s:7:"content";}s:4:"link";a:6:{s:4:"type";s:8:"uri_link";s:5:"label";s:6:"inline";s:8:"settings";a:0:{}s:20:"third_party_settings";a:0:{}s:6:"weight";i:4;s:6:"region";s:7:"content";}}s:6:"hidden";a:1:{s:9:"more_link";b:1;}}',
])
->values([
'collection' => '',
'name' => 'core.entity_view_display.aggregator_feed.aggregator_feed.summary',
'data' => 'a:11:{s:4:"uuid";s:36:"3b4c595c-156b-450d-b969-e47483c24ab5";s:8:"langcode";s:2:"en";s:6:"status";b:1;s:12:"dependencies";a:2:{s:6:"config";a:1:{i:0;s:45:"core.entity_view_mode.aggregator_feed.summary";}s:6:"module";a:1:{i:0;s:10:"aggregator";}}s:5:"_core";a:1:{s:19:"default_config_hash";s:43:"OCl6AtoDUvFAsnvg1fosqsjFuoUvnIWQ28b_0Nc14Cg";}s:2:"id";s:39:"aggregator_feed.aggregator_feed.summary";s:16:"targetEntityType";s:15:"aggregator_feed";s:6:"bundle";s:15:"aggregator_feed";s:4:"mode";s:7:"summary";s:7:"content";a:2:{s:5:"items";a:2:{s:6:"weight";i:0;s:6:"region";s:7:"content";}s:9:"more_link";a:2:{s:6:"weight";i:1;s:6:"region";s:7:"content";}}s:6:"hidden";a:5:{s:7:"checked";b:1;s:11:"description";b:1;s:9:"feed_icon";b:1;s:5:"image";b:1;s:4:"link";b:1;}}',
])
->values([
'collection' => '',
'name' => 'core.entity_view_display.aggregator_item.aggregator_item.summary',
'data' => 'a:11:{s:4:"uuid";s:36:"4399410c-c5e5-4994-9471-6f7f358deb4f";s:8:"langcode";s:2:"en";s:6:"status";b:1;s:12:"dependencies";a:2:{s:6:"config";a:1:{i:0;s:45:"core.entity_view_mode.aggregator_item.summary";}s:6:"module";a:1:{i:0;s:10:"aggregator";}}s:5:"_core";a:1:{s:19:"default_config_hash";s:43:"ei8DNHu3HVLFFuKrr2Y4MsxuHR8ZMt0kHQly-qfkTAU";}s:2:"id";s:39:"aggregator_item.aggregator_item.summary";s:16:"targetEntityType";s:15:"aggregator_item";s:6:"bundle";s:15:"aggregator_item";s:4:"mode";s:7:"summary";s:7:"content";a:1:{s:9:"timestamp";a:2:{s:6:"weight";i:0;s:6:"region";s:7:"content";}}s:6:"hidden";a:4:{s:6:"author";b:1;s:11:"description";b:1;s:4:"feed";b:1;s:4:"link";b:1;}}',
])
->values([
'collection' => '',
'name' => 'core.entity_view_mode.aggregator_feed.summary',
'data' => 'a:9:{s:4:"uuid";s:36:"ff5bb420-d756-46bf-b919-6544103aa810";s:8:"langcode";s:2:"en";s:6:"status";b:1;s:12:"dependencies";a:1:{s:6:"module";a:1:{i:0;s:10:"aggregator";}}s:5:"_core";a:1:{s:19:"default_config_hash";s:43:"QBUcStGTLulHMyYgLwZWdHfUqj-YCQFT-TW0ojsw8pw";}s:2:"id";s:23:"aggregator_feed.summary";s:5:"label";s:7:"Summary";s:16:"targetEntityType";s:15:"aggregator_feed";s:5:"cache";b:1;}',
])
->values([
'collection' => '',
'name' => 'core.entity_view_mode.aggregator_item.summary',
'data' => 'a:9:{s:4:"uuid";s:36:"f830d724-a8e2-44df-b9dc-6d9df7f7ce60";s:8:"langcode";s:2:"en";s:6:"status";b:1;s:12:"dependencies";a:1:{s:6:"module";a:1:{i:0;s:10:"aggregator";}}s:5:"_core";a:1:{s:19:"default_config_hash";s:43:"0LZvohlEB6FpI9Irz7wHVLBVKGcjHzhvI8mCzjHndrc";}s:2:"id";s:23:"aggregator_item.summary";s:5:"label";s:7:"Summary";s:16:"targetEntityType";s:15:"aggregator_item";s:5:"cache";b:1;}',
])
->values([
'collection' => '',
'name' => 'views.view.aggregator_rss_feed',
'data' => 'a:13:{s:4:"uuid";s:36:"516ade9b-5e2a-4a6a-a7a6-603c57613605";s:8:"langcode";s:2:"en";s:6:"status";b:1;s:12:"dependencies";a:1:{s:6:"module";a:2:{i:0;s:10:"aggregator";i:1;s:4:"user";}}s:5:"_core";a:1:{s:19:"default_config_hash";s:43:"rdkqqxl4U0UNa5cV9V0fAoFzcnzm0p1i9l9ifNlgK8I";}s:2:"id";s:19:"aggregator_rss_feed";s:5:"label";s:19:"Aggregator RSS feed";s:6:"module";s:10:"aggregator";s:11:"description";s:0:"";s:3:"tag";s:10:"aggregator";s:10:"base_table";s:15:"aggregator_item";s:10:"base_field";s:3:"iid";s:7:"display";a:2:{s:7:"default";a:6:{s:2:"id";s:7:"default";s:13:"display_title";s:7:"Default";s:14:"display_plugin";s:7:"default";s:8:"position";i:0;s:15:"display_options";a:17:{s:5:"title";s:19:"Aggregator RSS feed";s:6:"fields";a:1:{s:3:"iid";a:25:{s:2:"id";s:3:"iid";s:5:"table";s:15:"aggregator_item";s:5:"field";s:3:"iid";s:12:"relationship";s:4:"none";s:10:"group_type";s:5:"group";s:11:"admin_label";s:0:"";s:11:"entity_type";s:15:"aggregator_item";s:12:"entity_field";s:3:"iid";s:9:"plugin_id";s:5:"field";s:5:"label";s:7:"Item ID";s:7:"exclude";b:0;s:5:"alter";a:26:{s:10:"alter_text";b:0;s:4:"text";s:0:"";s:9:"make_link";b:0;s:4:"path";s:0:"";s:8:"absolute";b:0;s:8:"external";b:0;s:14:"replace_spaces";b:0;s:9:"path_case";s:4:"none";s:15:"trim_whitespace";b:0;s:3:"alt";s:0:"";s:3:"rel";s:0:"";s:10:"link_class";s:0:"";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:6:"target";s:0:"";s:5:"nl2br";b:0;s:10:"max_length";i:0;s:13:"word_boundary";b:1;s:8:"ellipsis";b:1;s:9:"more_link";b:0;s:14:"more_link_text";s:0:"";s:14:"more_link_path";s:0:"";s:10:"strip_tags";b:0;s:4:"trim";b:0;s:13:"preserve_tags";s:0:"";s:4:"html";b:0;}s:12:"element_type";s:0:"";s:13:"element_class";s:0:"";s:18:"element_label_type";s:0:"";s:19:"element_label_class";s:0:"";s:19:"element_label_colon";b:1;s:20:"element_wrapper_type";s:0:"";s:21:"element_wrapper_class";s:0:"";s:23:"element_default_classes";b:1;s:5:"empty";s:0:"";s:10:"hide_empty";b:0;s:10:"empty_zero";b:0;s:16:"hide_alter_empty";b:1;s:4:"type";s:14:"number_integer";}}s:5:"pager";a:2:{s:4:"type";s:4:"full";s:7:"options";a:7:{s:6:"offset";i:0;s:14:"items_per_page";i:10;s:11:"total_pages";i:0;s:2:"id";i:0;s:4:"tags";a:4:{s:4:"next";s:8:"Next ›";s:8:"previous";s:12:"‹ Previous";s:5:"first";s:8:"« First";s:4:"last";s:7:"Last »";}s:6:"expose";a:7:{s:14:"items_per_page";b:0;s:20:"items_per_page_label";s:14:"Items per page";s:22:"items_per_page_options";s:13:"5, 10, 25, 50";s:26:"items_per_page_options_all";b:0;s:32:"items_per_page_options_all_label";s:7:"- All -";s:6:"offset";b:0;s:12:"offset_label";s:6:"Offset";}s:8:"quantity";i:9;}}s:12:"exposed_form";a:2:{s:4:"type";s:5:"basic";s:7:"options";a:7:{s:13:"submit_button";s:5:"Apply";s:12:"reset_button";b:0;s:18:"reset_button_label";s:5:"Reset";s:19:"exposed_sorts_label";s:7:"Sort by";s:17:"expose_sort_order";b:1;s:14:"sort_asc_label";s:3:"Asc";s:15:"sort_desc_label";s:4:"Desc";}}s:6:"access";a:2:{s:4:"type";s:4:"perm";s:7:"options";a:1:{s:4:"perm";s:17:"access news feeds";}}s:5:"cache";a:2:{s:4:"type";s:3:"tag";s:7:"options";a:0:{}}s:5:"empty";a:0:{}s:5:"sorts";a:0:{}s:9:"arguments";a:0:{}s:7:"filters";a:0:{}s:5:"style";a:1:{s:4:"type";s:7:"default";}s:3:"row";a:1:{s:4:"type";s:22:"entity:aggregator_item";}s:5:"query";a:2:{s:4:"type";s:11:"views_query";s:7:"options";a:5:{s:13:"query_comment";s:0:"";s:19:"disable_sql_rewrite";b:0;s:8:"distinct";b:0;s:7:"replica";b:0;s:10:"query_tags";a:0:{}}}s:13:"relationships";a:0:{}s:6:"header";a:0:{}s:6:"footer";a:0:{}s:17:"display_extenders";a:0:{}}s:14:"cache_metadata";a:4:{s:7:"max-age";i:-1;s:8:"contexts";a:4:{i:0;s:26:"languages:language_content";i:1;s:28:"languages:language_interface";i:2;s:14:"url.query_args";i:3;s:16:"user.permissions";}s:4:"tags";a:0:{}s:9:"cacheable";b:0;}}s:10:"feed_items";a:6:{s:2:"id";s:10:"feed_items";s:13:"display_title";s:4:"Feed";s:14:"display_plugin";s:4:"feed";s:8:"position";i:1;s:15:"display_options";a:4:{s:8:"defaults";a:1:{s:9:"arguments";b:1;}s:19:"display_description";s:0:"";s:17:"display_extenders";a:0:{}s:4:"path";s:14:"aggregator/rss";}s:14:"cache_metadata";a:4:{s:7:"max-age";i:-1;s:8:"contexts";a:3:{i:0;s:26:"languages:language_content";i:1;s:28:"languages:language_interface";i:2;s:16:"user.permissions";}s:4:"tags";a:0:{}s:9:"cacheable";b:0;}}}}',
])
->values([
'collection' => '',
'name' => 'views.view.aggregator_sources',
'data' => 'a:13:{s:4:"uuid";s:36:"1362afb7-5bd2-4c10-a9bb-1ee27ace6c86";s:8:"langcode";s:2:"en";s:6:"status";b:1;s:12:"dependencies";a:2:{s:6:"config";a:2:{i:0;s:45:"core.entity_view_mode.aggregator_feed.summary";i:1;s:17:"system.menu.tools";}s:6:"module";a:2:{i:0;s:10:"aggregator";i:1;s:4:"user";}}s:5:"_core";a:1:{s:19:"default_config_hash";s:43:"q6CyDiUMQG_ppKBlCQvgiw2-zSL7poVLK0-2y7s82TE";}s:2:"id";s:18:"aggregator_sources";s:5:"label";s:18:"Aggregator sources";s:6:"module";s:10:"aggregator";s:11:"description";s:0:"";s:3:"tag";s:10:"aggregator";s:10:"base_table";s:15:"aggregator_feed";s:10:"base_field";s:3:"fid";s:7:"display";a:3:{s:7:"default";a:6:{s:2:"id";s:7:"default";s:13:"display_title";s:7:"Default";s:14:"display_plugin";s:7:"default";s:8:"position";i:0;s:15:"display_options";a:17:{s:5:"title";s:7:"Sources";s:6:"fields";a:1:{s:3:"fid";a:25:{s:2:"id";s:3:"fid";s:5:"table";s:15:"aggregator_feed";s:5:"field";s:3:"fid";s:12:"relationship";s:4:"none";s:10:"group_type";s:5:"group";s:11:"admin_label";s:0:"";s:11:"entity_type";s:15:"aggregator_feed";s:12:"entity_field";s:3:"fid";s:9:"plugin_id";s:5:"field";s:5:"label";s:0:"";s:7:"exclude";b:0;s:5:"alter";a:26:{s:10:"alter_text";b:0;s:4:"text";s:0:"";s:9:"make_link";b:0;s:4:"path";s:0:"";s:8:"absolute";b:0;s:8:"external";b:0;s:14:"replace_spaces";b:0;s:9:"path_case";s:4:"none";s:15:"trim_whitespace";b:0;s:3:"alt";s:0:"";s:3:"rel";s:0:"";s:10:"link_class";s:0:"";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:6:"target";s:0:"";s:5:"nl2br";b:0;s:10:"max_length";i:0;s:13:"word_boundary";b:1;s:8:"ellipsis";b:1;s:9:"more_link";b:0;s:14:"more_link_text";s:0:"";s:14:"more_link_path";s:0:"";s:10:"strip_tags";b:0;s:4:"trim";b:0;s:13:"preserve_tags";s:0:"";s:4:"html";b:0;}s:12:"element_type";s:0:"";s:13:"element_class";s:0:"";s:18:"element_label_type";s:0:"";s:19:"element_label_class";s:0:"";s:19:"element_label_colon";b:1;s:20:"element_wrapper_type";s:0:"";s:21:"element_wrapper_class";s:0:"";s:23:"element_default_classes";b:1;s:5:"empty";s:0:"";s:10:"hide_empty";b:0;s:10:"empty_zero";b:0;s:16:"hide_alter_empty";b:1;s:4:"type";s:14:"number_integer";}}s:5:"pager";a:2:{s:4:"type";s:4:"full";s:7:"options";a:7:{s:6:"offset";i:0;s:14:"items_per_page";i:10;s:11:"total_pages";N;s:2:"id";i:0;s:4:"tags";a:4:{s:4:"next";s:8:"Next ›";s:8:"previous";s:12:"‹ Previous";s:5:"first";s:8:"« First";s:4:"last";s:7:"Last »";}s:6:"expose";a:7:{s:14:"items_per_page";b:0;s:20:"items_per_page_label";s:14:"Items per page";s:22:"items_per_page_options";s:13:"5, 10, 25, 50";s:26:"items_per_page_options_all";b:0;s:32:"items_per_page_options_all_label";s:7:"- All -";s:6:"offset";b:0;s:12:"offset_label";s:6:"Offset";}s:8:"quantity";i:9;}}s:12:"exposed_form";a:2:{s:4:"type";s:5:"basic";s:7:"options";a:7:{s:13:"submit_button";s:5:"Apply";s:12:"reset_button";b:0;s:18:"reset_button_label";s:5:"Reset";s:19:"exposed_sorts_label";s:7:"Sort by";s:17:"expose_sort_order";b:1;s:14:"sort_asc_label";s:3:"Asc";s:15:"sort_desc_label";s:4:"Desc";}}s:6:"access";a:2:{s:4:"type";s:4:"perm";s:7:"options";a:1:{s:4:"perm";s:17:"access news feeds";}}s:5:"cache";a:2:{s:4:"type";s:3:"tag";s:7:"options";a:0:{}}s:5:"empty";a:0:{}s:5:"sorts";a:0:{}s:9:"arguments";a:0:{}s:7:"filters";a:0:{}s:5:"style";a:1:{s:4:"type";s:7:"default";}s:3:"row";a:2:{s:4:"type";s:22:"entity:aggregator_feed";s:7:"options";a:2:{s:12:"relationship";s:4:"none";s:9:"view_mode";s:7:"summary";}}s:5:"query";a:2:{s:4:"type";s:11:"views_query";s:7:"options";a:5:{s:13:"query_comment";s:0:"";s:19:"disable_sql_rewrite";b:0;s:8:"distinct";b:0;s:7:"replica";b:0;s:10:"query_tags";a:0:{}}}s:13:"relationships";a:0:{}s:6:"header";a:0:{}s:6:"footer";a:0:{}s:17:"display_extenders";a:0:{}}s:14:"cache_metadata";a:3:{s:7:"max-age";i:-1;s:8:"contexts";a:4:{i:0;s:26:"languages:language_content";i:1;s:28:"languages:language_interface";i:2;s:14:"url.query_args";i:3;s:16:"user.permissions";}s:4:"tags";a:0:{}}}s:6:"feed_1";a:6:{s:2:"id";s:6:"feed_1";s:13:"display_title";s:4:"Feed";s:14:"display_plugin";s:4:"feed";s:8:"position";i:2;s:15:"display_options";a:9:{s:5:"title";s:9:"OPML feed";s:6:"fields";a:4:{s:5:"title";a:37:{s:2:"id";s:5:"title";s:5:"table";s:15:"aggregator_feed";s:5:"field";s:5:"title";s:12:"relationship";s:4:"none";s:10:"group_type";s:5:"group";s:11:"admin_label";s:0:"";s:11:"entity_type";s:15:"aggregator_feed";s:12:"entity_field";s:5:"title";s:9:"plugin_id";s:5:"field";s:5:"label";s:0:"";s:7:"exclude";b:0;s:5:"alter";a:26:{s:10:"alter_text";b:0;s:4:"text";s:0:"";s:9:"make_link";b:0;s:4:"path";s:0:"";s:8:"absolute";b:0;s:8:"external";b:0;s:14:"replace_spaces";b:0;s:9:"path_case";s:4:"none";s:15:"trim_whitespace";b:0;s:3:"alt";s:0:"";s:3:"rel";s:0:"";s:10:"link_class";s:0:"";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:6:"target";s:0:"";s:5:"nl2br";b:0;s:10:"max_length";i:0;s:13:"word_boundary";b:1;s:8:"ellipsis";b:1;s:9:"more_link";b:0;s:14:"more_link_text";s:0:"";s:14:"more_link_path";s:0:"";s:10:"strip_tags";b:0;s:4:"trim";b:0;s:13:"preserve_tags";s:0:"";s:4:"html";b:0;}s:12:"element_type";s:0:"";s:13:"element_class";s:0:"";s:18:"element_label_type";s:0:"";s:19:"element_label_class";s:0:"";s:19:"element_label_colon";b:0;s:20:"element_wrapper_type";s:0:"";s:21:"element_wrapper_class";s:0:"";s:23:"element_default_classes";b:1;s:5:"empty";s:0:"";s:10:"hide_empty";b:0;s:10:"empty_zero";b:0;s:16:"hide_alter_empty";b:1;s:17:"click_sort_column";s:5:"value";s:4:"type";s:16:"aggregator_title";s:8:"settings";a:1:{s:15:"display_as_link";b:0;}s:12:"group_column";s:5:"value";s:13:"group_columns";a:0:{}s:10:"group_rows";b:1;s:11:"delta_limit";i:0;s:12:"delta_offset";i:0;s:14:"delta_reversed";b:0;s:16:"delta_first_last";b:0;s:10:"multi_type";s:9:"separator";s:9:"separator";s:2:", ";s:17:"field_api_classes";b:0;}s:3:"url";a:25:{s:2:"id";s:3:"url";s:5:"table";s:15:"aggregator_feed";s:5:"field";s:3:"url";s:12:"relationship";s:4:"none";s:10:"group_type";s:5:"group";s:11:"admin_label";s:0:"";s:11:"entity_type";s:15:"aggregator_feed";s:12:"entity_field";s:3:"url";s:9:"plugin_id";s:3:"url";s:5:"label";s:0:"";s:7:"exclude";b:0;s:5:"alter";a:26:{s:10:"alter_text";b:0;s:4:"text";s:0:"";s:9:"make_link";b:0;s:4:"path";s:0:"";s:8:"absolute";b:0;s:8:"external";b:0;s:14:"replace_spaces";b:0;s:9:"path_case";s:4:"none";s:15:"trim_whitespace";b:0;s:3:"alt";s:0:"";s:3:"rel";s:0:"";s:10:"link_class";s:0:"";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:6:"target";s:0:"";s:5:"nl2br";b:0;s:10:"max_length";i:0;s:13:"word_boundary";b:1;s:8:"ellipsis";b:1;s:9:"more_link";b:0;s:14:"more_link_text";s:0:"";s:14:"more_link_path";s:0:"";s:10:"strip_tags";b:0;s:4:"trim";b:0;s:13:"preserve_tags";s:0:"";s:4:"html";b:0;}s:12:"element_type";s:0:"";s:13:"element_class";s:0:"";s:18:"element_label_type";s:0:"";s:19:"element_label_class";s:0:"";s:19:"element_label_colon";b:0;s:20:"element_wrapper_type";s:0:"";s:21:"element_wrapper_class";s:0:"";s:23:"element_default_classes";b:1;s:5:"empty";s:0:"";s:10:"hide_empty";b:0;s:10:"empty_zero";b:0;s:16:"hide_alter_empty";b:1;s:15:"display_as_link";b:0;}s:11:"description";a:24:{s:2:"id";s:11:"description";s:5:"table";s:15:"aggregator_feed";s:5:"field";s:11:"description";s:12:"relationship";s:4:"none";s:10:"group_type";s:5:"group";s:11:"admin_label";s:0:"";s:11:"entity_type";s:15:"aggregator_feed";s:12:"entity_field";s:11:"description";s:9:"plugin_id";s:3:"xss";s:5:"label";s:0:"";s:7:"exclude";b:0;s:5:"alter";a:26:{s:10:"alter_text";b:0;s:4:"text";s:0:"";s:9:"make_link";b:0;s:4:"path";s:0:"";s:8:"absolute";b:0;s:8:"external";b:0;s:14:"replace_spaces";b:0;s:9:"path_case";s:4:"none";s:15:"trim_whitespace";b:0;s:3:"alt";s:0:"";s:3:"rel";s:0:"";s:10:"link_class";s:0:"";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:6:"target";s:0:"";s:5:"nl2br";b:0;s:10:"max_length";i:0;s:13:"word_boundary";b:1;s:8:"ellipsis";b:1;s:9:"more_link";b:0;s:14:"more_link_text";s:0:"";s:14:"more_link_path";s:0:"";s:10:"strip_tags";b:0;s:4:"trim";b:0;s:13:"preserve_tags";s:0:"";s:4:"html";b:0;}s:12:"element_type";s:0:"";s:13:"element_class";s:0:"";s:18:"element_label_type";s:0:"";s:19:"element_label_class";s:0:"";s:19:"element_label_colon";b:0;s:20:"element_wrapper_type";s:0:"";s:21:"element_wrapper_class";s:0:"";s:23:"element_default_classes";b:1;s:5:"empty";s:0:"";s:10:"hide_empty";b:0;s:10:"empty_zero";b:0;s:16:"hide_alter_empty";b:1;}s:4:"link";a:25:{s:2:"id";s:4:"link";s:5:"table";s:15:"aggregator_feed";s:5:"field";s:4:"link";s:12:"relationship";s:4:"none";s:10:"group_type";s:5:"group";s:11:"admin_label";s:0:"";s:11:"entity_type";s:15:"aggregator_feed";s:12:"entity_field";s:4:"link";s:9:"plugin_id";s:3:"url";s:5:"label";s:0:"";s:7:"exclude";b:0;s:5:"alter";a:26:{s:10:"alter_text";b:0;s:4:"text";s:0:"";s:9:"make_link";b:0;s:4:"path";s:0:"";s:8:"absolute";b:0;s:8:"external";b:0;s:14:"replace_spaces";b:0;s:9:"path_case";s:4:"none";s:15:"trim_whitespace";b:0;s:3:"alt";s:0:"";s:3:"rel";s:0:"";s:10:"link_class";s:0:"";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:6:"target";s:0:"";s:5:"nl2br";b:0;s:10:"max_length";i:0;s:13:"word_boundary";b:1;s:8:"ellipsis";b:1;s:9:"more_link";b:0;s:14:"more_link_text";s:0:"";s:14:"more_link_path";s:0:"";s:10:"strip_tags";b:0;s:4:"trim";b:0;s:13:"preserve_tags";s:0:"";s:4:"html";b:0;}s:12:"element_type";s:0:"";s:13:"element_class";s:0:"";s:18:"element_label_type";s:0:"";s:19:"element_label_class";s:0:"";s:19:"element_label_colon";b:0;s:20:"element_wrapper_type";s:0:"";s:21:"element_wrapper_class";s:0:"";s:23:"element_default_classes";b:1;s:5:"empty";s:0:"";s:10:"hide_empty";b:0;s:10:"empty_zero";b:0;s:16:"hide_alter_empty";b:1;s:15:"display_as_link";b:0;}}s:5:"style";a:2:{s:4:"type";s:4:"opml";s:7:"options";a:1:{s:8:"grouping";a:0:{}}}s:3:"row";a:2:{s:4:"type";s:11:"opml_fields";s:7:"options";a:8:{s:10:"type_field";s:3:"rss";s:10:"text_field";s:5:"title";s:13:"created_field";s:0:"";s:17:"description_field";s:11:"description";s:14:"html_url_field";s:4:"link";s:14:"language_field";s:0:"";s:13:"xml_url_field";s:3:"url";s:9:"url_field";s:0:"";}}s:8:"defaults";a:2:{s:5:"title";b:0;s:6:"fields";b:0;}s:17:"display_extenders";a:0:{}s:4:"path";s:15:"aggregator/opml";s:14:"sitename_title";b:1;s:8:"displays";a:2:{s:6:"page_1";s:6:"page_1";s:7:"default";s:1:"0";}}s:14:"cache_metadata";a:3:{s:7:"max-age";i:-1;s:8:"contexts";a:3:{i:0;s:26:"languages:language_content";i:1;s:28:"languages:language_interface";i:2;s:16:"user.permissions";}s:4:"tags";a:0:{}}}s:6:"page_1";a:6:{s:2:"id";s:6:"page_1";s:13:"display_title";s:4:"Page";s:14:"display_plugin";s:4:"page";s:8:"position";i:1;s:15:"display_options";a:3:{s:17:"display_extenders";a:0:{}s:4:"path";s:18:"aggregator/sources";s:4:"menu";a:6:{s:4:"type";s:6:"normal";s:5:"title";s:7:"Sources";s:11:"description";s:0:"";s:6:"weight";i:0;s:9:"menu_name";s:5:"tools";s:7:"context";s:1:"0";}}s:14:"cache_metadata";a:3:{s:7:"max-age";i:-1;s:8:"contexts";a:4:{i:0;s:26:"languages:language_content";i:1;s:28:"languages:language_interface";i:2;s:14:"url.query_args";i:3;s:16:"user.permissions";}s:4:"tags";a:0:{}}}}}',
])
->execute();
$connection->insert('key_value')
->fields([
'collection',
'name',
'value',
])
->values([
'collection' => 'config.entity.key_store.entity_view_display',
'name' => 'uuid:3b4c595c-156b-450d-b969-e47483c24ab5',
'value' => 'a:1:{i:0;s:64:"core.entity_view_display.aggregator_feed.aggregator_feed.summary";}',
])
->values([
'collection' => 'config.entity.key_store.entity_view_display',
'name' => 'uuid:4399410c-c5e5-4994-9471-6f7f358deb4f',
'value' => 'a:1:{i:0;s:64:"core.entity_view_display.aggregator_item.aggregator_item.summary";}',
])
->values([
'collection' => 'config.entity.key_store.entity_view_display',
'name' => 'uuid:5a50acff-a158-48ec-a207-ad23330048d7',
'value' => 'a:1:{i:0;s:64:"core.entity_view_display.aggregator_feed.aggregator_feed.default";}',
])
->values([
'collection' => 'config.entity.key_store.entity_view_mode',
'name' => 'uuid:f830d724-a8e2-44df-b9dc-6d9df7f7ce60',
'value' => 'a:1:{i:0;s:45:"core.entity_view_mode.aggregator_item.summary";}',
])
->values([
'collection' => 'config.entity.key_store.entity_view_mode',
'name' => 'uuid:ff5bb420-d756-46bf-b919-6544103aa810',
'value' => 'a:1:{i:0;s:45:"core.entity_view_mode.aggregator_feed.summary";}',
])
->values([
'collection' => 'config.entity.key_store.view',
'name' => 'uuid:1362afb7-5bd2-4c10-a9bb-1ee27ace6c86',
'value' => 'a:1:{i:0;s:29:"views.view.aggregator_sources";}',
])
->values([
'collection' => 'config.entity.key_store.view',
'name' => 'uuid:516ade9b-5e2a-4a6a-a7a6-603c57613605',
'value' => 'a:1:{i:0;s:30:"views.view.aggregator_rss_feed";}',
])
->values([
'collection' => 'entity.definitions.installed',
'name' => 'aggregator_feed.entity_type',
'value' => 'O:36:"Drupal\Core\Entity\ContentEntityType":40:{s:5:"