diff --git a/composer.json b/composer.json index ccb84e7..7074403 100644 --- a/composer.json +++ b/composer.json @@ -47,6 +47,7 @@ "drupal/menu_block": "^1.x-dev@dev", "drupal/menu_trail_by_path": "^2.0", "drupal/metatag": "^1.16", + "drupal/migrate_plus": "^6.0", "drupal/modifiers": "^1.2", "drupal/modifiers_pack": "^2.0", "drupal/module_filter": "dev-3.x", @@ -89,6 +90,7 @@ "drupal/core": { "Plugin blocks cannot set their own attributes when put in the layout": "https://git.drupalcode.org/project/drupal/-/merge_requests/1426.patch", "Order image mappings by breakpoint ID and numeric multiplier": "https://www.drupal.org/files/issues/2022-05-19/3267870-9.5.x-47.patch", + "Add menu_link_content support into views": "https://www.drupal.org/files/issues/2022-11-21/drupal-2777749-menu_link_content-views-support-23.patch", "Add Width and Height attribute to Responsive images.": "https://www.drupal.org/files/issues/2022-09-30/3192234-228-9.5.x.patch" }, "drupal/paragraphs": { diff --git a/config/install/search_api.index.default.yml b/config/install/search_api.index.default.yml index 99bc4db..b34205b 100644 --- a/config/install/search_api.index.default.yml +++ b/config/install/search_api.index.default.yml @@ -76,7 +76,11 @@ field_settings: anonymous: anonymous view_mode: 'entity:node': + board: full + event: full + news: full page: full + person: full status: label: Published datasource_id: 'entity:node' diff --git a/csgov.install b/csgov.install index 2c5ef3b..6fcf031 100644 --- a/csgov.install +++ b/csgov.install @@ -2,7 +2,7 @@ /** * @file - * Install, update and uninstall functions for the csgov installation profile. + * Install, update and uninstall functions for the CS Gov installation profile. */ use Drupal\user\Entity\User; @@ -17,6 +17,6 @@ use Drupal\user\Entity\User; function csgov_install() { // Assign user 1 the "administrator" role. $user = User::load(1); - $user->roles[] = 'administrator'; + $user->addRole('administrator'); $user->save(); } diff --git a/csgov.links.menu.yml b/csgov.links.menu.yml new file mode 100644 index 0000000..f0f4b4c --- /dev/null +++ b/csgov.links.menu.yml @@ -0,0 +1,5 @@ +csgov.admin_config_csgov: + title: 'CS Gov' + route_name: csgov.admin_config_csgov + parent: system.admin_config + weight: -50 diff --git a/csgov.profile b/csgov.profile index 25fb7c5..159f526 100644 --- a/csgov.profile +++ b/csgov.profile @@ -2,11 +2,33 @@ /** * @file - * Enables modules and site configuration for a csgov site installation. + * Enables modules and site configuration for a CS Gov site installation. */ use Drupal\Core\Form\FormStateInterface; +/** + * Implements hook_install_tasks(). + */ +function csgov_install_tasks(&$install_state) { + $tasks = [ + 'csgov_install_settings_form' => [ + 'display_name' => t('CS Gov settings'), + 'type' => 'form', + 'function' => 'Drupal\csgov\Installer\Form\SettingsForm', + ], + ]; + + if (!empty($install_state['parameters']['csgov_migrate'])) { + $tasks['csgov_install_migrate_batch'] = [ + 'display_name' => '- ' . t('Default content'), + 'type' => 'batch', + ]; + } + + return $tasks; +} + /** * Implements hook_form_FORM_ID_alter() for install_configure_form(). * @@ -14,4 +36,24 @@ use Drupal\Core\Form\FormStateInterface; */ function csgov_form_install_configure_form_alter(&$form, FormStateInterface $form_state) { $form['site_information']['site_name']['#default_value'] = 'CS Gov Starterkit'; + $form['regional_settings']['site_default_country']['#default_value'] = 'CZ'; +} + +/** + * Imports default content via a batch process during installation. + * + * @param $install_state + * An array of information about the current installation state. + * + * @return array|null + * The batch definition. + */ +function csgov_install_migrate_batch(&$install_state) { + // Install dependencies of migrate scripts. + \Drupal::service('module_installer')->install(['csgov_migrate']); + // Set first migrated page as site front page. + \Drupal::configFactory()->getEditable('system.site') + ->set('page.front', '/node/1')->save(TRUE); + // Process migrations. + return _csgov_migrate_get_batch('import'); } diff --git a/csgov.routing.yml b/csgov.routing.yml new file mode 100644 index 0000000..ea7eac0 --- /dev/null +++ b/csgov.routing.yml @@ -0,0 +1,7 @@ +csgov.admin_config_csgov: + path: '/admin/config/csgov' + defaults: + _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage' + _title: 'CS Gov' + requirements: + _permission: 'administer site configuration' diff --git a/modules/csgov_migrate/config/install/migrate_plus.migration_group.csgov_migrate.yml b/modules/csgov_migrate/config/install/migrate_plus.migration_group.csgov_migrate.yml new file mode 100644 index 0000000..c131852 --- /dev/null +++ b/modules/csgov_migrate/config/install/migrate_plus.migration_group.csgov_migrate.yml @@ -0,0 +1,9 @@ +langcode: cs +status: true +dependencies: { } +id: csgov_migrate +label: 'CS Gov Migrate' +description: '' +source_type: null +module: null +shared_configuration: null diff --git a/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_file.yml b/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_file.yml new file mode 100644 index 0000000..e830421 --- /dev/null +++ b/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_file.yml @@ -0,0 +1,716 @@ +langcode: cs +status: true +dependencies: + config: + - user.role.administrator + module: + - file + - rest + - serialization + - user +id: csgov_migrate_export_file +label: 'CS Gov Migrate - export file' +module: views +description: '' +tag: '' +base_table: file_managed +base_field: fid +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + fields: + uuid: + id: uuid + table: file_managed + field: uuid + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: uuid + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: { } + 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 + langcode: + id: langcode + table: file_managed + field: langcode + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: langcode + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: language + settings: + native_language: 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 + status: + id: status + table: file_managed + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: status + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_false: Dočasný + format_custom_true: Trvalý + 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 + filename: + id: filename + table: file_managed + field: filename + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: filename + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: false + ellipsis: false + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: { } + 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 + filemime: + id: filemime + table: file_managed + field: filemime + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: filemime + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: { } + 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 + created: + id: created + table: file_managed + field: created + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: created + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: timestamp + settings: + date_format: medium + custom_date_format: '' + timezone: '' + 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 + changed: + id: changed + table: file_managed + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: changed + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: timestamp + settings: + date_format: medium + custom_date_format: '' + timezone: '' + 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 + uri: + id: uri + table: file_managed + field: uri + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: uri + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: file_uri + settings: + link_to_file: false + file_download_path: 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 + pager: + type: mini + options: + offset: 0 + items_per_page: 10 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Položek na stránku' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- Vše -' + offset: false + offset_label: Posun + exposed_form: + type: basic + options: + submit_button: Použít + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Řadit dle' + expose_sort_order: true + sort_asc_label: Vzestupně + sort_desc_label: Sestupně + access: + type: role + options: + role: + administrator: administrator + cache: + type: tag + options: { } + empty: { } + sorts: { } + arguments: { } + filters: + uri: + id: uri + table: file_managed + field: uri + relationship: none + group_type: group + admin_label: '' + entity_type: file + entity_field: uri + plugin_id: string + operator: not_starts + value: 'public://media-icons/' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + uses_fields: false + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - user.roles + tags: { } + rest_export_1: + id: rest_export_1 + display_title: 'REST export' + display_plugin: rest_export + position: 1 + display_options: + pager: + type: none + options: + offset: 0 + row: + type: data_field + options: + field_options: + uuid: + alias: '' + raw_output: true + langcode: + alias: '' + raw_output: true + status: + alias: '' + raw_output: true + filename: + alias: '' + raw_output: true + filemime: + alias: '' + raw_output: true + created: + alias: '' + raw_output: true + changed: + alias: '' + raw_output: true + uri: + alias: '' + raw_output: true + display_extenders: + metatag_display_extender: + metatags: { } + tokenize: false + simple_sitemap_display_extender: { } + path: csgov-migrate/export/file + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - request_format + - user.roles + tags: { } diff --git a/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_media.yml b/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_media.yml new file mode 100644 index 0000000..cbac060 --- /dev/null +++ b/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_media.yml @@ -0,0 +1,791 @@ +langcode: cs +status: true +dependencies: + config: + - field.storage.media.field_media_file + - field.storage.media.field_media_image + - field.storage.media.field_tags + - user.role.administrator + module: + - csgov_migrate + - media + - rest + - serialization + - user +id: csgov_migrate_export_media +label: 'CS Gov Migrate - export media' +module: csgov_migrate +description: '' +tag: '' +base_table: media_field_data +base_field: mid +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + fields: + uuid: + id: uuid + table: media + field: uuid + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: uuid + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: 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 + langcode: + id: langcode + table: media_field_data + field: langcode + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: langcode + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: language + settings: + link_to_entity: false + native_language: 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 + status: + id: status + table: media_field_data + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: status + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_false: '' + format_custom_true: '' + 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 + name: + id: name + table: media_field_data + field: name + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: media + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: false + ellipsis: false + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: 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 + created: + id: created + table: media_field_data + field: created + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: created + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: timestamp + settings: + date_format: medium + custom_date_format: '' + timezone: '' + 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 + changed: + id: changed + table: media_field_data + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: changed + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: timestamp + settings: + date_format: medium + custom_date_format: '' + timezone: '' + 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 + field_media_file: + id: field_media_file + table: media__field_media_file + field: field_media_file + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: '' + 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 + field_media_image: + id: field_media_image + table: media__field_media_image + field: field_media_image + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: '' + 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 + field_tags: + id: field_tags + table: media__field_tags + field: field_tags + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: target_id + 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 + pager: + type: mini + options: + offset: 0 + items_per_page: 10 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Položek na stránku' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- Vše -' + offset: false + offset_label: Posun + exposed_form: + type: basic + options: + submit_button: Použít + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Řadit dle' + expose_sort_order: true + sort_asc_label: Vzestupně + sort_desc_label: Sestupně + access: + type: role + options: + role: + administrator: administrator + cache: + type: tag + options: { } + empty: { } + sorts: { } + arguments: + bundle: + id: bundle + table: media_field_data + field: bundle + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: bundle + plugin_id: string + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: raw + default_argument_options: + index: 3 + use_alias: false + default_argument_skip_url: false + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + glossary: false + limit: 0 + case: none + path_case: none + transform_dash: false + break_phrase: false + filters: { } + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + uses_fields: false + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - user.roles + tags: + - 'config:field.storage.media.field_media_file' + - 'config:field.storage.media.field_media_image' + - 'config:field.storage.media.field_tags' + rest_export_1: + id: rest_export_1 + display_title: 'REST export' + display_plugin: rest_export + position: 1 + display_options: + pager: + type: none + options: + offset: 0 + row: + type: data_field + options: + field_options: + uuid: + alias: '' + raw_output: true + langcode: + alias: '' + raw_output: true + status: + alias: '' + raw_output: true + name: + alias: '' + raw_output: true + created: + alias: '' + raw_output: true + changed: + alias: '' + raw_output: true + field_media_file: + alias: '' + raw_output: false + field_media_image: + alias: '' + raw_output: false + field_tags: + alias: '' + raw_output: false + display_extenders: + metatag_display_extender: + metatags: { } + tokenize: false + simple_sitemap_display_extender: { } + path: csgov-migrate/export/media/%type + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - request_format + - url + - user.roles + tags: + - 'config:field.storage.media.field_media_file' + - 'config:field.storage.media.field_media_image' + - 'config:field.storage.media.field_tags' diff --git a/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_menu.yml b/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_menu.yml new file mode 100644 index 0000000..3aec5a4 --- /dev/null +++ b/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_menu.yml @@ -0,0 +1,1057 @@ +langcode: cs +status: true +dependencies: + config: + - user.role.administrator + module: + - link + - menu_link_content + - rest + - serialization + - user +id: csgov_migrate_export_menu +label: 'CS Gov Migrate - export menu' +module: views +description: '' +tag: '' +base_table: menu_link_content_data +base_field: id +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + fields: + uuid: + id: uuid + table: menu_link_content + field: uuid + relationship: none + group_type: group + admin_label: '' + entity_type: menu_link_content + entity_field: uuid + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: 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 + langcode: + id: langcode + table: menu_link_content_data + field: langcode + relationship: none + group_type: group + admin_label: '' + entity_type: menu_link_content + entity_field: langcode + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: language + settings: + link_to_entity: false + native_language: 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 + enabled: + id: enabled + table: menu_link_content_data + field: enabled + relationship: none + group_type: group + admin_label: '' + entity_type: menu_link_content + entity_field: enabled + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_false: '' + format_custom_true: '' + 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 + title: + id: title + table: menu_link_content_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: null + entity_field: title + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: { } + 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 + description: + id: description + table: menu_link_content_data + field: description + relationship: none + group_type: group + admin_label: '' + entity_type: menu_link_content + entity_field: description + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: 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 + menu_name: + id: menu_name + table: menu_link_content_data + field: menu_name + relationship: none + group_type: group + admin_label: '' + entity_type: menu_link_content + entity_field: menu_name + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: 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 + link__uri: + id: link__uri + table: menu_link_content_data + field: link__uri + relationship: none + group_type: group + admin_label: '' + entity_type: menu_link_content + entity_field: link + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: uri + type: link + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '0' + target: '0' + group_column: '' + 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 + external: + id: external + table: menu_link_content_data + field: external + relationship: none + group_type: group + admin_label: '' + entity_type: menu_link_content + entity_field: external + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_false: '' + format_custom_true: '' + 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 + rediscover: + id: rediscover + table: menu_link_content_data + field: rediscover + relationship: none + group_type: group + admin_label: '' + entity_type: menu_link_content + entity_field: rediscover + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_false: '' + format_custom_true: '' + 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 + weight: + id: weight + table: menu_link_content_data + field: weight + relationship: none + group_type: group + admin_label: '' + entity_type: menu_link_content + entity_field: weight + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: number_unformatted + settings: { } + 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 + expanded: + id: expanded + table: menu_link_content_data + field: expanded + relationship: none + group_type: group + admin_label: '' + entity_type: menu_link_content + entity_field: expanded + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_false: '' + format_custom_true: '' + 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 + parent: + id: parent + table: menu_link_content_data + field: parent + relationship: none + group_type: group + admin_label: '' + entity_type: menu_link_content + entity_field: parent + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: 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 + changed: + id: changed + table: menu_link_content_data + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: menu_link_content + entity_field: changed + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: timestamp + settings: + date_format: medium + custom_date_format: '' + timezone: '' + 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 + pager: + type: mini + options: + offset: 0 + items_per_page: 10 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Položek na stránku' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- Vše -' + offset: false + offset_label: Posun + exposed_form: + type: basic + options: + submit_button: Použít + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Řadit dle' + expose_sort_order: true + sort_asc_label: Vzestupně + sort_desc_label: Sestupně + access: + type: role + options: + role: + administrator: administrator + cache: + type: tag + options: { } + empty: { } + sorts: + parent: + id: parent + table: menu_link_content_data + field: parent + relationship: none + group_type: group + admin_label: '' + entity_type: menu_link_content + entity_field: parent + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: '' + exposed: false + arguments: { } + filters: + enabled: + id: enabled + table: menu_link_content_data + field: enabled + entity_type: menu_link_content + entity_field: enabled + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + uses_fields: false + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: { } + footer: { } + display_extenders: + metatag_display_extender: + metatags: { } + tokenize: false + simple_sitemap_display_extender: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - user.roles + tags: { } + rest_export_1: + id: rest_export_1 + display_title: 'REST export' + display_plugin: rest_export + position: 1 + display_options: + pager: + type: none + options: + offset: 0 + row: + type: data_field + options: + field_options: + uuid: + alias: '' + raw_output: true + langcode: + alias: '' + raw_output: true + enabled: + alias: '' + raw_output: true + title: + alias: '' + raw_output: true + description: + alias: '' + raw_output: true + menu_name: + alias: '' + raw_output: true + link__uri: + alias: uri + raw_output: true + external: + alias: '' + raw_output: true + rediscover: + alias: '' + raw_output: true + weight: + alias: '' + raw_output: true + expanded: + alias: '' + raw_output: true + parent: + alias: '' + raw_output: true + changed: + alias: '' + raw_output: true + display_extenders: + metatag_display_extender: + metatags: { } + tokenize: false + simple_sitemap_display_extender: { } + path: csgov-migrate/export/menu + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - request_format + - user.roles + tags: { } diff --git a/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_node.yml b/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_node.yml new file mode 100644 index 0000000..5f090ee --- /dev/null +++ b/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_node.yml @@ -0,0 +1,1964 @@ +langcode: cs +status: true +dependencies: + config: + - field.storage.node.field_banner_image + - field.storage.node.field_banner_intro + - field.storage.node.field_banner_title + - field.storage.node.field_board_attachments + - field.storage.node.field_board_published_date + - field.storage.node.field_board_reference_mark + - field.storage.node.field_board_removed_date + - field.storage.node.field_board_responsible + - field.storage.node.field_board_type + - field.storage.node.field_body + - field.storage.node.field_components + - field.storage.node.field_event_date + - field.storage.node.field_event_location + - field.storage.node.field_news_date + - field.storage.node.field_news_type + - field.storage.node.field_teaser + - field.storage.node.field_thumbnail + - field.storage.node.layout_builder__layout + - user.role.administrator + module: + - csgov_migrate + - datetime + - datetime_range + - node + - rest + - serialization + - text + - user +id: csgov_migrate_export_node +label: 'CS Gov Migrate - export node' +module: csgov_migrate +description: '' +tag: '' +base_table: node_field_data +base_field: nid +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + fields: + uuid: + id: uuid + table: node + field: uuid + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: uuid + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: 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 + langcode: + id: langcode + table: node_field_data + field: langcode + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: langcode + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: language + settings: + link_to_entity: false + native_language: 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 + status: + id: status + table: node_field_data + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: status + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_false: '' + format_custom_true: '' + 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 + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: false + ellipsis: false + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: 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 + created: + id: created + table: node_field_data + field: created + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: created + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: timestamp + settings: + date_format: medium + custom_date_format: '' + timezone: '' + 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 + changed: + id: changed + table: node_field_data + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: changed + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: timestamp + settings: + date_format: medium + custom_date_format: '' + timezone: '' + 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 + promote: + id: promote + table: node_field_data + field: promote + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: promote + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_false: '' + format_custom_true: '' + 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 + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_false: '' + format_custom_true: '' + 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 + layout_builder__layout: + id: layout_builder__layout + table: node__layout_builder__layout + field: layout_builder__layout + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: section + type: layout_builder_json + settings: { } + group_column: section + 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 + field_banner_image: + id: field_banner_image + table: node__field_banner_image + field: field_banner_image + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: target_id + 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 + field_banner_intro: + id: field_banner_intro + table: node__field_banner_intro + field: field_banner_intro + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: text_default + settings: { } + 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 + field_banner_title: + id: field_banner_title + table: node__field_banner_title + field: field_banner_title + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: 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 + field_body: + id: field_body + table: node__field_body + field: field_body + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: text_default + settings: { } + 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 + field_components: + id: field_components + table: node__field_components + field: field_components + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: '' + 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 + field_teaser: + id: field_teaser + table: node__field_teaser + field: field_teaser + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: text_default + settings: { } + 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 + field_thumbnail: + id: field_thumbnail + table: node__field_thumbnail + field: field_thumbnail + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: target_id + 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 + field_board_attachments: + id: field_board_attachments + table: node__field_board_attachments + field: field_board_attachments + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: target_id + 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 + field_board_published_date: + id: field_board_published_date + table: node__field_board_published_date + field: field_board_published_date + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: datetime_plain + settings: + timezone_override: '' + 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 + field_board_reference_mark: + id: field_board_reference_mark + table: node__field_board_reference_mark + field: field_board_reference_mark + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: 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 + field_board_removed_date: + id: field_board_removed_date + table: node__field_board_removed_date + field: field_board_removed_date + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: datetime_plain + settings: + timezone_override: '' + 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 + field_board_type: + id: field_board_type + table: node__field_board_type + field: field_board_type + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: target_id + 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 + field_board_responsible: + id: field_board_responsible + table: node__field_board_responsible + field: field_board_responsible + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: target_id + 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 + field_event_date: + id: field_event_date + table: node__field_event_date + field: field_event_date + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: daterange_plain + settings: + timezone_override: '' + separator: '-' + 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 + field_event_location: + id: field_event_location + table: node__field_event_location + field: field_event_location + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: 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 + field_news_date: + id: field_news_date + table: node__field_news_date + field: field_news_date + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: datetime_plain + settings: + timezone_override: '' + 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 + field_news_type: + id: field_news_type + table: node__field_news_type + field: field_news_type + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: target_id + 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 + pager: + type: mini + options: + offset: 0 + items_per_page: 10 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Položek na stránku' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- Vše -' + offset: false + offset_label: Posun + exposed_form: + type: basic + options: + submit_button: Použít + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Řadit dle' + expose_sort_order: true + sort_asc_label: Vzestupně + sort_desc_label: Sestupně + access: + type: role + options: + role: + administrator: administrator + cache: + type: tag + options: { } + empty: { } + sorts: { } + arguments: + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: type + plugin_id: node_type + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: raw + default_argument_options: + index: 3 + use_alias: false + default_argument_skip_url: false + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + glossary: false + limit: 0 + case: none + path_case: none + transform_dash: false + break_phrase: false + filters: { } + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + uses_fields: false + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.roles + tags: + - 'config:field.storage.node.field_banner_image' + - 'config:field.storage.node.field_banner_intro' + - 'config:field.storage.node.field_banner_title' + - 'config:field.storage.node.field_board_attachments' + - 'config:field.storage.node.field_board_published_date' + - 'config:field.storage.node.field_board_reference_mark' + - 'config:field.storage.node.field_board_removed_date' + - 'config:field.storage.node.field_board_responsible' + - 'config:field.storage.node.field_board_type' + - 'config:field.storage.node.field_body' + - 'config:field.storage.node.field_components' + - 'config:field.storage.node.field_event_date' + - 'config:field.storage.node.field_event_location' + - 'config:field.storage.node.field_news_date' + - 'config:field.storage.node.field_news_type' + - 'config:field.storage.node.field_teaser' + - 'config:field.storage.node.field_thumbnail' + - 'config:field.storage.node.layout_builder__layout' + rest_export_1: + id: rest_export_1 + display_title: 'REST export' + display_plugin: rest_export + position: 1 + display_options: + pager: + type: none + options: + offset: 0 + row: + type: data_field + options: + field_options: + uuid: + alias: '' + raw_output: true + langcode: + alias: '' + raw_output: true + status: + alias: '' + raw_output: true + title: + alias: '' + raw_output: true + created: + alias: '' + raw_output: true + changed: + alias: '' + raw_output: true + promote: + alias: '' + raw_output: true + sticky: + alias: '' + raw_output: true + layout_builder__layout: + alias: '' + raw_output: false + field_banner_image: + alias: '' + raw_output: false + field_banner_intro: + alias: '' + raw_output: true + field_banner_title: + alias: '' + raw_output: true + field_body: + alias: '' + raw_output: true + field_components: + alias: '' + raw_output: false + field_teaser: + alias: '' + raw_output: true + field_thumbnail: + alias: '' + raw_output: false + field_board_attachments: + alias: '' + raw_output: false + field_board_published_date: + alias: '' + raw_output: true + field_board_reference_mark: + alias: '' + raw_output: true + field_board_removed_date: + alias: '' + raw_output: true + field_board_type: + alias: '' + raw_output: false + field_board_responsible: + alias: '' + raw_output: false + field_event_date: + alias: '' + raw_output: false + field_event_location: + alias: '' + raw_output: true + field_news_date: + alias: '' + raw_output: true + field_news_type: + alias: '' + raw_output: false + display_extenders: + metatag_display_extender: + metatags: { } + tokenize: false + simple_sitemap_display_extender: { } + path: csgov-migrate/export/node/%type + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - request_format + - url + - 'user.node_grants:view' + - user.roles + tags: + - 'config:field.storage.node.field_banner_image' + - 'config:field.storage.node.field_banner_intro' + - 'config:field.storage.node.field_banner_title' + - 'config:field.storage.node.field_board_attachments' + - 'config:field.storage.node.field_board_published_date' + - 'config:field.storage.node.field_board_reference_mark' + - 'config:field.storage.node.field_board_removed_date' + - 'config:field.storage.node.field_board_responsible' + - 'config:field.storage.node.field_board_type' + - 'config:field.storage.node.field_body' + - 'config:field.storage.node.field_components' + - 'config:field.storage.node.field_event_date' + - 'config:field.storage.node.field_event_location' + - 'config:field.storage.node.field_news_date' + - 'config:field.storage.node.field_news_type' + - 'config:field.storage.node.field_teaser' + - 'config:field.storage.node.field_thumbnail' + - 'config:field.storage.node.layout_builder__layout' diff --git a/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_paragraph.yml b/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_paragraph.yml new file mode 100644 index 0000000..6d3a077 --- /dev/null +++ b/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_paragraph.yml @@ -0,0 +1,1451 @@ +langcode: cs +status: true +dependencies: + config: + - field.storage.paragraph.field_accordion_orientation + - field.storage.paragraph.field_accordions + - field.storage.paragraph.field_attachment + - field.storage.paragraph.field_body + - field.storage.paragraph.field_color_classes + - field.storage.paragraph.field_heading + - field.storage.paragraph.field_image + - field.storage.paragraph.field_items + - field.storage.paragraph.field_layout_classes + - field.storage.paragraph.field_nodes + - field.storage.paragraph.field_read_more + - field.storage.paragraph.field_show_toggle_all + - field.storage.paragraph.field_title + - field.storage.paragraph.field_view_mode + - user.role.administrator + module: + - csgov_migrate + - link + - options + - paragraphs + - rest + - serialization + - text + - user +id: csgov_migrate_export_paragraph +label: 'CS Gov Migrate - export paragraph' +module: csgov_migrate +description: '' +tag: '' +base_table: paragraphs_item_field_data +base_field: id +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + fields: + uuid: + id: uuid + table: paragraphs_item + field: uuid + relationship: none + group_type: group + admin_label: '' + entity_type: paragraph + entity_field: uuid + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: { } + 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 + langcode: + id: langcode + table: paragraphs_item_field_data + field: langcode + relationship: none + group_type: group + admin_label: '' + entity_type: paragraph + entity_field: langcode + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: language + settings: + native_language: 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 + status: + id: status + table: paragraphs_item_field_data + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: paragraph + entity_field: status + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_false: '' + format_custom_true: '' + 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 + created: + id: created + table: paragraphs_item_field_data + field: created + relationship: none + group_type: group + admin_label: '' + entity_type: paragraph + entity_field: created + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: timestamp + settings: + date_format: medium + custom_date_format: '' + timezone: '' + 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 + field_title: + id: field_title + table: paragraph__field_title + field: field_title + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: { } + 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 + field_heading: + id: field_heading + table: paragraph__field_heading + field: field_heading + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: { } + 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 + field_body: + id: field_body + table: paragraph__field_body + field: field_body + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: text_default + settings: { } + 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 + field_accordion_orientation: + id: field_accordion_orientation + table: paragraph__field_accordion_orientation + field: field_accordion_orientation + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: list_default + settings: { } + 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 + field_accordions: + id: field_accordions + table: paragraph__field_accordions + field: field_accordions + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: '' + 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 + field_attachment: + id: field_attachment + table: paragraph__field_attachment + field: field_attachment + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: target_id + 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 + field_color_classes: + id: field_color_classes + table: paragraph__field_color_classes + field: field_color_classes + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: list_default + settings: { } + 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 + field_image: + id: field_image + table: paragraph__field_image + field: field_image + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: target_id + 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 + field_items: + id: field_items + table: paragraph__field_items + field: field_items + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: '' + 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 + field_layout_classes: + id: field_layout_classes + table: paragraph__field_layout_classes + field: field_layout_classes + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: list_default + settings: { } + 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 + field_nodes: + id: field_nodes + table: paragraph__field_nodes + field: field_nodes + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_uuid + settings: { } + group_column: target_id + 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 + field_read_more: + id: field_read_more + table: paragraph__field_read_more + field: field_read_more + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: uri + type: link + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '0' + target: '0' + group_column: '' + 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 + field_show_toggle_all: + id: field_show_toggle_all + table: paragraph__field_show_toggle_all + field: field_show_toggle_all + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_false: '' + format_custom_true: '' + 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 + field_view_mode: + id: field_view_mode + table: paragraph__field_view_mode + field: field_view_mode + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: list_default + settings: { } + 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 + pager: + type: mini + options: + offset: 0 + items_per_page: 10 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Položek na stránku' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- Vše -' + offset: false + offset_label: Posun + exposed_form: + type: basic + options: + submit_button: Použít + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Řadit dle' + expose_sort_order: true + sort_asc_label: Vzestupně + sort_desc_label: Sestupně + access: + type: role + options: + role: + administrator: administrator + cache: + type: tag + options: { } + empty: { } + sorts: { } + arguments: + type: + id: type + table: paragraphs_item_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: paragraph + entity_field: type + plugin_id: string + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: raw + default_argument_options: + index: 3 + use_alias: false + default_argument_skip_url: false + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + glossary: false + limit: 0 + case: none + path_case: none + transform_dash: false + break_phrase: false + filters: + parent_id: + id: parent_id + table: paragraphs_item_field_data + field: parent_id + relationship: none + group_type: group + admin_label: '' + entity_type: paragraph + entity_field: parent_id + plugin_id: string + operator: '!=' + value: '' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + uses_fields: false + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - user.roles + tags: + - 'config:field.storage.paragraph.field_accordion_orientation' + - 'config:field.storage.paragraph.field_accordions' + - 'config:field.storage.paragraph.field_attachment' + - 'config:field.storage.paragraph.field_body' + - 'config:field.storage.paragraph.field_color_classes' + - 'config:field.storage.paragraph.field_heading' + - 'config:field.storage.paragraph.field_image' + - 'config:field.storage.paragraph.field_items' + - 'config:field.storage.paragraph.field_layout_classes' + - 'config:field.storage.paragraph.field_nodes' + - 'config:field.storage.paragraph.field_read_more' + - 'config:field.storage.paragraph.field_show_toggle_all' + - 'config:field.storage.paragraph.field_title' + - 'config:field.storage.paragraph.field_view_mode' + rest_export_1: + id: rest_export_1 + display_title: 'REST export' + display_plugin: rest_export + position: 1 + display_options: + pager: + type: none + options: + offset: 0 + row: + type: data_field + options: + field_options: + uuid: + alias: '' + raw_output: true + langcode: + alias: '' + raw_output: true + status: + alias: '' + raw_output: true + created: + alias: '' + raw_output: true + field_title: + alias: '' + raw_output: true + field_heading: + alias: '' + raw_output: true + field_body: + alias: '' + raw_output: true + field_accordion_orientation: + alias: '' + raw_output: true + field_accordions: + alias: '' + raw_output: false + field_attachment: + alias: '' + raw_output: false + field_color_classes: + alias: '' + raw_output: true + field_image: + alias: '' + raw_output: false + field_items: + alias: '' + raw_output: false + field_layout_classes: + alias: '' + raw_output: true + field_nodes: + alias: '' + raw_output: false + field_read_more: + alias: '' + raw_output: true + field_show_toggle_all: + alias: '' + raw_output: true + field_view_mode: + alias: '' + raw_output: true + display_extenders: + metatag_display_extender: + metatags: { } + tokenize: false + simple_sitemap_display_extender: { } + path: csgov-migrate/export/paragraph/%type + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - request_format + - url + - user.roles + tags: + - 'config:field.storage.paragraph.field_accordion_orientation' + - 'config:field.storage.paragraph.field_accordions' + - 'config:field.storage.paragraph.field_attachment' + - 'config:field.storage.paragraph.field_body' + - 'config:field.storage.paragraph.field_color_classes' + - 'config:field.storage.paragraph.field_heading' + - 'config:field.storage.paragraph.field_image' + - 'config:field.storage.paragraph.field_items' + - 'config:field.storage.paragraph.field_layout_classes' + - 'config:field.storage.paragraph.field_nodes' + - 'config:field.storage.paragraph.field_read_more' + - 'config:field.storage.paragraph.field_show_toggle_all' + - 'config:field.storage.paragraph.field_title' + - 'config:field.storage.paragraph.field_view_mode' diff --git a/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_taxonomy.yml b/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_taxonomy.yml new file mode 100644 index 0000000..c5b1f55 --- /dev/null +++ b/modules/csgov_migrate/config/install/views.view.csgov_migrate_export_taxonomy.yml @@ -0,0 +1,649 @@ +langcode: cs +status: true +dependencies: + config: + - user.role.administrator + module: + - csgov_migrate + - rest + - serialization + - taxonomy + - text + - user +id: csgov_migrate_export_taxonomy +label: 'CS Gov Migrate - export taxonomy' +module: csgov_migrate +description: '' +tag: '' +base_table: taxonomy_term_field_data +base_field: tid +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + fields: + uuid: + id: uuid + table: taxonomy_term_data + field: uuid + relationship: none + group_type: group + admin_label: '' + entity_type: taxonomy_term + entity_field: uuid + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: 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 + langcode: + id: langcode + table: taxonomy_term_field_data + field: langcode + relationship: none + group_type: group + admin_label: '' + entity_type: taxonomy_term + entity_field: langcode + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: language + settings: + link_to_entity: false + native_language: 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 + status: + id: status + table: taxonomy_term_field_data + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: taxonomy_term + entity_field: status + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: default + format_custom_false: '' + format_custom_true: '' + 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 + name: + id: name + table: taxonomy_term_field_data + field: name + relationship: none + group_type: group + admin_label: '' + entity_type: taxonomy_term + entity_field: name + plugin_id: term_name + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: false + ellipsis: false + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: 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 + convert_spaces: false + weight: + id: weight + table: taxonomy_term_field_data + field: weight + relationship: none + group_type: group + admin_label: '' + entity_type: taxonomy_term + entity_field: weight + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: number_unformatted + settings: { } + 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 + changed: + id: changed + table: taxonomy_term_field_data + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: taxonomy_term + entity_field: changed + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: timestamp + settings: + date_format: medium + custom_date_format: '' + timezone: '' + 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 + description__value: + id: description__value + table: taxonomy_term_field_data + field: description__value + relationship: none + group_type: group + admin_label: '' + entity_type: taxonomy_term + entity_field: description + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: text_default + settings: { } + 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 + pager: + type: mini + options: + offset: 0 + items_per_page: 10 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Položek na stránku' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- Vše -' + offset: false + offset_label: Posun + exposed_form: + type: basic + options: + submit_button: Použít + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Řadit dle' + expose_sort_order: true + sort_asc_label: Vzestupně + sort_desc_label: Sestupně + access: + type: role + options: + role: + administrator: administrator + cache: + type: tag + options: { } + empty: { } + sorts: { } + arguments: + vid: + id: vid + table: taxonomy_term_field_data + field: vid + relationship: none + group_type: group + admin_label: '' + entity_type: taxonomy_term + entity_field: vid + plugin_id: vocabulary_vid + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: raw + default_argument_options: + index: 3 + use_alias: false + default_argument_skip_url: false + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + break_phrase: false + not: false + filters: { } + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + uses_fields: false + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - user.roles + tags: { } + rest_export_1: + id: rest_export_1 + display_title: 'REST export' + display_plugin: rest_export + position: 1 + display_options: + pager: + type: none + options: + offset: 0 + row: + type: data_field + options: + field_options: + uuid: + alias: '' + raw_output: true + langcode: + alias: '' + raw_output: true + status: + alias: '' + raw_output: true + name: + alias: '' + raw_output: true + weight: + alias: '' + raw_output: true + changed: + alias: '' + raw_output: true + description__value: + alias: description + raw_output: true + display_extenders: + metatag_display_extender: + metatags: { } + tokenize: false + simple_sitemap_display_extender: { } + path: csgov-migrate/export/taxonomy/%type + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - request_format + - url + - user.roles + tags: { } diff --git a/modules/csgov_migrate/csgov_migrate.info.yml b/modules/csgov_migrate/csgov_migrate.info.yml new file mode 100644 index 0000000..09c28ed --- /dev/null +++ b/modules/csgov_migrate/csgov_migrate.info.yml @@ -0,0 +1,11 @@ +name: CS Gov Migrate +type: module +description: Provides custom migration support. +package: CS Gov +core_version_requirement: ^9 || ^10 +configure: csgov_migrate.settings +dependencies: + - drupal:migrate + - drupal:rest + - drupal:views + - migrate_plus:migrate_plus diff --git a/modules/csgov_migrate/csgov_migrate.links.menu.yml b/modules/csgov_migrate/csgov_migrate.links.menu.yml new file mode 100644 index 0000000..f0bcecc --- /dev/null +++ b/modules/csgov_migrate/csgov_migrate.links.menu.yml @@ -0,0 +1,5 @@ +csgov_migrate.settings: + title: 'CS Gov Migrate' + description: 'Configure CS Gov Migrate settings.' + route_name: csgov_migrate.settings + parent: csgov.admin_config_csgov diff --git a/modules/csgov_migrate/csgov_migrate.links.task.yml b/modules/csgov_migrate/csgov_migrate.links.task.yml new file mode 100644 index 0000000..54f6341 --- /dev/null +++ b/modules/csgov_migrate/csgov_migrate.links.task.yml @@ -0,0 +1,5 @@ +csgov_migrate.settings: + title: 'Settings' + route_name: csgov_migrate.settings + base_route: csgov_migrate.settings + weight: -10 diff --git a/modules/csgov_migrate/csgov_migrate.module b/modules/csgov_migrate/csgov_migrate.module new file mode 100644 index 0000000..6e9f0c6 --- /dev/null +++ b/modules/csgov_migrate/csgov_migrate.module @@ -0,0 +1,177 @@ + [ + 'board_type', + 'media_tags', + 'news_type', + ], + 'file' => [NULL], + 'media' => [ + 'file', + 'image', + ], + 'paragraph' => [ + 'accordion', + 'accordion_group', + 'attachments', + 'content', + 'item', + 'item_list', + 'node_list', + ], + 'menu' => [NULL], + 'node' => [ + 'page', + 'person', + 'board', + 'event', + 'news', + ], + ]; +} + +/** + * Prepare batch to import or export of default content. + * + * @param string $direction + * The migration direction ('import' or 'export'). + * + * @return array + * The batch array. + */ +function _csgov_migrate_get_batch($direction) { + $function = '_csgov_migrate_' . $direction . '_operation'; + + // Get entity types and bundles to be processed. + $migrations = _csgov_migrate_get_migrations(); + + // Prepare a single operation for every bundle. + $operations = []; + foreach ($migrations as $entity_type => $bundles) { + foreach ($bundles as $bundle) { + $operations[] = [$function, [$entity_type, $bundle]]; + } + } + + // Append migrations with recursive references to run again. + if ($direction === 'import') { + $operations[] = [$function, ['paragraph', 'node_list']]; + } + + return [ + 'operations' => $operations, + 'title' => t(ucfirst($direction) . 'ing default content'), + ]; +} + +/** + * Implements callback_batch_operation(). + * + * Performs batch import of default content. + * + * @param string $entity_type + * The entity type. + * @param string $bundle + * The entity bundle. + * @param array $context + * The batch context. + */ +function _csgov_migrate_import_operation($entity_type, $bundle, &$context) { + $id = implode('_', array_filter(['csgov_migrate', $entity_type, $bundle])); + $migration_manager = \Drupal::service('plugin.manager.migration'); + if ($migration_manager->hasDefinition($id)) { + /** @var \Drupal\migrate\Plugin\MigrationInterface $migration */ + $migration = $migration_manager->createInstance($id); + $migration->getIdMap()->prepareUpdate(); + $executable = new MigrateExecutable($migration); + $executable->import(); + } +} + +/** + * Implements callback_batch_operation(). + * + * Performs batch export of default content. + * + * @param string $entity_type + * The entity type. + * @param string $bundle + * The entity bundle. + * @param array $context + * The batch context. + */ +function _csgov_migrate_export_operation($entity_type, $bundle, &$context) { + $id = implode('_', array_filter([$entity_type, $bundle])); + $view_id = 'csgov_migrate_export_' . $entity_type; + $view = Views::getView($view_id); + if (!empty($view) && !empty($view->storage->getDisplay('rest_export_1'))) { + $view->setArguments([$bundle]); + $result = $view->render('rest_export_1'); + $json = \Drupal::service('renderer')->render($result); + if (!empty($json)) { + $directory = dirname(__FILE__) . '/data/'; + $path = $directory . $id . '.json'; + file_put_contents($path, $json); + } + } +} + +/** + * Extracts multiple values from comma-separated string. + */ +function csgov_migrate_process_multiple($input) { + $result = []; + if (!empty($input)) { + foreach (explode(',', $input) as $value) { + if (!empty($value = trim($value))) { + $result[] = ['value' => $value]; + } + } + } + return $result; +} + +/** + * Converts complex array to entity reference field values. + */ +function csgov_migrate_process_reference($input) { + if (!empty($input[0]) && is_array($input[0]) + && !empty($input[0][0]) && !empty($input[0][1]) + ) { + return [ + 'target_id' => $input[0][0], + 'target_revision_id' => $input[0][1], + ]; + } + return NULL; +} + +/** + * Implements hook_entity_field_access_alter(). + */ +function csgov_migrate_entity_field_access_alter(array &$grants, array $context) { + // Allow to export data using "Layout Builder JSON" formatter. + if ($context['field_definition']->getName() === 'layout_builder__layout' + && $context['operation'] === 'view' && $grants[':default']->isForbidden() + ) { + $grants[':default'] = AccessResult::allowed() + ->inheritCacheability($grants[':default']); + } +} diff --git a/modules/csgov_migrate/csgov_migrate.routing.yml b/modules/csgov_migrate/csgov_migrate.routing.yml new file mode 100644 index 0000000..6959e83 --- /dev/null +++ b/modules/csgov_migrate/csgov_migrate.routing.yml @@ -0,0 +1,9 @@ +csgov_migrate.settings: + path: '/admin/config/csgov/migrate' + defaults: + _form: '\Drupal\csgov_migrate\Form\SettingsForm' + _title: 'CS Gov Migrate settings' + requirements: + _permission: 'administer site configuration' + options: + _admin_route: TRUE diff --git a/modules/csgov_migrate/data/file.json b/modules/csgov_migrate/data/file.json new file mode 100644 index 0000000..ee21e20 --- /dev/null +++ b/modules/csgov_migrate/data/file.json @@ -0,0 +1 @@ +[{"uuid":"d917d457-9d33-4c7c-ac4f-7c606b0382b2","langcode":"cs","status":"1","filename":"czech-landscape.jpg","filemime":"image\/jpeg","created":"1682412886","changed":"1682412898","uri":"public:\/\/czech-landscape.jpg"},{"uuid":"6baec6ae-1c34-4f79-a56f-a18c0c3af1dd","langcode":"cs","status":"1","filename":"karlovy-vary-lazne.jpg","filemime":"image\/jpeg","created":"1682412935","changed":"1682412944","uri":"public:\/\/karlovy-vary-lazne.jpg"},{"uuid":"49568ce4-c295-4f6d-be41-5ca0c5d7e473","langcode":"cs","status":"1","filename":"daisy.jpg","filemime":"image\/jpeg","created":"1682413003","changed":"1682413017","uri":"public:\/\/daisy.jpg"},{"uuid":"0269db06-a0d3-4c7e-9d1b-83d6a9fbb2fc","langcode":"cs","status":"1","filename":"rose.jpg","filemime":"image\/jpeg","created":"1682413024","changed":"1682413029","uri":"public:\/\/rose.jpg"},{"uuid":"a292f696-e031-4ce8-8ed5-e5c6597b23ca","langcode":"cs","status":"1","filename":"wall.jpg","filemime":"image\/jpeg","created":"1682413036","changed":"1682413041","uri":"public:\/\/wall.jpg"},{"uuid":"ee7b5405-e7ee-4e4d-9a0c-12deb3e7a3a4","langcode":"cs","status":"1","filename":"karlovarsky-kraj.jpg","filemime":"image\/jpeg","created":"1682413056","changed":"1682413099","uri":"public:\/\/karlovarsky-kraj.jpg"},{"uuid":"bd6f59c4-1b7e-4a6f-b1ff-3ba4a3956406","langcode":"cs","status":"1","filename":"attachment.txt","filemime":"text\/plain","created":"1682413289","changed":"1682413307","uri":"public:\/\/attachment.txt"},{"uuid":"da32df95-fd7a-45fb-ae15-e0090b365088","langcode":"cs","status":"1","filename":"cesko-digital-logo.png","filemime":"image\/png","created":"1686210354","changed":"1686210365","uri":"public:\/\/cesko-digital-logo.png"}] \ No newline at end of file diff --git a/modules/csgov_migrate/data/media_file.json b/modules/csgov_migrate/data/media_file.json new file mode 100644 index 0000000..90c4470 --- /dev/null +++ b/modules/csgov_migrate/data/media_file.json @@ -0,0 +1 @@ +[{"uuid":"f0e46b2b-a675-4187-b22b-2d327d170db1","langcode":"cs","status":"1","name":"Text attachment","created":"1682412678","changed":"1683885128","field_media_file":"bd6f59c4-1b7e-4a6f-b1ff-3ba4a3956406","field_media_image":"","field_tags":""}] \ No newline at end of file diff --git a/modules/csgov_migrate/data/media_image.json b/modules/csgov_migrate/data/media_image.json new file mode 100644 index 0000000..958b7fd --- /dev/null +++ b/modules/csgov_migrate/data/media_image.json @@ -0,0 +1 @@ +[{"uuid":"4862a1e9-7e09-469b-ba8e-0049f35c7ea2","langcode":"cs","status":"1","name":"Czech landscape","created":"1682412828","changed":"1682412898","field_media_file":"","field_media_image":"d917d457-9d33-4c7c-ac4f-7c606b0382b2","field_tags":""},{"uuid":"a3928766-79db-4386-be71-bbcd11a52886","langcode":"cs","status":"1","name":"Karlovy Vary kolon\u00e1da","created":"1682412828","changed":"1686210634","field_media_file":"","field_media_image":"6baec6ae-1c34-4f79-a56f-a18c0c3af1dd","field_tags":""},{"uuid":"97536f06-f96a-4e8f-a86e-b5b32851f2cd","langcode":"cs","status":"1","name":"Daisy","created":"1682412829","changed":"1682413017","field_media_file":"","field_media_image":"49568ce4-c295-4f6d-be41-5ca0c5d7e473","field_tags":""},{"uuid":"f2b4509b-231f-4c82-9e71-98122b8d6b7e","langcode":"cs","status":"1","name":"Rose","created":"1682412829","changed":"1682413029","field_media_file":"","field_media_image":"0269db06-a0d3-4c7e-9d1b-83d6a9fbb2fc","field_tags":""},{"uuid":"53eaeeea-809a-4ff0-83b8-0bb8afdf52ff","langcode":"cs","status":"1","name":"Wall","created":"1682412830","changed":"1682413041","field_media_file":"","field_media_image":"a292f696-e031-4ce8-8ed5-e5c6597b23ca","field_tags":""},{"uuid":"aaa63e73-b177-4db0-8637-8307ba335e66","langcode":"cs","status":"1","name":"Karlovarsk\u00fd kraj logo","created":"1682412830","changed":"1682413099","field_media_file":"","field_media_image":"ee7b5405-e7ee-4e4d-9a0c-12deb3e7a3a4","field_tags":""},{"uuid":"569af68a-7443-4232-a7a5-822ba10e78f5","langcode":"cs","status":"1","name":"Logo \u010cesko.Digital","created":"1686210354","changed":"1686210609","field_media_file":"","field_media_image":"da32df95-fd7a-45fb-ae15-e0090b365088","field_tags":""}] \ No newline at end of file diff --git a/modules/csgov_migrate/data/menu.json b/modules/csgov_migrate/data/menu.json new file mode 100644 index 0000000..1f16870 --- /dev/null +++ b/modules/csgov_migrate/data/menu.json @@ -0,0 +1 @@ +[{"uuid":"2fcf719b-1597-4f5c-bf80-3a977ac72fda","langcode":"en","enabled":"1","title":"Kontakty","description":false,"menu_name":"main","uri":"entity:node\/2","external":"0","rediscover":"0","weight":"-46","expanded":"0","parent":false,"changed":"1686235568"},{"uuid":"48c70466-ad8a-41b8-9b4a-ffefa6bbc421","langcode":"cs","enabled":"1","title":"O obci","description":false,"menu_name":"main","uri":"entity:node\/5","external":"0","rediscover":"0","weight":"-49","expanded":"0","parent":false,"changed":"1686235503"},{"uuid":"8c5d35af-46af-4900-9493-002f0c5715bf","langcode":"cs","enabled":"1","title":"Dom\u016f","description":false,"menu_name":"main","uri":"internal:\/","external":"0","rediscover":"1","weight":"-50","expanded":"0","parent":false,"changed":"1686235597"},{"uuid":"83b5850c-280a-4378-9923-1017078714d0","langcode":"cs","enabled":"1","title":"Novinky","description":false,"menu_name":"main","uri":"entity:node\/7","external":"0","rediscover":"0","weight":"-48","expanded":"0","parent":false,"changed":"1686235516"},{"uuid":"92c2a27f-7314-4bd0-a352-655ceaed047c","langcode":"cs","enabled":"1","title":"N\u00e1\u0161 \u00fa\u0159ad","description":"","menu_name":"main","uri":"route:\u003Cbutton\u003E","external":"0","rediscover":"0","weight":"-47","expanded":"1","parent":"","changed":"1685714180"},{"uuid":"62dfc1d5-42ec-4a08-9f50-a7cb1d7845c9","langcode":"en","enabled":"1","title":"Povinn\u00e9 informace","description":false,"menu_name":"main","uri":"entity:node\/4","external":"0","rediscover":"0","weight":"-49","expanded":"0","parent":"menu_link_content:92c2a27f-7314-4bd0-a352-655ceaed047c","changed":"1686235538"},{"uuid":"ff2f92bb-2470-4dff-b275-cb7c95271abd","langcode":"cs","enabled":"1","title":"Test","description":false,"menu_name":"main","uri":"entity:node\/3","external":"0","rediscover":"0","weight":"-47","expanded":"0","parent":"menu_link_content:92c2a27f-7314-4bd0-a352-655ceaed047c","changed":"1686235559"},{"uuid":"80f3e933-cd4c-4b83-b6d6-6a627009e179","langcode":"cs","enabled":"1","title":"\u00da\u0159edn\u00ed deska","description":false,"menu_name":"main","uri":"entity:node\/6","external":"0","rediscover":"0","weight":"-50","expanded":"0","parent":"menu_link_content:92c2a27f-7314-4bd0-a352-655ceaed047c","changed":"1686235528"},{"uuid":"d1acc9a3-9cdd-49cf-9ede-3491b19d2e07","langcode":"cs","enabled":"1","title":"Akce","description":false,"menu_name":"main","uri":"entity:node\/8","external":"0","rediscover":"0","weight":"-48","expanded":"0","parent":"menu_link_content:92c2a27f-7314-4bd0-a352-655ceaed047c","changed":"1686235548"}] \ No newline at end of file diff --git a/modules/csgov_migrate/data/node_board.json b/modules/csgov_migrate/data/node_board.json new file mode 100644 index 0000000..b8e8263 --- /dev/null +++ b/modules/csgov_migrate/data/node_board.json @@ -0,0 +1 @@ +[{"uuid":"4b866c8c-6e6a-4d24-b90d-5568798669e5","langcode":"cs","status":"1","title":"Z\u00e1znam \u00fa\u0159edn\u00ed desky 2","created":"1557398942","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"f2b4509b-231f-4c82-9e71-98122b8d6b7e","field_banner_intro":false,"field_banner_title":false,"field_body":false,"field_components":"","field_teaser":"\u003Cp\u003EV dis fliktuk kroud d\u011bzob\u00e9m re\u0159 z t\u011bch\u016f pr\u00e9pli.\u003C\/p\u003E\r\n","field_thumbnail":"a3928766-79db-4386-be71-bbcd11a52886","field_board_attachments":"f0e46b2b-a675-4187-b22b-2d327d170db1","field_board_published_date":"2023-05-29","field_board_reference_mark":false,"field_board_removed_date":"2023-06-26","field_board_type":"","field_board_responsible":"594d88bd-31bd-4b44-9610-898599a43cc9","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""},{"uuid":"09f69fff-89ed-4b6f-9919-dc15387c45f2","langcode":"cs","status":"1","title":"Z\u00e1znam \u00fa\u0159edn\u00ed desky","created":"1557407516","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"a3928766-79db-4386-be71-bbcd11a52886","field_banner_intro":false,"field_banner_title":false,"field_body":"\u003Cp class=\u0022lead\u0022\u003ELorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vel quam elementum pulvinar etiam. Etiam sit amet nisl purus in mollis. Interdum posuere lorem ipsum dolor sit amet consectetur.\u003C\/p\u003E\r\n\r\n\u003Cp\u003ENon pulvinar neque laoreet suspendisse interdum consectetur libero. In nulla posuere sollicitudin aliquam ultrices sagittis orci a. Tempor orci eu lobortis elementum nibh. Viverra tellus in hac habitasse platea dictumst. Adipiscing elit pellentesque habitant morbi. Nec dui nunc mattis enim. Nulla facilisi nullam vehicula ipsum a arcu cursus vitae. Odio aenean sed adipiscing diam donec adipiscing tristique. Turpis massa tincidunt dui ut. Amet est placerat in egestas erat imperdiet sed. Risus sed vulputate odio ut enim blandit. Aliquet enim tortor at auctor urna nunc id. Urna molestie at elementum eu facilisis sed odio morbi quis. Volutpat diam ut venenatis tellus in metus vulputate eu scelerisque. Justo laoreet sit amet cursus sit amet dictum sit. Volutpat commodo sed egestas egestas fringilla phasellus.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EOrci nulla pellentesque dignissim enim sit amet venenatis. Netus et malesuada fames ac turpis egestas. Gravida neque convallis a cras semper. Est ullamcorper eget nulla facilisi. Vitae aliquet nec ullamcorper sit amet risus nullam eget felis. Porta lorem mollis aliquam ut porttitor.\u003C\/p\u003E\r\n","field_components":"","field_teaser":"\u003Cp\u003ENon pulvinar neque laoreet suspendisse interdum consectetur libero. In nulla posuere sollicitudin aliquam ultrices sagittis orci a.\u003C\/p\u003E\r\n","field_thumbnail":"a3928766-79db-4386-be71-bbcd11a52886","field_board_attachments":"f0e46b2b-a675-4187-b22b-2d327d170db1","field_board_published_date":"2023-06-05","field_board_reference_mark":false,"field_board_removed_date":"2023-07-03","field_board_type":"","field_board_responsible":"594d88bd-31bd-4b44-9610-898599a43cc9","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""},{"uuid":"0502749a-9737-45a4-904b-cc0b14834671","langcode":"cs","status":"1","title":"\u00da\u0159edn\u00ed deska demo 3","created":"1557870076","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"97536f06-f96a-4e8f-a86e-b5b32851f2cd","field_banner_intro":false,"field_banner_title":false,"field_body":false,"field_components":"","field_teaser":false,"field_thumbnail":"a3928766-79db-4386-be71-bbcd11a52886","field_board_attachments":"f0e46b2b-a675-4187-b22b-2d327d170db1","field_board_published_date":"2023-06-12","field_board_reference_mark":false,"field_board_removed_date":"2023-07-10","field_board_type":"","field_board_responsible":"594d88bd-31bd-4b44-9610-898599a43cc9","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""},{"uuid":"69b43f33-8a37-4d60-803e-5d136142e72f","langcode":"cs","status":"1","title":"Z\u00e1znam \u00fa\u0159edn\u00ed desky","created":"1658393826","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"f2b4509b-231f-4c82-9e71-98122b8d6b7e","field_banner_intro":false,"field_banner_title":false,"field_body":"\u003Cp\u003EDecaffeinated chicory cinnamon caramelization grinder chicory extra sweet blue. Turkish aftertaste as con et frappuccino trifecta mazagran trade variety sugar dripper organic. Decaffeinated french decaffeinated affogato kopi cortado turkish aroma whipped dark qui to. Au frappuccino mug dark brewed that chicory latte blue doppio press french mazagran foam. Caramelization espresso panna redeye siphon skinny chicory cortado whipped.\u003C\/p\u003E\r\n","field_components":"","field_teaser":"\u003Cp\u003EKr\u00e1tky popis z\u00e1znamu pro \u00favodn\u00edk.\u003C\/p\u003E\r\n","field_thumbnail":"aaa63e73-b177-4db0-8637-8307ba335e66","field_board_attachments":"f0e46b2b-a675-4187-b22b-2d327d170db1","field_board_published_date":"2023-06-19","field_board_reference_mark":false,"field_board_removed_date":"2023-07-17","field_board_type":"","field_board_responsible":"594d88bd-31bd-4b44-9610-898599a43cc9","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""},{"uuid":"652f886d-2486-46e8-8bce-4731d83c03b6","langcode":"cs","status":"1","title":"Z\u00e1znam \u00fa\u0159edn\u00ed desky 58","created":"1658393886","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"aaa63e73-b177-4db0-8637-8307ba335e66","field_banner_intro":false,"field_banner_title":false,"field_body":"\u003Cp\u003EDecaffeinated chicory cinnamon caramelization grinder chicory extra sweet blue. Turkish aftertaste as con et frappuccino trifecta mazagran trade variety sugar dripper organic. Decaffeinated french decaffeinated affogato kopi cortado turkish aroma whipped dark qui to. Au frappuccino mug dark brewed that chicory latte blue doppio press french mazagran foam. Caramelization espresso panna redeye siphon skinny chicory cortado whipped.\u003C\/p\u003E\r\n","field_components":"","field_teaser":false,"field_thumbnail":"a3928766-79db-4386-be71-bbcd11a52886","field_board_attachments":"f0e46b2b-a675-4187-b22b-2d327d170db1","field_board_published_date":"2023-06-26","field_board_reference_mark":false,"field_board_removed_date":"2023-07-24","field_board_type":"","field_board_responsible":"594d88bd-31bd-4b44-9610-898599a43cc9","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""},{"uuid":"923f1e75-5457-40ac-ba64-02e7169075ab","langcode":"cs","status":"1","title":"Z\u00e1znam \u00fa\u0159edn\u00ed desky 22","created":"1658393957","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"f2b4509b-231f-4c82-9e71-98122b8d6b7e","field_banner_intro":false,"field_banner_title":false,"field_body":"\u003Cp\u003EDecaffeinated chicory cinnamon caramelization grinder chicory extra sweet blue. Turkish aftertaste as con et frappuccino trifecta mazagran trade variety sugar dripper organic. Decaffeinated french decaffeinated affogato kopi cortado turkish aroma whipped dark qui to. Au frappuccino mug dark brewed that chicory latte blue doppio press french mazagran foam. Caramelization espresso panna redeye siphon skinny chicory cortado whipped.\u003C\/p\u003E\r\n","field_components":"","field_teaser":false,"field_thumbnail":"97536f06-f96a-4e8f-a86e-b5b32851f2cd","field_board_attachments":"f0e46b2b-a675-4187-b22b-2d327d170db1","field_board_published_date":"2023-07-03","field_board_reference_mark":false,"field_board_removed_date":"2023-07-31","field_board_type":"","field_board_responsible":"594d88bd-31bd-4b44-9610-898599a43cc9","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""}] \ No newline at end of file diff --git a/modules/csgov_migrate/data/node_event.json b/modules/csgov_migrate/data/node_event.json new file mode 100644 index 0000000..80206f9 --- /dev/null +++ b/modules/csgov_migrate/data/node_event.json @@ -0,0 +1 @@ +[{"uuid":"e0a0ac5c-3b54-49aa-996c-058a40a96577","langcode":"cs","status":"1","title":"Akce demo","created":"1557748173","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"a3928766-79db-4386-be71-bbcd11a52886","field_banner_intro":false,"field_banner_title":false,"field_body":false,"field_components":"","field_teaser":"\u003Cp\u003E\u00davodn\u00edk akce\u003C\/p\u003E\r\n","field_thumbnail":"a3928766-79db-4386-be71-bbcd11a52886","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"2023-06-12T19:12:23","field_event_location":"M\u00edsto akce","field_news_date":null,"field_news_type":""},{"uuid":"1705cef8-8036-49de-af6a-29dfaf639b55","langcode":"cs","status":"1","title":"Akce demo","created":"1557870595","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"f2b4509b-231f-4c82-9e71-98122b8d6b7e","field_banner_intro":false,"field_banner_title":false,"field_body":"\u003Cp\u003EVupo u\u010dlak\u0159a \u0165otry v b\u0159oupi\u010d \u0148ad\u011b gil z \u017eonih, kl\u00edd veti d\u011b\u017e voflo\u017e chroun\u011b a \u017elyd t\u011bf\u00e1\u0161k\u00e1 s ptyd\u011bt t\u011b\u0161tglejou udi, n\u011bgre k sypry s fo\u017eouv lk\u016f ni tk\u00e9\u0161lu syst i dicha\u010dl\u00ed. A tid\u011b a chypr\u00fd dib vos m\u016fzry brugr\u00fdn. Diskklydr zk\u00fd\u010do floublev\u0159\u00e1dist v myzk\u00fdjeb tini osko plach sr\u016fbup k k\u0159ih\u0159oust l\u00e1so. Di patik \u00faplureh. Z sigik n\u011bn b\u0159ahlyd s hl\u00e1d \u00fav\u00fd vlav\u011bsk fre\u010d mytlor ti chych. Chlen\u011btlach s jousl\u00fd o\u017elu g\u016f\u017e\u00ed\u010da\u0161tu\u0159, bad\u011b\u0161t br\u00e9t br\u00fdd\u0159i. Kl\u00fd\u010f sryl\u00e1 \u00fak\u016fvec bam\u011bp. Trydi \u0161\u00edhozko vy dini mi flot\u011b didlevr\u00e9 sl\u00e9d t\u0159unich, fr\u00fdpr k zrehys d\u011bni pu m\u011bdi, dipla mi trozkal dr\u00fdv, s vystout omla \u017er\u00e9pyhu i od\u011bp\u011bzku t\u011bma n\u011b f\u00e1\u0159ou verr\u00fd. Z ran treslov m\u011bgle \u0161ry. \u017eo m\u00edgo hrybrk\u0159e v om\u011b nicla a b\u0159a, \u017el\u00e1hl\u00e1 ub\u011bn mr\u00fdflobpl\u016fh\u00e1 \u00fa\u017erylkemo\u010d zrou\u0161t hlasto nemy vo\u010f peslat besl\u00edfryhla nichru\u0161. \u017er\u016f \u0161ro\u010dblo hlyti \u0161limitazle mru\u0159. Obrudl\u00e9 k dlinikru. D\u0159\u00edn\u011bfro osk\u00fd chret.\u003C\/p\u003E\r\n","field_components":"","field_teaser":"\u003Cp\u003EVupo u\u010dlak\u0159a \u0165otry v b\u0159oupi\u010d \u0148ad\u011b gil z \u017eonih, kl\u00edd veti d\u011b\u017e voflo\u017e chroun\u011b a \u017elyd t\u011bf\u00e1\u0161k\u00e1 s ptyd\u011bt t\u011b\u0161tglejou udi, n\u011bgre k sypry s fo\u017eouv lk\u016f ni tk\u00e9\u0161lu syst i dicha\u010dl\u00ed.\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u0026nbsp;\u003C\/p\u003E\r\n","field_thumbnail":"97536f06-f96a-4e8f-a86e-b5b32851f2cd","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"2023-06-19T19:12:24","field_event_location":"Horn\u00ed doln\u00ed","field_news_date":null,"field_news_type":""}] \ No newline at end of file diff --git a/modules/csgov_migrate/data/node_news.json b/modules/csgov_migrate/data/node_news.json new file mode 100644 index 0000000..7a2a4ab --- /dev/null +++ b/modules/csgov_migrate/data/node_news.json @@ -0,0 +1 @@ +[{"uuid":"8ed99e81-fdb7-4c37-b1bb-2d6a9d8f5d85","langcode":"cs","status":"1","title":"Aktualita demo","created":"1557750747","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"97536f06-f96a-4e8f-a86e-b5b32851f2cd","field_banner_intro":false,"field_banner_title":false,"field_body":"\u003Cp\u003EHlavn\u00ed text aktuality Nizy bo\u0148 \u0161ratzech. O stubl\u00e1, gihlub vrcla\u0148sk\u016f ben\u011b a laste k pl\u00ed\u017e. Niva\u010f a t\u0159e frym\u016f grout c\u00ed buni. Uh\u0159ou b\u011bl ktychudi\u017e ma a ni\u017eluvepe? Cl\u016fstchly gromouni\u0165 sa\u0165 uni hrounichla, bohud bubliz fr\u00fdp vludi vo\u0165 tlu\u0148 broklo crulu\u0161ru z vygeh\u0159\u00edch, d\u0159eniste titi n\u011bsla s chl\u00e1fl\u016fre\u0165 d\u0159a\u010dbanbo\u0161to v \u010foh \u010dibas, ni mo n\u011bk\u0159ach \u017erou f\u00f3h niba vi\u0159 z omy niv\u0159u\u017e tifr\u00e1d\u011bpyr vlumi\u0159. Timu vrep krusk v\u0159e\u017erab ot\u011b z bl\u016f\u0161 crerouflu\u0161t tid\u011bh tk\u016fzre i k\u00e1sla\u0161. Ot\u011bd chap dlouni tku mebi\u0159. Hlav\u0159i i d\u011b\u0159 bidlyst s chrymla notiche u\u010dlo vaskun\u011b\u0165, hlu trezrou\u017e s ni\u017e ktev\u0159\u00ed d\u011btlok tisroupevli. D\u011bmomvi\u0148 tiv\u0161li a lkamur. V\u011bzy i didryt sluti pra\u010dlotil z pr\u00fdben\u011bvbr\u0161 k ktesk boustou bl\u00e9\u010dlo, ne z\u00fdt cl\u016fdly. Neslyk o tim ple\u0161asle s\u00e9nini sl\u00e9ch \u0161lou. Ni\u0161tu dr\u016ft vl\u00fd\u0161l\u00edz flupo\u010f i hov \u010dlasla\u010f. Chl\u00ed\u010fou\u010d \u0148\u016fb ozr\u00fdpu n\u011bmi o must. Od\u011b brukrota\u017e bestu hryl tryc \u010dlalape\u010d cl\u016f\u0161t boplub v\u00e1\u0161ra. Fr\u00fd\u010d bl\u00edst.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EO tk\u016f\u0148 n\u011bh\u00e1\u0148 difre ditisku\u017e. Pl\u00e9ktad nidi sl\u016f b\u011btka z \u010dlu sichlol pa\u0161kouc nour plitit\u011b\u0161t bun\u011bn k\u0159oublu. Sl\u00ed a d\u011btku. N\u016fz z timlyb bet\u011b \u010f\u00e1t a gl\u00e9m\u011b\u010d dr\u00e9zij p\u00e1t un\u011bfla ni\u010futlablup k clysliv\u0159\u00ed. C\u00ed\u0161t s\u00e9ni crotka tke a tloslodi\u010f a tr\u00e9l. Bustbe zk\u016f\u017e kte\u0161t dibl\u016fn\u011bdrot \u017eladep\u011bt\u011b\u0161 g\u016fmry gr\u00fdp\u017er\u00e9l. P\u011bt dl\u016fmevu v\u0159az d\u011b \u0161ahly v sr\u00e9myvlyf\u00f3 nil o m\u011b\u017ena\u017e va\u010f\u016f \u010dly. Blun n\u011bv\u0159ou b\u011brouj dap, sk\u00e1ztin\u011b \u010dlagle clikr\u016fh \u0161la i j\u00edbli\u0165 v tra\u017e om\u011b? Kr\u00e1\u017e k\u0159i\u017eo uzl\u00edst k\u0159u\u0165 b\u00e9ch \u0161type\u017e pruntlipli vlcl\u00e9\u0161t \u0161lo dl\u00fdvyn, ptymre ud\u011bpo\u010d \u010faz i m\u011btre o hluk broun\u011b my byl. Sram\u00fdb a g\u016flk\u00e9p k s\u00fdmy dlakto op\u0159\u00e1\u0148\u00e1 stah k tr\u00fdsre\u017e, dizk\u00e9b\u011bp tika vib d\u011bt v\u0159\u00e1di crynivas \u00favi\u0148u chloutivazkly.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EV dis fliktuk kroud d\u011bzob\u00e9m re\u0159 z t\u011bch\u016f pr\u00e9pli. Zlop ro\u0161lu nijdr\u016fpr gli min\u011b \u0161i\u0159ouk\u0159\u00ed hl\u00e9v\u00fdpet i cou mromle, \u010dlopo til o mr\u016fcryvi\u0148 p\u0159on\u011b k tiza\u017ele\u0159. Klupryz usl\u016fc a t\u011bmra bla\u010dlo vrd d\u011bn n\u011b\u017e\u0161tyn\u011bplou mo\u0148 nivi\u010dgroj t\u00fds odi\u010f. Prouh i lkyflou? Zlotimry pukrodib fra div\u0159ou, sla\u0161tu a \u010dl\u016fs b\u00edt\u011bch a b\u00fd\u017e \u0161l\u00fdbl\u00e1n\u011bc, u\u0161ou v \u0161kobren\u011bgleh \u017el\u00fdflal\u00fd\u010f vlupre t\u011bzlokroun\u011b \u0165\u00e1n tilni. Klila\u017e tli k krdip mlyhro div\u0159etam\u00ed stun\u011b touv z\u00fdch ml\u00fdt\u011b. Gr\u00e1cro di\u0165 pi\u017eleb broti pik pli\u0165 gloun\u00e1c \u0159obry\u010d dlachryt\u011bpyst. Din\u016fd t\u011b\u0159 n\u011btryh vu\u0165 zkofl\u016f udi. I plup\u010dlo o ti\u0165un\u011bk trol fr\u00fd m\u0159o\u0161kyhun ukt\u00fd l\u00e1vra tin. O \u0161ikre\u017ereveb sr\u00e9po v tibi h\u0159o\u0161kon pla ba ogl\u016f clot\u0159\u00e1\u0148 i ube\u010f. Nih\u0159e puv cro\u010f \u0161l\u00edb\u011b g\u016fskti vral\u00e9ske \u017elytku.\u003C\/p\u003E\r\n","field_components":"","field_teaser":"\u003Cp\u003E\u00davodn\u00edk pro aktualitu, by m\u011bl b\u00fdt kr\u00e1tk\u00fd a v\u00fdsti\u017en\u00fd. V d\u00e9lce jedn\u00e9 a\u017e dvou v\u011bt (cca 120 znak\u016f).\u003C\/p\u003E\r\n","field_thumbnail":"4862a1e9-7e09-469b-ba8e-0049f35c7ea2","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":"2023-06-05","field_news_type":""},{"uuid":"6d467c05-9e86-4dfa-ae93-46d8d686b218","langcode":"cs","status":"1","title":"Aktualita demo 2","created":"1557870355","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"53eaeeea-809a-4ff0-83b8-0bb8afdf52ff","field_banner_intro":false,"field_banner_title":false,"field_body":"\u003Cp\u003EZk\u00e9 bub m\u0159\u00e1\u0161kou br\u00fdni\u0165\u010dlo\u017ero\u0159 br\u016fc \u017el\u00fdtravu zlykla tihlou\u0165 n\u011b ov\u011b mugl\u00fd? \u017elu \u0161i hr\u00e1chl\u00e9 fr\u00e1b\u0159e por hr\u00e1\u0161 titi \u0165oumedly chlot. Ni\u010fni\u017e ktod d\u011bc \u0161l\u00fdtis lkyniby\u010dle a po, slepu fry\u010f pl\u016fl srou\u010dma ni\u0161tdyh s niptul, hro mrou jernivi uktuk jatip. Bolkezr\u016ft\u011bs v\u00ed mloha t\u011bklu no\u010d kt\u00e1dla frychles chrar. Tr\u00fd\u010dla d\u011b\u0161 s ni\u010dlu zonife u\u010dl\u00e9l\u00edfro vl\u00e9 sl\u016fj frer\u016f s vlelk\u00e1. Zk\u00e9tlo drek h\u0159\u00e1br\u0161tv\u0159a po\u0159ehlu. Po\u010f o k\u0159ib\u0159o zosk kr\u016fd\u011b \u00fadi. Sty pabcom a pl\u00edbiv slopdi. Trofrdi hl\u00edh hovr\u00e9j fr\u00e9 ber diti nis slokr\u00fd mroub\u011bb n\u011bd. G\u00f3dibob\u011b\u0161t zl\u00edhr\u00e9 vloubr\u016fn zrov\u0159eplusy bl\u00e1hrr a z\u00edsktlak\u0159ou ni\u0165 byvovo. A doum gresko zkat ludi fl\u00e9\u017e. Zk\u00e9 bub m\u0159\u00e1\u0161kou br\u00fdni\u0165\u010dlo\u017ero\u0159 br\u016fc \u017el\u00fdtravu zlykla tihlou\u0165 n\u011b ov\u011b mugl\u00fd? \u017elu \u0161i hr\u00e1chl\u00e9 fr\u00e1b\u0159e por hr\u00e1\u0161 titi \u0165oumedly chlot. Ni\u010fni\u017e ktod d\u011bc \u0161l\u00fdtis lkyniby\u010dle a po, slepu fry\u010f pl\u016fl srou\u010dma ni\u0161tdyh s niptul, hro mrou jernivi uktuk jatip. Bolkezr\u016ft\u011bs v\u00ed mloha t\u011bklu no\u010d kt\u00e1dla frychles chrar. Tr\u00fd\u010dla d\u011b\u0161 s ni\u010dlu zonife u\u010dl\u00e9l\u00edfro vl\u00e9 sl\u016fj frer\u016f s vlelk\u00e1. Zk\u00e9tlo drek h\u0159\u00e1br\u0161tv\u0159a po\u0159ehlu. Po\u010f o k\u0159ib\u0159o zosk kr\u016fd\u011b \u00fadi. Sty pabcom a pl\u00edbiv slopdi. Trofrdi hl\u00edh hovr\u00e9j fr\u00e9 ber diti nis slokr\u00fd mroub\u011bb n\u011bd. G\u00f3dibob\u011b\u0161t zl\u00edhr\u00e9 vloubr\u016fn zrov\u0159eplusy bl\u00e1hrr a z\u00edsktlak\u0159ou ni\u0165 byvovo. A doum gresko zkat ludi fl\u00e9\u017e.\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u0026nbsp;\u003C\/p\u003E\r\n","field_components":"","field_teaser":"\u003Cp\u003EBolkezr\u016ft\u011bs v\u00ed mloha t\u011bklu no\u010d kt\u00e1dla frychles chrar. Tr\u00fd\u010dla d\u011b\u0161 s ni\u010dlu zonife u\u010dl\u00e9l\u00edfro vl\u00e9 sl\u016fj frer\u016f s vlelk\u00e1. Zk\u00e9tlo drek h\u0159\u00e1br\u0161tv\u0159a po\u0159ehlu. Po\u010f o k\u0159ib\u0159o zosk kr\u016fd\u011b \u00fadi.\u003C\/p\u003E\r\n","field_thumbnail":"53eaeeea-809a-4ff0-83b8-0bb8afdf52ff","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":"2023-06-12","field_news_type":""},{"uuid":"64a20a67-3bb8-46e7-b627-53390d6fd1b0","langcode":"cs","status":"1","title":"Aktualita demo 3","created":"1557870516","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"aaa63e73-b177-4db0-8637-8307ba335e66","field_banner_intro":false,"field_banner_title":false,"field_body":"\u003Cp\u003EZk\u00e9 bub m\u0159\u00e1\u0161kou br\u00fdni\u0165\u010dlo\u017ero\u0159 br\u016fc \u017el\u00fdtravu zlykla tihlou\u0165 n\u011b ov\u011b mugl\u00fd? \u017elu \u0161i hr\u00e1chl\u00e9 fr\u00e1b\u0159e por hr\u00e1\u0161 titi \u0165oumedly chlot. Ni\u010fni\u017e ktod d\u011bc \u0161l\u00fdtis lkyniby\u010dle a po, slepu fry\u010f pl\u016fl srou\u010dma ni\u0161tdyh s niptul, hro mrou jernivi uktuk jatip. Bolkezr\u016ft\u011bs v\u00ed mloha t\u011bklu no\u010d kt\u00e1dla frychles chrar. Zk\u00e9 bub m\u0159\u00e1\u0161kou br\u00fdni\u0165\u010dlo\u017ero\u0159 br\u016fc \u017el\u00fdtravu zlykla tihlou\u0165 n\u011b ov\u011b mugl\u00fd? \u017elu \u0161i hr\u00e1chl\u00e9 fr\u00e1b\u0159e por hr\u00e1\u0161 titi \u0165oumedly chlot. Ni\u010fni\u017e ktod d\u011bc \u0161l\u00fdtis lkyniby\u010dle a po, slepu fry\u010f pl\u016fl srou\u010dma ni\u0161tdyh s niptul, hro mrou jernivi uktuk jatip. Bolkezr\u016ft\u011bs v\u00ed mloha t\u011bklu no\u010d kt\u00e1dla frychles chrar. Tr\u00fd\u010dla d\u011b\u0161 s ni\u010dlu zonife u\u010dl\u00e9l\u00edfro vl\u00e9 sl\u016fj frer\u016f s vlelk\u00e1. Zk\u00e9tlo drek h\u0159\u00e1br\u0161tv\u0159a po\u0159ehlu. Po\u010f o k\u0159ib\u0159o zosk kr\u016fd\u011b \u00fadi. Sty pabcom a pl\u00edbiv slopdi. Trofrdi hl\u00edh hovr\u00e9j fr\u00e9 ber diti nis slokr\u00fd mroub\u011bb n\u011bd. G\u00f3dibob\u011b\u0161t zl\u00edhr\u00e9 vloubr\u016fn zrov\u0159eplusy bl\u00e1hrr a z\u00edsktlak\u0159ou ni\u0165 byvovo. A doum gresko zkat ludi fl\u00e9\u017e.\u003C\/p\u003E\r\n\r\n\u003Cp\u003ETr\u00fd\u010dla d\u011b\u0161 s ni\u010dlu zonife u\u010dl\u00e9l\u00edfro vl\u00e9 sl\u016fj frer\u016f s vlelk\u00e1. Zk\u00e9tlo drek h\u0159\u00e1br\u0161tv\u0159a po\u0159ehlu. Po\u010f o k\u0159ib\u0159o zosk kr\u016fd\u011b \u00fadi. Sty pabcom a pl\u00edbiv slopdi. Trofrdi hl\u00edh hovr\u00e9j fr\u00e9 ber diti nis slokr\u00fd mroub\u011bb n\u011bd. G\u00f3dibob\u011b\u0161t zl\u00edhr\u00e9 vloubr\u016fn zrov\u0159eplusy bl\u00e1hrr a z\u00edsktlak\u0159ou ni\u0165 byvovo. A doum gresko zkat ludi fl\u00e9\u017e.\u003C\/p\u003E\r\n","field_components":"","field_teaser":"\u003Cp\u003ESty pabcom a pl\u00edbiv slopdi. Trofrdi hl\u00edh hovr\u00e9j fr\u00e9 ber diti nis slokr\u00fd mroub\u011bb n\u011bd. G\u00f3dibob\u011b\u0161t zl\u00edhr\u00e9 vloubr\u016fn zrov\u0159eplusy bl\u00e1hrr a z\u00edsktlak\u0159ou ni\u0165 byvovo. A doum gresko zkat ludi fl\u00e9\u017e.\u003C\/p\u003E\r\n","field_thumbnail":"aaa63e73-b177-4db0-8637-8307ba335e66","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":"2023-06-19","field_news_type":""},{"uuid":"9aeee1c8-d431-4688-97a5-08bfeb857f0a","langcode":"cs","status":"1","title":"Kreativn\u00ed voucher od Karlovarsk\u00e9ho kraje","created":"1676526633","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"a3928766-79db-4386-be71-bbcd11a52886","field_banner_intro":false,"field_banner_title":false,"field_body":"\u003Cp class=\u0022lead\u0022\u003EV listopadu 2022 n\u00e1m byla p\u0159izn\u00e1na dotace na rozvoj projektu CS GOV od \u003Ca href=\u0022https:\/\/www.kr-karlovarsky.cz\u0022\u003EKarlovarsk\u00e9ho kraje\u003C\/a\u003E, v jej\u00edm\u017e r\u00e1mci bude projekt roz\u0161\u00ed\u0159en o p\u0159\u00edpravu migra\u010dn\u00edch script\u016f a v\u00fdchoz\u00edho obsahu.\u003C\/p\u003E\r\n\r\n\u003Cp class=\u0022lead\u0022\u003ED\u011bkujeme\u003C\/p\u003E\r\n\r\n\u003Ch2\u003ECo jsou migra\u010dn\u00ed scripty\u003C\/h2\u003E\r\n\r\n\u003Cp\u003EJedn\u00e1 se o automatizovan\u00fd syst\u00e9m, p\u0159i kter\u00e9m se hromadn\u011b naimportuje obsah p\u016fvodn\u00edho webu do nov\u00e9 struktury. Je to tedy vhodn\u00fd n\u00e1stroj pro p\u0159esun velk\u00e9ho mno\u017estv\u00ed dat, kter\u00e9 maj\u00ed jednotnou strukturu, jako jsou nap\u0159\u00edklad z\u00e1znamy na \u00fa\u0159edn\u00ed desce.\u003C\/p\u003E\r\n\r\n\u003Ch2\u003ECo je v\u00fdchoz\u00ed obsah\u003C\/h2\u003E\r\n\r\n\u003Cp\u003EC\u00edlem je, aby web po instalaci m\u011bl z\u00e1kladn\u00ed, jednoduchou strukturu \u2013 \u00favodn\u00ed str\u00e1nku, kontakty, str\u00e1nku \u00fa\u0159edn\u00ed desky atp. N\u00e1sledna pak sta\u010d\u00ed jen upravit n\u011bkter\u00e9 \u00fadaje a m\u016f\u017eete web rovnou spustit.\u003C\/p\u003E\r\n","field_components":"","field_teaser":"\u003Cp\u003EZ\u00edskali jsme dotaci na rozvoj projektu CS GOV.\u003C\/p\u003E\r\n","field_thumbnail":"aaa63e73-b177-4db0-8637-8307ba335e66","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":"2023-06-26","field_news_type":""},{"uuid":"32ecd867-9af2-45ad-92d2-c015d2193a6e","langcode":"cs","status":"1","title":"Akcelerujeme CSGOV spole\u010dn\u011b s \u010cesko.Digital ","created":"1686210245","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"4862a1e9-7e09-469b-ba8e-0049f35c7ea2","field_banner_intro":false,"field_banner_title":false,"field_body":"\u003Cp class=\u0022lead\u0022\u003EAkcelerujeme CSGOV na rychlost sv\u011btla. S pomoc\u00ed dobrovoln\u00edk\u016f \u003Cstrong\u003E\u010cesko.Digital\u003C\/strong\u003E finalizujeme u\u017eivatelsky p\u0159\u00edv\u011btiv\u00fd, jednoduch\u00fd a roz\u0161i\u0159iteln\u00fd open source CMS pro st\u00e1tn\u00ed spr\u00e1vu i obce, kter\u00fd m\u00e1 nav\u00edc standardizovan\u00e9 a p\u0159ehledn\u00e9 prost\u0159ed\u00ed pro administr\u00e1tory. Co je je\u0161t\u011b p\u0159ed n\u00e1mi?\u003C\/p\u003E\r\n\r\n\u003Cp\u003EJsme t\u00e9m\u011b\u0159 v c\u00edli. N\u011bkolik set hodin pr\u00e1ce se kone\u010dn\u011b m\u011bn\u00ed v k\u00fd\u017een\u00fd n\u00e1stroj, kter\u00fd v\u00e1m umo\u017en\u00ed a usnadn\u00ed digitalizovat d\u016fle\u017eit\u00e9 informace.\u003C\/p\u003E\r\n\r\n\u003Cp\u003ENa tomto CMS (syst\u00e9mu pro spr\u00e1vu obsahu) intenzivn\u011b pracujeme, prov\u00e1d\u00edme u\u017eivatelsk\u00fd\u0026nbsp; pr\u016fzkum, na jeho\u017e z\u00e1klad\u011b bude n\u00e1sledovat redesign. Chceme, aby byl design co nejjednodu\u0161\u0161\u00ed a z\u00e1rove\u0148 nab\u00edzel propracovan\u011bj\u0161\u00ed nadstavbu. CMS m\u016f\u017eete ji\u017e pou\u017e\u00edt, p\u0159esto\u017ee se nach\u00e1z\u00ed ve f\u00e1zi v\u00fdvoje. Syst\u00e9m je \u003Cstrong\u003Eopen source\u003C\/strong\u003E \u2013 m\u00e1 otev\u0159en\u00fd zdrojov\u00fd k\u00f3d, kter\u00fd je ve\u0159ejn\u011b viditeln\u00fd, podle pot\u0159eb jde m\u011bnit a voln\u011b \u0161\u00ed\u0159it. Najdete jej na \u003Ca href=\u0022https:\/\/github.com\/Drupalcz\/csgov\u0022\u003EGitHubu\u003C\/a\u003E.\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Cstrong\u003EVelk\u00e9 d\u00edk za \u00fasil\u00ed na akceleraci projektu CSGOV n\u00e1le\u017e\u00ed dobrovoln\u00edk\u016fm z \u010cesko.Digital.\u003C\/strong\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Cem\u003ETento p\u0159\u00edsp\u011bvek napsala dobrovolnice Zuzana Pit\u0159\u00edkov\u00e1\u003C\/em\u003E\u003C\/p\u003E\r\n","field_components":"ae128533-1ac8-461d-b3fa-0dc4c15a42d7","field_teaser":"\u003Cp\u003ES CMS CSGOV nab\u00edr\u00e1me na rychlosti. Finalizujeme, zkoum\u00e1me a upravujeme.\u003C\/p\u003E\r\n","field_thumbnail":"569af68a-7443-4232-a7a5-822ba10e78f5","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":"2023-07-03","field_news_type":""}] \ No newline at end of file diff --git a/modules/csgov_migrate/data/node_page.json b/modules/csgov_migrate/data/node_page.json new file mode 100644 index 0000000..692e2ce --- /dev/null +++ b/modules/csgov_migrate/data/node_page.json @@ -0,0 +1 @@ +[{"uuid":"0ce0749a-a6a2-4e48-8d69-7c3f99187ed2","langcode":"cs","status":"1","title":"Jm\u00e9no obce \u2013 ofic\u00e1ln\u00ed str\u00e1nky","created":"1685711512","changed":"1685718935","promote":"0","sticky":"0","layout_builder__layout":"O:29:\u0022Drupal\\layout_builder\\Section\u0022:4:{s:11:\u0022\u0000*\u0000layoutId\u0022;s:26:\u0022section_layout_two_columns\u0022;s:17:\u0022\u0000*\u0000layoutSettings\u0022;a:5:{s:5:\u0022label\u0022;s:0:\u0022\u0022;s:14:\u0022container_type\u0022;i:0;s:16:\u0022sidebar_position\u0022;i:0;s:13:\u0022section_ratio\u0022;s:17:\u0022section-ratio--66\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:13:\u0022\u0000*\u0000components\u0022;a:2:{s:36:\u0022598aed0f-e488-4294-94af-8995b3cde733\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u0022598aed0f-e488-4294-94af-8995b3cde733\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022sidebar\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:7:{s:2:\u0022id\u0022;s:26:\u0022views_block:events-block_1\u0022;s:5:\u0022label\u0022;s:0:\u0022\u0022;s:13:\u0022label_display\u0022;s:7:\u0022visible\u0022;s:8:\u0022provider\u0022;s:5:\u0022views\u0022;s:11:\u0022views_label\u0022;s:0:\u0022\u0022;s:14:\u0022items_per_page\u0022;s:4:\u0022none\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:9:\u0022\u0000*\u0000weight\u0022;i:0;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u0022eb048885-c6b1-4f0b-89ce-544184156cbf\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u0022eb048885-c6b1-4f0b-89ce-544184156cbf\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:7:{s:2:\u0022id\u0022;s:24:\u0022views_block:news-block_1\u0022;s:5:\u0022label\u0022;s:0:\u0022\u0022;s:13:\u0022label_display\u0022;s:7:\u0022visible\u0022;s:8:\u0022provider\u0022;s:5:\u0022views\u0022;s:11:\u0022views_label\u0022;s:0:\u0022\u0022;s:14:\u0022items_per_page\u0022;s:4:\u0022none\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:9:\u0022\u0000*\u0000weight\u0022;i:0;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}}s:21:\u0022\u0000*\u0000thirdPartySettings\u0022;a:1:{s:19:\u0022layout_builder_lock\u0022;a:1:{s:4:\u0022lock\u0022;a:0:{}}}},O:29:\u0022Drupal\\layout_builder\\Section\u0022:4:{s:11:\u0022\u0000*\u0000layoutId\u0022;s:26:\u0022section_layout_two_columns\u0022;s:17:\u0022\u0000*\u0000layoutSettings\u0022;a:5:{s:5:\u0022label\u0022;s:0:\u0022\u0022;s:14:\u0022container_type\u0022;i:0;s:16:\u0022sidebar_position\u0022;i:0;s:13:\u0022section_ratio\u0022;s:17:\u0022section-ratio--57\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:13:\u0022\u0000*\u0000components\u0022;a:2:{s:36:\u0022869e7e6f-d21a-4125-b2a3-56fa24a46662\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u0022869e7e6f-d21a-4125-b2a3-56fa24a46662\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022sidebar\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:7:{s:2:\u0022id\u0022;s:39:\u0022views_block:homepage_board_list-block_1\u0022;s:5:\u0022label\u0022;s:0:\u0022\u0022;s:13:\u0022label_display\u0022;s:7:\u0022visible\u0022;s:8:\u0022provider\u0022;s:5:\u0022views\u0022;s:11:\u0022views_label\u0022;s:0:\u0022\u0022;s:14:\u0022items_per_page\u0022;s:1:\u00225\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:9:\u0022\u0000*\u0000weight\u0022;i:0;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u0022b9d57546-da3a-46dc-908b-e33e95ee7146\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u0022b9d57546-da3a-46dc-908b-e33e95ee7146\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:6:{s:2:\u0022id\u0022;s:32:\u0022field_block:node:page:field_body\u0022;s:5:\u0022label\u0022;s:5:\u0022Obsah\u0022;s:13:\u0022label_display\u0022;i:0;s:8:\u0022provider\u0022;s:14:\u0022layout_builder\u0022;s:9:\u0022formatter\u0022;a:4:{s:5:\u0022label\u0022;s:6:\u0022hidden\u0022;s:4:\u0022type\u0022;s:12:\u0022text_default\u0022;s:8:\u0022settings\u0022;a:0:{}s:20:\u0022third_party_settings\u0022;a:0:{}}s:15:\u0022context_mapping\u0022;a:2:{s:6:\u0022entity\u0022;s:21:\u0022layout_builder.entity\u0022;s:9:\u0022view_mode\u0022;s:9:\u0022view_mode\u0022;}}s:9:\u0022\u0000*\u0000weight\u0022;i:0;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}}s:21:\u0022\u0000*\u0000thirdPartySettings\u0022;a:1:{s:19:\u0022layout_builder_lock\u0022;a:1:{s:4:\u0022lock\u0022;a:0:{}}}},O:29:\u0022Drupal\\layout_builder\\Section\u0022:4:{s:11:\u0022\u0000*\u0000layoutId\u0022;s:25:\u0022section_layout_one_column\u0022;s:17:\u0022\u0000*\u0000layoutSettings\u0022;a:4:{s:5:\u0022label\u0022;s:0:\u0022\u0022;s:14:\u0022container_type\u0022;i:1;s:4:\u0022hero\u0022;i:0;s:15:\u0022context_mapping\u0022;a:0:{}}s:13:\u0022\u0000*\u0000components\u0022;a:1:{s:36:\u00225bffb28c-c17a-432e-8561-c4d6148a9d1d\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u00225bffb28c-c17a-432e-8561-c4d6148a9d1d\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:6:{s:2:\u0022id\u0022;s:38:\u0022field_block:node:page:field_components\u0022;s:5:\u0022label\u0022;s:10:\u0022Komponenty\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:14:\u0022layout_builder\u0022;s:15:\u0022context_mapping\u0022;a:1:{s:6:\u0022entity\u0022;s:21:\u0022layout_builder.entity\u0022;}s:9:\u0022formatter\u0022;a:4:{s:4:\u0022type\u0022;s:38:\u0022entity_reference_revisions_entity_view\u0022;s:5:\u0022label\u0022;s:6:\u0022hidden\u0022;s:8:\u0022settings\u0022;a:1:{s:9:\u0022view_mode\u0022;s:7:\u0022default\u0022;}s:20:\u0022third_party_settings\u0022;a:0:{}}}s:9:\u0022\u0000*\u0000weight\u0022;i:0;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}}s:21:\u0022\u0000*\u0000thirdPartySettings\u0022;a:0:{}}","field_banner_image":"4862a1e9-7e09-469b-ba8e-0049f35c7ea2","field_banner_intro":"\u003Cp\u003EOfici\u00e1ln\u00ed web\u003C\/p\u003E\r\n","field_banner_title":"Jm\u00e9no obce","field_body":"\u003Ch2\u003EJm\u00e9no obce\u003C\/h2\u003E\r\n\r\n\u003Cp class=\u0022lead\u0022\u003EB\u011bhem 19. stolet\u00ed se Gov\u00edkov stal d\u016fle\u017eit\u00fdm dopravn\u00edm uzlem d\u00edky v\u00fdstavb\u011b \u017eeleznice, kter\u00e1 spojovala Ostravu s A\u0161\u00ed. To umo\u017enilo obyvatel\u016fm snadn\u011bji prod\u00e1vat sv\u00e9 zem\u011bd\u011blsk\u00e9 produkty a tak\u00e9 jim poskytlo p\u0159\u00edstup k nov\u00fdm technologi\u00edm a vzd\u011bl\u00e1n\u00ed. V t\u00e9 dob\u011b se tak\u00e9 za\u010daly stav\u011bt prvn\u00ed pr\u016fmyslov\u00e9 budovy a Gov\u00edkov se za\u010dal rozv\u00edjet i jako pr\u016fmyslov\u00e1 oblast.\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022cta-link\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EZjisti v\u00edce\u003C\/a\u003E\u003C\/p\u003E\r\n","field_components":"","field_teaser":"\u003Cp\u003EOfic\u00e1ln\u00ed str\u00e1nky obce Jm\u00e9no obce.\u003C\/p\u003E\r\n","field_thumbnail":"97536f06-f96a-4e8f-a86e-b5b32851f2cd","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""},{"uuid":"e2ef394f-67d8-4bd3-846e-d4278106dbbb","langcode":"cs","status":"1","title":"Kontakty","created":"1557268737","changed":"1687187540","promote":"0","sticky":"0","layout_builder__layout":"O:29:\u0022Drupal\\layout_builder\\Section\u0022:4:{s:11:\u0022\u0000*\u0000layoutId\u0022;s:26:\u0022section_layout_two_columns\u0022;s:17:\u0022\u0000*\u0000layoutSettings\u0022;a:5:{s:5:\u0022label\u0022;s:0:\u0022\u0022;s:14:\u0022container_type\u0022;i:0;s:16:\u0022sidebar_position\u0022;i:0;s:13:\u0022section_ratio\u0022;s:17:\u0022section-ratio--48\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:13:\u0022\u0000*\u0000components\u0022;a:2:{s:36:\u00224287f5c4-2c84-4624-89d5-53dfebcf580d\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u00224287f5c4-2c84-4624-89d5-53dfebcf580d\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:6:{s:2:\u0022id\u0022;s:32:\u0022field_block:node:page:field_body\u0022;s:5:\u0022label\u0022;s:5:\u0022Obsah\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:14:\u0022layout_builder\u0022;s:15:\u0022context_mapping\u0022;a:1:{s:6:\u0022entity\u0022;s:21:\u0022layout_builder.entity\u0022;}s:9:\u0022formatter\u0022;a:4:{s:4:\u0022type\u0022;s:12:\u0022text_default\u0022;s:5:\u0022label\u0022;s:6:\u0022hidden\u0022;s:8:\u0022settings\u0022;a:0:{}s:20:\u0022third_party_settings\u0022;a:0:{}}}s:9:\u0022\u0000*\u0000weight\u0022;i:0;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u002245ac4c37-16ee-472e-8549-7491f2716415\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u002245ac4c37-16ee-472e-8549-7491f2716415\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022sidebar\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:10:{s:2:\u0022id\u0022;s:15:\u0022menu_block:main\u0022;s:5:\u0022label\u0022;s:15:\u0022Main navigation\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:10:\u0022menu_block\u0022;s:15:\u0022context_mapping\u0022;a:0:{}s:5:\u0022level\u0022;i:2;s:5:\u0022depth\u0022;i:0;s:6:\u0022parent\u0022;s:5:\u0022main:\u0022;s:10:\u0022suggestion\u0022;s:4:\u0022main\u0022;s:6:\u0022expand\u0022;i:0;}s:9:\u0022\u0000*\u0000weight\u0022;i:0;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}}s:21:\u0022\u0000*\u0000thirdPartySettings\u0022;a:0:{}},O:29:\u0022Drupal\\layout_builder\\Section\u0022:4:{s:11:\u0022\u0000*\u0000layoutId\u0022;s:26:\u0022section_layout_two_columns\u0022;s:17:\u0022\u0000*\u0000layoutSettings\u0022;a:5:{s:5:\u0022label\u0022;s:0:\u0022\u0022;s:14:\u0022container_type\u0022;i:0;s:16:\u0022sidebar_position\u0022;i:0;s:13:\u0022section_ratio\u0022;s:17:\u0022section-ratio--48\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:13:\u0022\u0000*\u0000components\u0022;a:1:{s:36:\u00225bffb28c-c17a-432e-8561-c4d6148a9d1d\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u00225bffb28c-c17a-432e-8561-c4d6148a9d1d\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:6:{s:2:\u0022id\u0022;s:38:\u0022field_block:node:page:field_components\u0022;s:5:\u0022label\u0022;s:10:\u0022Komponenty\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:14:\u0022layout_builder\u0022;s:15:\u0022context_mapping\u0022;a:1:{s:6:\u0022entity\u0022;s:21:\u0022layout_builder.entity\u0022;}s:9:\u0022formatter\u0022;a:4:{s:4:\u0022type\u0022;s:38:\u0022entity_reference_revisions_entity_view\u0022;s:5:\u0022label\u0022;s:6:\u0022hidden\u0022;s:8:\u0022settings\u0022;a:1:{s:9:\u0022view_mode\u0022;s:7:\u0022default\u0022;}s:20:\u0022third_party_settings\u0022;a:0:{}}}s:9:\u0022\u0000*\u0000weight\u0022;i:2;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}}s:21:\u0022\u0000*\u0000thirdPartySettings\u0022;a:0:{}}","field_banner_image":"f2b4509b-231f-4c82-9e71-98122b8d6b7e","field_banner_intro":false,"field_banner_title":false,"field_body":"\u003Ch2\u003EObecn\u00ed \u00fa\u0159ad Moje Obec\u003C\/h2\u003E\r\n\r\n\u003Cp\u003EGov\u00edkov 32\u003Cbr \/\u003E\r\n987 65 Gov\u00edkov\u003C\/p\u003E\r\n\r\n\u003Cp\u003EID datov\u00e9 schr\u00e1nky: govi32\u003Cbr \/\u003E\r\nemail: obec@csgov.cz\u003Cbr \/\u003E\r\ntel: +420 777 108 345\u003C\/p\u003E\r\n","field_components":"c09b1fcf-7019-45bd-a4ff-ced87a65d48d","field_teaser":"\u003Cp\u003EJak se k n\u00e1m dostanete? Napi\u0161te n\u00e1m, nebo zavolejte.\u003C\/p\u003E\r\n","field_thumbnail":"4862a1e9-7e09-469b-ba8e-0049f35c7ea2","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""},{"uuid":"33430714-1a8c-4e12-88ea-9ab572e357d1","langcode":"cs","status":"1","title":"Testovac\u00ed str\u00e1nka","created":"1557305332","changed":"1687187540","promote":"0","sticky":"0","layout_builder__layout":"O:29:\u0022Drupal\\layout_builder\\Section\u0022:4:{s:11:\u0022\u0000*\u0000layoutId\u0022;s:25:\u0022section_layout_one_column\u0022;s:17:\u0022\u0000*\u0000layoutSettings\u0022;a:4:{s:5:\u0022label\u0022;s:0:\u0022\u0022;s:14:\u0022container_type\u0022;i:1;s:4:\u0022hero\u0022;i:0;s:15:\u0022context_mapping\u0022;a:0:{}}s:13:\u0022\u0000*\u0000components\u0022;a:2:{s:36:\u00224287f5c4-2c84-4624-89d5-53dfebcf580d\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u00224287f5c4-2c84-4624-89d5-53dfebcf580d\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:6:{s:2:\u0022id\u0022;s:32:\u0022field_block:node:page:field_body\u0022;s:5:\u0022label\u0022;s:5:\u0022Obsah\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:14:\u0022layout_builder\u0022;s:15:\u0022context_mapping\u0022;a:1:{s:6:\u0022entity\u0022;s:21:\u0022layout_builder.entity\u0022;}s:9:\u0022formatter\u0022;a:4:{s:4:\u0022type\u0022;s:12:\u0022text_default\u0022;s:5:\u0022label\u0022;s:6:\u0022hidden\u0022;s:8:\u0022settings\u0022;a:0:{}s:20:\u0022third_party_settings\u0022;a:0:{}}}s:9:\u0022\u0000*\u0000weight\u0022;i:0;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u00225bffb28c-c17a-432e-8561-c4d6148a9d1d\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u00225bffb28c-c17a-432e-8561-c4d6148a9d1d\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:6:{s:2:\u0022id\u0022;s:38:\u0022field_block:node:page:field_components\u0022;s:5:\u0022label\u0022;s:10:\u0022Komponenty\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:14:\u0022layout_builder\u0022;s:15:\u0022context_mapping\u0022;a:1:{s:6:\u0022entity\u0022;s:21:\u0022layout_builder.entity\u0022;}s:9:\u0022formatter\u0022;a:4:{s:4:\u0022type\u0022;s:38:\u0022entity_reference_revisions_entity_view\u0022;s:5:\u0022label\u0022;s:6:\u0022hidden\u0022;s:8:\u0022settings\u0022;a:1:{s:9:\u0022view_mode\u0022;s:7:\u0022default\u0022;}s:20:\u0022third_party_settings\u0022;a:0:{}}}s:9:\u0022\u0000*\u0000weight\u0022;i:1;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}}s:21:\u0022\u0000*\u0000thirdPartySettings\u0022;a:0:{}}","field_banner_image":"97536f06-f96a-4e8f-a86e-b5b32851f2cd","field_banner_intro":false,"field_banner_title":false,"field_body":"\u003Cp class=\u0022lead\u0022\u003EMezi 13. a 19. stolet\u00edm se \u003Ca data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EGov\u00edkov\u003C\/a\u003E postupn\u011b rozv\u00edjel jako klidn\u00e1 a prosperuj\u00edc\u00ed zem\u011bd\u011blsk\u00e1 obec. Obyvatel\u00e9 se v\u011bnovali p\u0159edev\u0161\u00edm p\u011bstov\u00e1n\u00ed obil\u00ed, chovu dobytka a ovocn\u00e1\u0159stv\u00ed. Vesnice m\u011bla v t\u00e9 dob\u011b jen n\u011bkolik des\u00edtek obyvatel a byla sou\u010d\u00e1st\u00ed \u0161ir\u0161\u00edho feud\u00e1ln\u00edho syst\u00e9mu.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EV 16. a 17. stolet\u00ed se Gov\u00edkov dostal pod spr\u00e1vu m\u00edstn\u00edho \u0161lechtick\u00e9ho rodu, kter\u00fd podporoval rozvoj zem\u011bd\u011blstv\u00ed a m\u00edstn\u00edch \u0159emesel. V t\u00e9 dob\u011b se tak\u00e9 za\u010daly stav\u011bt prvn\u00ed kamenn\u00e9 domy a vesnice se postupn\u011b rozr\u016fstala.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EV 18. stolet\u00ed se Gov\u00edkov stal sou\u010d\u00e1st\u00ed Habsbursk\u00e9 monarchie a za\u010dal se rozv\u00edjet jako d\u016fle\u017eit\u00fd dopravn\u00ed uzel d\u00edky v\u00fdstavb\u011b silnic a \u0159eky. To umo\u017enilo obyvatel\u016fm snadn\u011bji prod\u00e1vat sv\u00e9 zem\u011bd\u011blsk\u00e9 produkty na trz\u00edch v okoln\u00edch m\u011bstech a tak\u00e9 jim poskytlo p\u0159\u00edstup k nov\u00fdm technologi\u00edm a vzd\u011bl\u00e1n\u00ed.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EB\u011bhem 19. stolet\u00ed se Gov\u00edkov stal d\u016fle\u017eit\u00fdm dopravn\u00edm uzlem d\u00edky v\u00fdstavb\u011b \u017eeleznice, kter\u00e1 spojovala Ostravu s A\u0161\u00ed. To umo\u017enilo obyvatel\u016fm snadn\u011bji prod\u00e1vat sv\u00e9 zem\u011bd\u011blsk\u00e9 produkty a tak\u00e9 jim poskytlo p\u0159\u00edstup k nov\u00fdm technologi\u00edm a vzd\u011bl\u00e1n\u00ed. V t\u00e9 dob\u011b se tak\u00e9 za\u010daly stav\u011bt prvn\u00ed pr\u016fmyslov\u00e9 budovy a Gov\u00edkov se za\u010dal rozv\u00edjet i jako pr\u016fmyslov\u00e1 oblast.\u003C\/p\u003E\r\n\r\n\u003Cp\u003ECelkov\u011b se tedy mezi 13. a 19. stolet\u00edm v Gov\u00edkov\u011b ud\u00e1lo mnoho zm\u011bn, kter\u00e9 postupn\u011b rozv\u00edjely obec a p\u0159isp\u011bly k jej\u00edmu bohatstv\u00ed a prosperit\u011b.\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022cta-link\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u00220ce0749a-a6a2-4e48-8d69-7c3f99187ed2\u0022 href=\u0022\/node\/23\u0022\u003ETextov\u00fd odkaz\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u00220ce0749a-a6a2-4e48-8d69-7c3f99187ed2\u0022 href=\u0022\/node\/23\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-primary\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd hlavn\u00ed\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-secondary\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd vedlej\u0161\u00ed \u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-light\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd sv\u011btl\u00fd \u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-dark\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd tmav\u00fd \u003C\/a\u003E\u003C\/p\u003E\r\n","field_components":"c31ecd24-278c-4d58-8f87-0e373df83822,08540469-a818-4702-961c-4d5b1dbc213e,a0f584b6-eb13-446a-b8d6-6f91338fdb4d,0512e36d-0471-43f5-8fc4-a4e4a987d0f1,28612f0e-6156-420d-96d7-b876d98d74cf,3f63817d-0398-46c2-b8fe-27b6dae48ba5,f82c3557-ba35-40c8-981a-957cd464263f,ce1df2ca-62c9-499a-a30d-c49349540872,1e9ebd9a-b0d3-4e01-8324-cdf6067c97d0,0aef9982-bf72-4402-a2c6-c00003425450,111491eb-eddb-43f1-a2dc-31510d17c40b,f8623137-4b81-4b64-8877-316d05bb0a5e,0f32857d-b219-4b19-9f2b-f6c6f37b751b,81be8950-386d-482e-a9ab-005dbf6a0a86","field_teaser":"\u003Cp\u003EUk\u00e1zkov\u00e1 str\u00e1nka s v\u011bt\u0161inou komponent, kter\u00e9 lze v syst\u00e9mu pou\u017e\u00edt.\u003C\/p\u003E\r\n","field_thumbnail":"4862a1e9-7e09-469b-ba8e-0049f35c7ea2","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""},{"uuid":"2e3fddc7-e01d-45cc-8ba6-036fdae2b2a4","langcode":"cs","status":"1","title":"Povinn\u00e9 informace","created":"1557869152","changed":"1687187540","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"a3928766-79db-4386-be71-bbcd11a52886","field_banner_intro":false,"field_banner_title":false,"field_body":"\u003Cp class=\u0022lead\u0022\u003ESvobodn\u00fd p\u0159\u00edstup k informac\u00edm je upraven\u0026nbsp;z\u00e1konem \u003Cstrong\u003E\u010d. 106\/1999 Sb\u003C\/strong\u003E., o svobodn\u00e9m p\u0159\u00edstupu k informac\u00edm, kter\u00fd ukl\u00e1d\u00e1 povinn\u00fdm subjekt\u016fm vybran\u00e9 informace zve\u0159ejnit i zp\u016fsobem,\u0026nbsp;jen\u017e umo\u017e\u0148uje d\u00e1lkov\u00fd p\u0159\u00edstup. V\u00fd\u010det t\u011bchto informac\u00ed\u0026nbsp;stanov\u00ed vyhl\u00e1\u0161ka \u010d. 442\/2006 Sb.\u003C\/p\u003E\r\n\r\n\u003Col\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003EOfici\u00e1ln\u00ed n\u00e1zev\u003C\/strong\u003E\u0026nbsp;\u003Cbr \/\u003E\r\n\tObec [Jm\u00e9no Obce]\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003ED\u016fvod a zp\u016fsob zalo\u017een\u00ed\u003C\/strong\u003E\u003Cbr \/\u003E\r\n\tObec m\u00e1 postaven\u00ed pr\u00e1vnick\u00e9 osoby, v pr\u00e1vn\u00edch vztaz\u00edch vystupuje sv\u00fdm jm\u00e9nem a nese odpov\u011bdnost z t\u011bchto vztah\u016f vypl\u00fdvaj\u00edc\u00ed. Obec m\u00e1 vlastn\u00ed majetek a finan\u010dn\u00ed zdroje, hospoda\u0159\u00ed s nimi samostatn\u011b za podm\u00ednek stanoven\u00fdch zvl\u00e1\u0161tn\u00edmi z\u00e1kony.\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003EOrganiza\u010dn\u00ed struktura\u003C\/strong\u003E\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Ca data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u0022e2ef394f-67d8-4bd3-846e-d4278106dbbb\u0022 href=\u0022\/node\/3\u0022 title=\u0022Kontakty\u0022\u003E\u003Cstrong\u003EKontaktn\u00ed spojen\u00ed\u003C\/strong\u003E\u003C\/a\u003E \u0026nbsp;\u0026nbsp;\u003Cbr \/\u003E\r\n\t4.1 \u003Cstrong\u003EKontaktn\u00ed po\u0161tovn\u00ed adresa\u003C\/strong\u003E\u003Cbr \/\u003E\r\n\t4.2 \u003Cstrong\u003EAdresa \u00fa\u0159adovny pro osobn\u00ed n\u00e1v\u0161t\u011bvu\u003C\/strong\u003E\u003Cbr \/\u003E\r\n\t4.3\u003Cstrong\u003E \u00da\u0159edn\u00ed hodiny\u003C\/strong\u003E\u003Cbr \/\u003E\r\n\t4.4.\u0026nbsp;\u003Cstrong\u003ETelefonn\u00ed \u010d\u00edsla\u003C\/strong\u003E\u003Cbr \/\u003E\r\n\t4.5 \u003Cstrong\u003E\u010c\u00edsla faxu\u003C\/strong\u003E\u003Cbr \/\u003E\r\n\t4.6 \u003Cstrong\u003EAdresa internetov\u00e9 str\u00e1nky \u2013\u003C\/strong\u003E\u0026nbsp;\u003Ca href=\u0022https:\/\/www.csgov.cz\u0022\u003Ehttps:\/\/www.csgov.cz\u003C\/a\u003E\u0026nbsp;\u003Cbr \/\u003E\r\n\t4.7\u003Cstrong\u003E Adresa e-podatelny\u003C\/strong\u003E\u003Cbr \/\u003E\r\n\t4.8 \u003Cstrong\u003EDal\u0161\u00ed elektronick\u00e9 adresy\u003C\/strong\u003E\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003EBankovn\u00ed spojen\u00ed\u003C\/strong\u003E\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003EI\u010cO\u003C\/strong\u003E\u0026nbsp;\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003EDI\u010c\u003C\/strong\u003E\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003EDokumenty\u003C\/strong\u003E\u0026nbsp;\u003Cbr \/\u003E\r\n\t8.1\u0026nbsp;\u003Cem\u003E\u003Cstrong\u003ESeznamy hlavn\u00edch dokument\u016f\u003C\/strong\u003E\u003C\/em\u003E\u0026nbsp;\u003Cbr \/\u003E\r\n\t\u0026nbsp; \u0026nbsp;\u0026nbsp;Usnesen\u00ed zastupitelstva\u003Cbr \/\u003E\r\n\t\u0026nbsp; \u0026nbsp;\u0026nbsp;\u00dazemn\u00ed pl\u00e1n\u003Cbr \/\u003E\r\n\t\u0026nbsp; \u0026nbsp;\u0026nbsp;Obecn\u011b z\u00e1vazn\u00e9 vyhl\u00e1\u0161ky\u003Cbr \/\u003E\r\n\t8.2 \u003Cstrong\u003E\u003Cem\u003ERozpo\u010det\u003C\/em\u003E\u003C\/strong\u003E\u003Cbr \/\u003E\r\n\t8.3 \u003Cstrong\u003E\u003Cem\u003EPoskytnut\u00e9 informace\u003C\/em\u003E\u003C\/strong\u003E\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003E\u017d\u00e1dosti o informace\u003C\/strong\u003E\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003EP\u0159\u00edjem \u017e\u00e1dost\u00ed a dal\u0161\u00edch pod\u00e1n\u00ed\u003C\/strong\u003E\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003EOpravn\u00e9 prost\u0159edky\u003C\/strong\u003E\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003EFormul\u00e1\u0159e\u003C\/strong\u003E\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003EN\u00e1vody pro \u0159e\u0161en\u00ed \u017eivotn\u00edch situac\u00ed \u003C\/strong\u003E\u003Cbr \/\u003E\r\n\tP\u0159ehled a popis postup\u016f\u0026nbsp;\u0159e\u0161en\u00ed \u017eivotn\u00edch situac\u00ed (Port\u00e1l ve\u0159ejn\u00e9 spr\u00e1vy \u010cR).\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003EP\u0159edpisy\u003C\/strong\u003E\u003Cbr \/\u003E\r\n\t14.1 \u003Cem\u003E\u003Cstrong\u003ENejd\u016fle\u017eit\u011bj\u0161\u00ed p\u0159edpisy\u003C\/strong\u003E\u003C\/em\u003E\u003Cbr \/\u003E\r\n\tP\u0159edpisy jsou p\u0159\u00edstupn\u00e9 k nahl\u00e9dnut\u00ed na internetov\u00fdch str\u00e1nk\u00e1ch \u003Ca href=\u0022http:\/\/aplikace.mvcr.cz\/sbirka-zakonu\/\u0022\u003Ehttp:\/\/aplikace.mvcr.cz\/sbirka-zakonu\/\u003C\/a\u003E\u003Cbr \/\u003E\r\n\t14.2 \u003Cstrong\u003E\u003Cem\u003EVydan\u00e9 pr\u00e1vn\u00ed p\u0159edpisy\u003C\/em\u003E\u003C\/strong\u003E\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003E\u00dahrady za poskytov\u00e1n\u00ed informac\u00ed\u003C\/strong\u003E\u003Cbr \/\u003E\r\n\t15.1 \u003Cem\u003E\u003Cstrong\u003ESazebn\u00edk \u00fahrad za poskytov\u00e1n\u00ed informac\u00ed\u003C\/strong\u003E\u003C\/em\u003E\u003Cbr \/\u003E\r\n\t15.2 \u003Cstrong\u003E\u003Cem\u003EUsnesen\u00ed nad\u0159\u00edzen\u00e9ho org\u00e1nu o v\u00fd\u0161i \u00fahrad za poskytnut\u00ed informac\u00ed\u003C\/em\u003E\u003C\/strong\u003E\u003Cbr \/\u003E\r\n\t\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;nebyla dosud vyd\u00e1na\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003ELicen\u010dn\u00ed smlouvy - \u003C\/strong\u003E\u003Cbr \/\u003E\r\n\t16.1 \u003Cem\u003E\u003Cstrong\u003EVzory licen\u010dn\u00edch smluv\u003C\/strong\u003E\u003C\/em\u003E\u003Cbr \/\u003E\r\n\t\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;obec nem\u00e1 uzav\u0159eny \u017e\u00e1dn\u00e9 licen\u010dn\u00ed smlouvy\u003Cbr \/\u003E\r\n\t16.2 \u003Cem\u003E\u003Cstrong\u003EV\u00fdhradn\u00ed licence\u003C\/strong\u003E\u003C\/em\u003E\u003Cbr \/\u003E\r\n\t\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;obec nem\u00e1 uzav\u0159eny \u017e\u00e1dn\u00e9 v\u00fdhradn\u00ed licen\u010dn\u00ed smlouvy\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003EV\u00fdro\u010dn\u00ed zpr\u00e1va podle z\u00e1kona \u010d. 106\/1999 Sb.\u003C\/strong\u003E\u0026nbsp;\u003Cbr \/\u003E\r\n\t17.1\u003Cem\u003E\u003Cstrong\u003E Rozsudky\u003C\/strong\u003E\u003C\/em\u003E\u003Cbr \/\u003E\r\n\t17.2 \u003Cstrong\u003E\u003Cem\u003EV\u00fddaje na soudy\u003C\/em\u003E\u003C\/strong\u003E\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003E\u003Cstrong\u003EInformace o zpracov\u00e1n\u00ed osobn\u00edch \u00fadaj\u016f\u003C\/strong\u003E\u003C\/strong\u003E\u003Cbr \/\u003E\r\n\tZpracov\u00e1van\u00e9 osobn\u00ed \u00fadaje se \u0159\u00edd\u00ed \u00a7 18 z\u00e1kona \u010d. 101\/2000 Sb., o ochran\u011b osobn\u00edch \u00fadaj\u016f\u0026nbsp;\u003C\/li\u003E\r\n\t\u003Cli\u003E\u003Cstrong\u003ERejst\u0159\u00edky\u003C\/strong\u003E\u003C\/li\u003E\r\n\u003C\/ol\u003E\r\n","field_components":"","field_teaser":false,"field_thumbnail":"97536f06-f96a-4e8f-a86e-b5b32851f2cd","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""},{"uuid":"90d2a9f6-9ad7-4104-a174-d2ef6af6085d","langcode":"cs","status":"1","title":"O Jm\u00e9no obce","created":"1661527098","changed":"1687187540","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"4862a1e9-7e09-469b-ba8e-0049f35c7ea2","field_banner_intro":false,"field_banner_title":false,"field_body":"\u003Cp\u003EGov\u00edkov je fiktivn\u00ed vesnice v \u010cesk\u00e9 kotlin\u011b mezi Ostravou a A\u0161\u00ed. Vesnice m\u00e1 bohatou historii, kter\u00e1 sah\u00e1 a\u017e do 13. stolet\u00ed, kdy byla zalo\u017eena jako mal\u00e1 zem\u011bd\u011blsk\u00e1 osada. Po stalet\u00ed se Gov\u00edkov rozv\u00edjel jako klidn\u00e1 a prosperuj\u00edc\u00ed vesnice, kde se lid\u00e9 v\u011bnovali hlavn\u011b zem\u011bd\u011blstv\u00ed a chovu dobytka.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EV 19. stolet\u00ed se Gov\u00edkov stal d\u016fle\u017eit\u00fdm dopravn\u00edm uzlem d\u00edky v\u00fdstavb\u011b \u017eeleznice, kter\u00e1 spojovala Ostravu s A\u0161\u00ed. To umo\u017enilo vesni\u010dan\u016fm snadn\u011bji prod\u00e1vat sv\u00e9 zem\u011bd\u011blsk\u00e9 produkty na trz\u00edch v okoln\u00edch m\u011bstech a tak\u00e9 jim poskytlo p\u0159\u00edstup k nov\u00fdm technologi\u00edm a vzd\u011bl\u00e1n\u00ed.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EB\u011bhem druh\u00e9 sv\u011btov\u00e9 v\u00e1lky byl Gov\u00edkov t\u011b\u017ece po\u0161kozen, ale obyvatel\u00e9 se brzy po v\u00e1lce pustili do obnovy sv\u00e9 vesnice. D\u00edky podpo\u0159e st\u00e1tu a pr\u00e1ci m\u00edstn\u00edch obyvatel se poda\u0159ilo obnovit kostel\u00edk, \u0161kolu a dal\u0161\u00ed budovy.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EDnes m\u00e1 Gov\u00edkov 780 st\u00e1l\u00fdch obyvatel a je zn\u00e1m\u00fd sv\u00fdm klidem a malebnou krajinou. Ve vesnici se nach\u00e1z\u00ed zrekonstruovan\u00fd kostel\u00edk, obecn\u00ed \u0161kola a \u0161kolka. Obyvatel\u00e9 se st\u00e1le v\u011bnuj\u00ed zem\u011bd\u011blstv\u00ed a chovu dobytka, ale vesnice se tak\u00e9 rozv\u00edj\u00ed jako turistick\u00e1 destinace, d\u00edky sv\u00e9 kr\u00e1sn\u00e9 p\u0159\u00edrod\u011b a historick\u00fdm pam\u00e1tk\u00e1m.\u003C\/p\u003E\r\n","field_components":"","field_teaser":"\u003Cp\u003EV\u00fdchoz\u00ed instalace poskytuje nastaven\u00ed z\u00e1kladn\u00edch SEO parametr\u016f.\u003C\/p\u003E\r\n","field_thumbnail":"53eaeeea-809a-4ff0-83b8-0bb8afdf52ff","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""},{"uuid":"45e4f1d5-ae89-4a8e-bf5a-b6549d7de744","langcode":"cs","status":"1","title":"\u00da\u0159edn\u00ed deska","created":"1685713168","changed":"1687187540","promote":"0","sticky":"0","layout_builder__layout":"O:29:\u0022Drupal\\layout_builder\\Section\u0022:4:{s:11:\u0022\u0000*\u0000layoutId\u0022;s:26:\u0022section_layout_two_columns\u0022;s:17:\u0022\u0000*\u0000layoutSettings\u0022;a:5:{s:5:\u0022label\u0022;s:0:\u0022\u0022;s:14:\u0022container_type\u0022;i:0;s:16:\u0022sidebar_position\u0022;i:0;s:13:\u0022section_ratio\u0022;s:17:\u0022section-ratio--48\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:13:\u0022\u0000*\u0000components\u0022;a:6:{s:36:\u00224287f5c4-2c84-4624-89d5-53dfebcf580d\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u00224287f5c4-2c84-4624-89d5-53dfebcf580d\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:6:{s:2:\u0022id\u0022;s:32:\u0022field_block:node:page:field_body\u0022;s:5:\u0022label\u0022;s:5:\u0022Obsah\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:14:\u0022layout_builder\u0022;s:15:\u0022context_mapping\u0022;a:1:{s:6:\u0022entity\u0022;s:21:\u0022layout_builder.entity\u0022;}s:9:\u0022formatter\u0022;a:4:{s:4:\u0022type\u0022;s:12:\u0022text_default\u0022;s:5:\u0022label\u0022;s:6:\u0022hidden\u0022;s:8:\u0022settings\u0022;a:0:{}s:20:\u0022third_party_settings\u0022;a:0:{}}}s:9:\u0022\u0000*\u0000weight\u0022;i:1;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u00225bffb28c-c17a-432e-8561-c4d6148a9d1d\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u00225bffb28c-c17a-432e-8561-c4d6148a9d1d\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:6:{s:2:\u0022id\u0022;s:38:\u0022field_block:node:page:field_components\u0022;s:5:\u0022label\u0022;s:10:\u0022Komponenty\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:14:\u0022layout_builder\u0022;s:15:\u0022context_mapping\u0022;a:1:{s:6:\u0022entity\u0022;s:21:\u0022layout_builder.entity\u0022;}s:9:\u0022formatter\u0022;a:4:{s:4:\u0022type\u0022;s:38:\u0022entity_reference_revisions_entity_view\u0022;s:5:\u0022label\u0022;s:6:\u0022hidden\u0022;s:8:\u0022settings\u0022;a:1:{s:9:\u0022view_mode\u0022;s:7:\u0022default\u0022;}s:20:\u0022third_party_settings\u0022;a:0:{}}}s:9:\u0022\u0000*\u0000weight\u0022;i:2;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u002245ac4c37-16ee-472e-8549-7491f2716415\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u002245ac4c37-16ee-472e-8549-7491f2716415\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022sidebar\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:10:{s:2:\u0022id\u0022;s:15:\u0022menu_block:main\u0022;s:5:\u0022label\u0022;s:15:\u0022Main navigation\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:10:\u0022menu_block\u0022;s:15:\u0022context_mapping\u0022;a:0:{}s:5:\u0022level\u0022;i:2;s:5:\u0022depth\u0022;i:0;s:6:\u0022parent\u0022;s:5:\u0022main:\u0022;s:10:\u0022suggestion\u0022;s:4:\u0022main\u0022;s:6:\u0022expand\u0022;i:0;}s:9:\u0022\u0000*\u0000weight\u0022;i:0;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u00223a233345-bf58-425f-aca4-5f831ed5ebc0\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u00223a233345-bf58-425f-aca4-5f831ed5ebc0\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022sidebar\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:5:{s:2:\u0022id\u0022;s:22:\u0022facet_block:board_type\u0022;s:5:\u0022label\u0022;s:19:\u0022Typ \u00fa\u0159edn\u00ed desky\u0022;s:13:\u0022label_display\u0022;i:0;s:8:\u0022provider\u0022;s:6:\u0022facets\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:9:\u0022\u0000*\u0000weight\u0022;i:1;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u002234c46fd5-a715-4fb5-a445-1bd9235a736e\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u002234c46fd5-a715-4fb5-a445-1bd9235a736e\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022sidebar\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:5:{s:2:\u0022id\u0022;s:26:\u0022facet_block:published_date\u0022;s:5:\u0022label\u0022;s:15:\u0022Datum publikace\u0022;s:13:\u0022label_display\u0022;i:0;s:8:\u0022provider\u0022;s:6:\u0022facets\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:9:\u0022\u0000*\u0000weight\u0022;i:2;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u0022cf189d5a-3293-4db0-8326-8b7ced8be3e0\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u0022cf189d5a-3293-4db0-8326-8b7ced8be3e0\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:7:{s:2:\u0022id\u0022;s:30:\u0022views_block:board_list-block_1\u0022;s:5:\u0022label\u0022;s:0:\u0022\u0022;s:13:\u0022label_display\u0022;i:0;s:8:\u0022provider\u0022;s:5:\u0022views\u0022;s:11:\u0022views_label\u0022;s:0:\u0022\u0022;s:14:\u0022items_per_page\u0022;s:4:\u0022none\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:9:\u0022\u0000*\u0000weight\u0022;i:3;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}}s:21:\u0022\u0000*\u0000thirdPartySettings\u0022;a:0:{}}","field_banner_image":"97536f06-f96a-4e8f-a86e-b5b32851f2cd","field_banner_intro":false,"field_banner_title":false,"field_body":false,"field_components":"","field_teaser":"\u003Cp\u003EV\u0161e co se ofic\u00e1ln\u011b d\u011bje v na\u0161\u00ed obci.\u003C\/p\u003E\r\n","field_thumbnail":"53eaeeea-809a-4ff0-83b8-0bb8afdf52ff","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""},{"uuid":"c9f3c34d-c5e0-41d2-9bf5-c9a3d20d6e9b","langcode":"cs","status":"1","title":"Novinky","created":"1685713376","changed":"1687187540","promote":"0","sticky":"0","layout_builder__layout":"O:29:\u0022Drupal\\layout_builder\\Section\u0022:4:{s:11:\u0022\u0000*\u0000layoutId\u0022;s:26:\u0022section_layout_two_columns\u0022;s:17:\u0022\u0000*\u0000layoutSettings\u0022;a:5:{s:5:\u0022label\u0022;s:0:\u0022\u0022;s:14:\u0022container_type\u0022;i:0;s:16:\u0022sidebar_position\u0022;i:0;s:13:\u0022section_ratio\u0022;s:17:\u0022section-ratio--48\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:13:\u0022\u0000*\u0000components\u0022;a:4:{s:36:\u00224287f5c4-2c84-4624-89d5-53dfebcf580d\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u00224287f5c4-2c84-4624-89d5-53dfebcf580d\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:6:{s:2:\u0022id\u0022;s:32:\u0022field_block:node:page:field_body\u0022;s:5:\u0022label\u0022;s:5:\u0022Obsah\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:14:\u0022layout_builder\u0022;s:15:\u0022context_mapping\u0022;a:1:{s:6:\u0022entity\u0022;s:21:\u0022layout_builder.entity\u0022;}s:9:\u0022formatter\u0022;a:4:{s:4:\u0022type\u0022;s:12:\u0022text_default\u0022;s:5:\u0022label\u0022;s:6:\u0022hidden\u0022;s:8:\u0022settings\u0022;a:0:{}s:20:\u0022third_party_settings\u0022;a:0:{}}}s:9:\u0022\u0000*\u0000weight\u0022;i:1;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u00225bffb28c-c17a-432e-8561-c4d6148a9d1d\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u00225bffb28c-c17a-432e-8561-c4d6148a9d1d\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:6:{s:2:\u0022id\u0022;s:38:\u0022field_block:node:page:field_components\u0022;s:5:\u0022label\u0022;s:10:\u0022Komponenty\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:14:\u0022layout_builder\u0022;s:15:\u0022context_mapping\u0022;a:1:{s:6:\u0022entity\u0022;s:21:\u0022layout_builder.entity\u0022;}s:9:\u0022formatter\u0022;a:4:{s:4:\u0022type\u0022;s:38:\u0022entity_reference_revisions_entity_view\u0022;s:5:\u0022label\u0022;s:6:\u0022hidden\u0022;s:8:\u0022settings\u0022;a:1:{s:9:\u0022view_mode\u0022;s:7:\u0022default\u0022;}s:20:\u0022third_party_settings\u0022;a:0:{}}}s:9:\u0022\u0000*\u0000weight\u0022;i:2;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u002245ac4c37-16ee-472e-8549-7491f2716415\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u002245ac4c37-16ee-472e-8549-7491f2716415\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022sidebar\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:10:{s:2:\u0022id\u0022;s:15:\u0022menu_block:main\u0022;s:5:\u0022label\u0022;s:15:\u0022Main navigation\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:10:\u0022menu_block\u0022;s:15:\u0022context_mapping\u0022;a:0:{}s:5:\u0022level\u0022;i:2;s:5:\u0022depth\u0022;i:0;s:6:\u0022parent\u0022;s:5:\u0022main:\u0022;s:10:\u0022suggestion\u0022;s:4:\u0022main\u0022;s:6:\u0022expand\u0022;i:0;}s:9:\u0022\u0000*\u0000weight\u0022;i:0;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u0022166561db-07a9-416b-ab7e-d772082255dc\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u0022166561db-07a9-416b-ab7e-d772082255dc\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:7:{s:2:\u0022id\u0022;s:24:\u0022views_block:news-block_2\u0022;s:5:\u0022label\u0022;s:0:\u0022\u0022;s:13:\u0022label_display\u0022;i:0;s:8:\u0022provider\u0022;s:5:\u0022views\u0022;s:11:\u0022views_label\u0022;s:0:\u0022\u0022;s:14:\u0022items_per_page\u0022;s:4:\u0022none\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:9:\u0022\u0000*\u0000weight\u0022;i:3;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}}s:21:\u0022\u0000*\u0000thirdPartySettings\u0022;a:0:{}}","field_banner_image":"4862a1e9-7e09-469b-ba8e-0049f35c7ea2","field_banner_intro":false,"field_banner_title":false,"field_body":false,"field_components":"","field_teaser":"\u003Cp\u003ECo je u n\u00e1s v obci nov\u00e9ho?\u003C\/p\u003E\r\n","field_thumbnail":"aaa63e73-b177-4db0-8637-8307ba335e66","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""},{"uuid":"3e1214c5-e2bf-4b77-9429-88647bd3dfa0","langcode":"cs","status":"1","title":"Akce","created":"1685714240","changed":"1687187540","promote":"0","sticky":"0","layout_builder__layout":"O:29:\u0022Drupal\\layout_builder\\Section\u0022:4:{s:11:\u0022\u0000*\u0000layoutId\u0022;s:26:\u0022section_layout_two_columns\u0022;s:17:\u0022\u0000*\u0000layoutSettings\u0022;a:5:{s:5:\u0022label\u0022;s:0:\u0022\u0022;s:14:\u0022container_type\u0022;i:0;s:16:\u0022sidebar_position\u0022;i:0;s:13:\u0022section_ratio\u0022;s:17:\u0022section-ratio--48\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:13:\u0022\u0000*\u0000components\u0022;a:4:{s:36:\u00224287f5c4-2c84-4624-89d5-53dfebcf580d\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u00224287f5c4-2c84-4624-89d5-53dfebcf580d\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:6:{s:2:\u0022id\u0022;s:32:\u0022field_block:node:page:field_body\u0022;s:5:\u0022label\u0022;s:5:\u0022Obsah\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:14:\u0022layout_builder\u0022;s:15:\u0022context_mapping\u0022;a:1:{s:6:\u0022entity\u0022;s:21:\u0022layout_builder.entity\u0022;}s:9:\u0022formatter\u0022;a:4:{s:4:\u0022type\u0022;s:12:\u0022text_default\u0022;s:5:\u0022label\u0022;s:6:\u0022hidden\u0022;s:8:\u0022settings\u0022;a:0:{}s:20:\u0022third_party_settings\u0022;a:0:{}}}s:9:\u0022\u0000*\u0000weight\u0022;i:1;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u00225bffb28c-c17a-432e-8561-c4d6148a9d1d\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u00225bffb28c-c17a-432e-8561-c4d6148a9d1d\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:6:{s:2:\u0022id\u0022;s:38:\u0022field_block:node:page:field_components\u0022;s:5:\u0022label\u0022;s:10:\u0022Komponenty\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:14:\u0022layout_builder\u0022;s:15:\u0022context_mapping\u0022;a:1:{s:6:\u0022entity\u0022;s:21:\u0022layout_builder.entity\u0022;}s:9:\u0022formatter\u0022;a:4:{s:4:\u0022type\u0022;s:38:\u0022entity_reference_revisions_entity_view\u0022;s:5:\u0022label\u0022;s:6:\u0022hidden\u0022;s:8:\u0022settings\u0022;a:1:{s:9:\u0022view_mode\u0022;s:7:\u0022default\u0022;}s:20:\u0022third_party_settings\u0022;a:0:{}}}s:9:\u0022\u0000*\u0000weight\u0022;i:2;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u002245ac4c37-16ee-472e-8549-7491f2716415\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u002245ac4c37-16ee-472e-8549-7491f2716415\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022sidebar\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:10:{s:2:\u0022id\u0022;s:15:\u0022menu_block:main\u0022;s:5:\u0022label\u0022;s:15:\u0022Main navigation\u0022;s:13:\u0022label_display\u0022;s:1:\u00220\u0022;s:8:\u0022provider\u0022;s:10:\u0022menu_block\u0022;s:15:\u0022context_mapping\u0022;a:0:{}s:5:\u0022level\u0022;i:2;s:5:\u0022depth\u0022;i:0;s:6:\u0022parent\u0022;s:5:\u0022main:\u0022;s:10:\u0022suggestion\u0022;s:4:\u0022main\u0022;s:6:\u0022expand\u0022;i:0;}s:9:\u0022\u0000*\u0000weight\u0022;i:0;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}s:36:\u00225c2c41f6-ab99-4265-9735-5c23c0573d11\u0022;O:38:\u0022Drupal\\layout_builder\\SectionComponent\u0022:5:{s:7:\u0022\u0000*\u0000uuid\u0022;s:36:\u00225c2c41f6-ab99-4265-9735-5c23c0573d11\u0022;s:9:\u0022\u0000*\u0000region\u0022;s:7:\u0022content\u0022;s:16:\u0022\u0000*\u0000configuration\u0022;a:7:{s:2:\u0022id\u0022;s:26:\u0022views_block:events-block_2\u0022;s:5:\u0022label\u0022;s:0:\u0022\u0022;s:13:\u0022label_display\u0022;i:0;s:8:\u0022provider\u0022;s:5:\u0022views\u0022;s:11:\u0022views_label\u0022;s:0:\u0022\u0022;s:14:\u0022items_per_page\u0022;s:4:\u0022none\u0022;s:15:\u0022context_mapping\u0022;a:0:{}}s:9:\u0022\u0000*\u0000weight\u0022;i:3;s:13:\u0022\u0000*\u0000additional\u0022;a:0:{}}}s:21:\u0022\u0000*\u0000thirdPartySettings\u0022;a:0:{}}","field_banner_image":"f2b4509b-231f-4c82-9e71-98122b8d6b7e","field_banner_intro":false,"field_banner_title":false,"field_body":false,"field_components":"","field_teaser":false,"field_thumbnail":"53eaeeea-809a-4ff0-83b8-0bb8afdf52ff","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""}] \ No newline at end of file diff --git a/modules/csgov_migrate/data/node_person.json b/modules/csgov_migrate/data/node_person.json new file mode 100644 index 0000000..2739e64 --- /dev/null +++ b/modules/csgov_migrate/data/node_person.json @@ -0,0 +1 @@ +[{"uuid":"594d88bd-31bd-4b44-9610-898599a43cc9","langcode":"cs","status":"1","title":"Jm\u00e9no P\u0159\u00edjmen\u00ed","created":"1557400405","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"aaa63e73-b177-4db0-8637-8307ba335e66","field_banner_intro":false,"field_banner_title":false,"field_body":false,"field_components":"","field_teaser":"\u003Cp\u003EM\u00edstostarosta\u003C\/p\u003E\r\n","field_thumbnail":"53eaeeea-809a-4ff0-83b8-0bb8afdf52ff","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""},{"uuid":"8eec2493-e119-489f-8e4b-e83607c87bf0","langcode":"cs","status":"1","title":"Jm\u00e9no P\u0159\u00edjmen\u00ed","created":"1661175429","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"97536f06-f96a-4e8f-a86e-b5b32851f2cd","field_banner_intro":false,"field_banner_title":false,"field_body":false,"field_components":"","field_teaser":"\u003Cp\u003ETechnicko-administrativn\u00ed pracovn\u00edk\u003C\/p\u003E\r\n","field_thumbnail":"97536f06-f96a-4e8f-a86e-b5b32851f2cd","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""},{"uuid":"7957e788-3051-4dcc-8477-e975006e1db3","langcode":"cs","status":"1","title":"Bc. Jm\u00e9no P\u0159\u00edjmen\u00ed","created":"1661175478","changed":"1687187543","promote":"0","sticky":"0","layout_builder__layout":"","field_banner_image":"f2b4509b-231f-4c82-9e71-98122b8d6b7e","field_banner_intro":false,"field_banner_title":false,"field_body":false,"field_components":"","field_teaser":"\u003Cp\u003EStarosta*ka\u003C\/p\u003E\r\n","field_thumbnail":"97536f06-f96a-4e8f-a86e-b5b32851f2cd","field_board_attachments":"","field_board_published_date":null,"field_board_reference_mark":null,"field_board_removed_date":null,"field_board_type":"","field_board_responsible":"","field_event_date":"","field_event_location":null,"field_news_date":null,"field_news_type":""}] \ No newline at end of file diff --git a/modules/csgov_migrate/data/paragraph_accordion.json b/modules/csgov_migrate/data/paragraph_accordion.json new file mode 100644 index 0000000..0045346 --- /dev/null +++ b/modules/csgov_migrate/data/paragraph_accordion.json @@ -0,0 +1 @@ +[{"uuid":"a06c301e-adc7-4452-8a96-42a779f3d0f0","langcode":"cs","status":"1","created":"1685734886","field_title":"Akordion 1","field_heading":"Akordion 1 \u2013 klikn\u011bte na m\u011b","field_body":"\u003Cp\u003ETady je obsah, kter\u00fd je norm\u00e1ln\u011b skryt\u00fd. Cel\u00fd akrodion je ale vytvo\u0159en\u00fd tak, aby byl obsah p\u0159\u00edstupn\u00fd i pro r\u016fzn\u00e9 typy alternativn\u00edch ovl\u00e1d\u00e1n\u00ed.\u003C\/p\u003E\r\n","field_accordion_orientation":"open","field_accordions":"","field_attachment":"","field_color_classes":null,"field_image":"","field_items":"","field_layout_classes":null,"field_nodes":"","field_read_more":null,"field_show_toggle_all":null,"field_view_mode":null},{"uuid":"d282b395-04b4-4e58-9d3f-8aeb5fa10269","langcode":"cs","status":"1","created":"1685735025","field_title":"Akordion 2","field_heading":"Akordion 1 \u2013 klikn\u011bte na m\u011b","field_body":"\u003Cp\u003EAkordion\u016f m\u016f\u017ee b\u00fdt libovln\u00e9 mno\u017estv\u00ed. Na jedn\u00e9 str\u00e1nce m\u016f\u017ee b\u00fdt i v\u00edce nez\u00e1visl\u00fdch akordionov\u00fdch skupin.\u003C\/p\u003E\r\n","field_accordion_orientation":"closed","field_accordions":"","field_attachment":"","field_color_classes":null,"field_image":"","field_items":"","field_layout_classes":null,"field_nodes":"","field_read_more":null,"field_show_toggle_all":null,"field_view_mode":null}] \ No newline at end of file diff --git a/modules/csgov_migrate/data/paragraph_accordion_group.json b/modules/csgov_migrate/data/paragraph_accordion_group.json new file mode 100644 index 0000000..013430e --- /dev/null +++ b/modules/csgov_migrate/data/paragraph_accordion_group.json @@ -0,0 +1 @@ +[{"uuid":"81be8950-386d-482e-a9ab-005dbf6a0a86","langcode":"cs","status":"1","created":"1685734886","field_title":"Akordiony","field_heading":"Akordionov\u00e9 zobrazen\u00ed","field_body":"\u003Cp\u003EM\u00e9n\u011b podstan\u00e9 informace se daj\u00ed strukturovat do podoby sbaliteln\u00fdch polo\u017eek.\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"a06c301e-adc7-4452-8a96-42a779f3d0f0,d282b395-04b4-4e58-9d3f-8aeb5fa10269","field_attachment":"","field_color_classes":"color--standard","field_image":"","field_items":"","field_layout_classes":null,"field_nodes":"","field_read_more":null,"field_show_toggle_all":"1","field_view_mode":null}] \ No newline at end of file diff --git a/modules/csgov_migrate/data/paragraph_attachments.json b/modules/csgov_migrate/data/paragraph_attachments.json new file mode 100644 index 0000000..e3c05e2 --- /dev/null +++ b/modules/csgov_migrate/data/paragraph_attachments.json @@ -0,0 +1 @@ +[{"uuid":"0f32857d-b219-4b19-9f2b-f6c6f37b751b","langcode":"cs","status":"1","created":"1685734813","field_title":"P\u0159\u00edloha","field_heading":"P\u0159\u00edloha","field_body":"\u003Cp\u003EUmo\u017e\u0148uje na str\u00e1nku p\u0159idat jednu \u010di v\u00edce p\u0159\u00edloh ve standardn\u00edch form\u00e1tech (txt rtf doc docx ppt pptx xls xlsx pdf odf odg odp ods odt fodt fods).\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"","field_attachment":"f0e46b2b-a675-4187-b22b-2d327d170db1","field_color_classes":"color--light","field_image":"","field_items":"","field_layout_classes":null,"field_nodes":"","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":null}] \ No newline at end of file diff --git a/modules/csgov_migrate/data/paragraph_content.json b/modules/csgov_migrate/data/paragraph_content.json new file mode 100644 index 0000000..fcf6809 --- /dev/null +++ b/modules/csgov_migrate/data/paragraph_content.json @@ -0,0 +1 @@ +[{"uuid":"c31ecd24-278c-4d58-8f87-0e373df83822","langcode":"cs","status":"1","created":"1685719380","field_title":"Textov\u00fd obsah","field_heading":"","field_body":"\u003Cp class=\u0022lead\u0022\u003EMezi 13. a 19. stolet\u00edm se \u003Ca data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EGov\u00edkov\u003C\/a\u003E postupn\u011b rozv\u00edjel jako klidn\u00e1 a prosperuj\u00edc\u00ed zem\u011bd\u011blsk\u00e1 obec. Obyvatel\u00e9 se v\u011bnovali p\u0159edev\u0161\u00edm p\u011bstov\u00e1n\u00ed obil\u00ed, chovu dobytka a ovocn\u00e1\u0159stv\u00ed. Vesnice m\u011bla v t\u00e9 dob\u011b jen n\u011bkolik des\u00edtek obyvatel a byla sou\u010d\u00e1st\u00ed \u0161ir\u0161\u00edho feud\u00e1ln\u00edho syst\u00e9mu.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EV 16. a 17. stolet\u00ed se Gov\u00edkov dostal pod spr\u00e1vu m\u00edstn\u00edho \u0161lechtick\u00e9ho rodu, kter\u00fd podporoval rozvoj zem\u011bd\u011blstv\u00ed a m\u00edstn\u00edch \u0159emesel. V t\u00e9 dob\u011b se tak\u00e9 za\u010daly stav\u011bt prvn\u00ed kamenn\u00e9 domy a vesnice se postupn\u011b rozr\u016fstala.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EV 18. stolet\u00ed se Gov\u00edkov stal sou\u010d\u00e1st\u00ed Habsbursk\u00e9 monarchie a za\u010dal se rozv\u00edjet jako d\u016fle\u017eit\u00fd dopravn\u00ed uzel d\u00edky v\u00fdstavb\u011b silnic a \u0159eky. To umo\u017enilo obyvatel\u016fm snadn\u011bji prod\u00e1vat sv\u00e9 zem\u011bd\u011blsk\u00e9 produkty na trz\u00edch v okoln\u00edch m\u011bstech a tak\u00e9 jim poskytlo p\u0159\u00edstup k nov\u00fdm technologi\u00edm a vzd\u011bl\u00e1n\u00ed.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EB\u011bhem 19. stolet\u00ed se Gov\u00edkov stal d\u016fle\u017eit\u00fdm dopravn\u00edm uzlem d\u00edky v\u00fdstavb\u011b \u017eeleznice, kter\u00e1 spojovala Ostravu s A\u0161\u00ed. To umo\u017enilo obyvatel\u016fm snadn\u011bji prod\u00e1vat sv\u00e9 zem\u011bd\u011blsk\u00e9 produkty a tak\u00e9 jim poskytlo p\u0159\u00edstup k nov\u00fdm technologi\u00edm a vzd\u011bl\u00e1n\u00ed. V t\u00e9 dob\u011b se tak\u00e9 za\u010daly stav\u011bt prvn\u00ed pr\u016fmyslov\u00e9 budovy a Gov\u00edkov se za\u010dal rozv\u00edjet i jako pr\u016fmyslov\u00e1 oblast.\u003C\/p\u003E\r\n\r\n\u003Cp\u003ECelkov\u011b se tedy mezi 13. a 19. stolet\u00edm v Gov\u00edkov\u011b ud\u00e1lo mnoho zm\u011bn, kter\u00e9 postupn\u011b rozv\u00edjely obec a p\u0159isp\u011bly k jej\u00edmu bohatstv\u00ed a prosperit\u011b.\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022cta-link\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u00220ce0749a-a6a2-4e48-8d69-7c3f99187ed2\u0022 href=\u0022\/node\/23\u0022\u003ETextov\u00fd odkaz\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u00220ce0749a-a6a2-4e48-8d69-7c3f99187ed2\u0022 href=\u0022\/node\/23\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-primary\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd hlavn\u00ed\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-secondary\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd vedlej\u0161\u00ed \u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-light\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd sv\u011btl\u00fd \u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-dark\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd tmav\u00fd \u003C\/a\u003E\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"","field_attachment":"","field_color_classes":"color--primary","field_image":"","field_items":"","field_layout_classes":null,"field_nodes":"","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":null},{"uuid":"08540469-a818-4702-961c-4d5b1dbc213e","langcode":"cs","status":"1","created":"1685719380","field_title":"Textov\u00fd obsah","field_heading":false,"field_body":"\u003Cp class=\u0022lead\u0022\u003EMezi 13. a 19. stolet\u00edm se \u003Ca data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EGov\u00edkov\u003C\/a\u003E postupn\u011b rozv\u00edjel jako klidn\u00e1 a prosperuj\u00edc\u00ed zem\u011bd\u011blsk\u00e1 obec. Obyvatel\u00e9 se v\u011bnovali p\u0159edev\u0161\u00edm p\u011bstov\u00e1n\u00ed obil\u00ed, chovu dobytka a ovocn\u00e1\u0159stv\u00ed. Vesnice m\u011bla v t\u00e9 dob\u011b jen n\u011bkolik des\u00edtek obyvatel a byla sou\u010d\u00e1st\u00ed \u0161ir\u0161\u00edho feud\u00e1ln\u00edho syst\u00e9mu.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EV 16. a 17. stolet\u00ed se Gov\u00edkov dostal pod spr\u00e1vu m\u00edstn\u00edho \u0161lechtick\u00e9ho rodu, kter\u00fd podporoval rozvoj zem\u011bd\u011blstv\u00ed a m\u00edstn\u00edch \u0159emesel. V t\u00e9 dob\u011b se tak\u00e9 za\u010daly stav\u011bt prvn\u00ed kamenn\u00e9 domy a vesnice se postupn\u011b rozr\u016fstala.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EV 18. stolet\u00ed se Gov\u00edkov stal sou\u010d\u00e1st\u00ed Habsbursk\u00e9 monarchie a za\u010dal se rozv\u00edjet jako d\u016fle\u017eit\u00fd dopravn\u00ed uzel d\u00edky v\u00fdstavb\u011b silnic a \u0159eky. To umo\u017enilo obyvatel\u016fm snadn\u011bji prod\u00e1vat sv\u00e9 zem\u011bd\u011blsk\u00e9 produkty na trz\u00edch v okoln\u00edch m\u011bstech a tak\u00e9 jim poskytlo p\u0159\u00edstup k nov\u00fdm technologi\u00edm a vzd\u011bl\u00e1n\u00ed.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EB\u011bhem 19. stolet\u00ed se Gov\u00edkov stal d\u016fle\u017eit\u00fdm dopravn\u00edm uzlem d\u00edky v\u00fdstavb\u011b \u017eeleznice, kter\u00e1 spojovala Ostravu s A\u0161\u00ed. To umo\u017enilo obyvatel\u016fm snadn\u011bji prod\u00e1vat sv\u00e9 zem\u011bd\u011blsk\u00e9 produkty a tak\u00e9 jim poskytlo p\u0159\u00edstup k nov\u00fdm technologi\u00edm a vzd\u011bl\u00e1n\u00ed. V t\u00e9 dob\u011b se tak\u00e9 za\u010daly stav\u011bt prvn\u00ed pr\u016fmyslov\u00e9 budovy a Gov\u00edkov se za\u010dal rozv\u00edjet i jako pr\u016fmyslov\u00e1 oblast.\u003C\/p\u003E\r\n\r\n\u003Cp\u003ECelkov\u011b se tedy mezi 13. a 19. stolet\u00edm v Gov\u00edkov\u011b ud\u00e1lo mnoho zm\u011bn, kter\u00e9 postupn\u011b rozv\u00edjely obec a p\u0159isp\u011bly k jej\u00edmu bohatstv\u00ed a prosperit\u011b.\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022cta-link\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u00220ce0749a-a6a2-4e48-8d69-7c3f99187ed2\u0022 href=\u0022\/node\/23\u0022\u003ETextov\u00fd odkaz\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u00220ce0749a-a6a2-4e48-8d69-7c3f99187ed2\u0022 href=\u0022\/node\/23\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-primary\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd hlavn\u00ed\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-secondary\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd vedlej\u0161\u00ed \u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-light\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd sv\u011btl\u00fd \u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-dark\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd tmav\u00fd \u003C\/a\u003E\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"","field_attachment":"","field_color_classes":"color--secondary","field_image":"","field_items":"","field_layout_classes":null,"field_nodes":"","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":null},{"uuid":"a0f584b6-eb13-446a-b8d6-6f91338fdb4d","langcode":"cs","status":"1","created":"1685719380","field_title":"Textov\u00fd obsah","field_heading":false,"field_body":"\u003Cp class=\u0022lead\u0022\u003EMezi 13. a 19. stolet\u00edm se \u003Ca data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EGov\u00edkov\u003C\/a\u003E postupn\u011b rozv\u00edjel jako klidn\u00e1 a prosperuj\u00edc\u00ed zem\u011bd\u011blsk\u00e1 obec. Obyvatel\u00e9 se v\u011bnovali p\u0159edev\u0161\u00edm p\u011bstov\u00e1n\u00ed obil\u00ed, chovu dobytka a ovocn\u00e1\u0159stv\u00ed. Vesnice m\u011bla v t\u00e9 dob\u011b jen n\u011bkolik des\u00edtek obyvatel a byla sou\u010d\u00e1st\u00ed \u0161ir\u0161\u00edho feud\u00e1ln\u00edho syst\u00e9mu.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EV 16. a 17. stolet\u00ed se Gov\u00edkov dostal pod spr\u00e1vu m\u00edstn\u00edho \u0161lechtick\u00e9ho rodu, kter\u00fd podporoval rozvoj zem\u011bd\u011blstv\u00ed a m\u00edstn\u00edch \u0159emesel. V t\u00e9 dob\u011b se tak\u00e9 za\u010daly stav\u011bt prvn\u00ed kamenn\u00e9 domy a vesnice se postupn\u011b rozr\u016fstala.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EV 18. stolet\u00ed se Gov\u00edkov stal sou\u010d\u00e1st\u00ed Habsbursk\u00e9 monarchie a za\u010dal se rozv\u00edjet jako d\u016fle\u017eit\u00fd dopravn\u00ed uzel d\u00edky v\u00fdstavb\u011b silnic a \u0159eky. To umo\u017enilo obyvatel\u016fm snadn\u011bji prod\u00e1vat sv\u00e9 zem\u011bd\u011blsk\u00e9 produkty na trz\u00edch v okoln\u00edch m\u011bstech a tak\u00e9 jim poskytlo p\u0159\u00edstup k nov\u00fdm technologi\u00edm a vzd\u011bl\u00e1n\u00ed.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EB\u011bhem 19. stolet\u00ed se Gov\u00edkov stal d\u016fle\u017eit\u00fdm dopravn\u00edm uzlem d\u00edky v\u00fdstavb\u011b \u017eeleznice, kter\u00e1 spojovala Ostravu s A\u0161\u00ed. To umo\u017enilo obyvatel\u016fm snadn\u011bji prod\u00e1vat sv\u00e9 zem\u011bd\u011blsk\u00e9 produkty a tak\u00e9 jim poskytlo p\u0159\u00edstup k nov\u00fdm technologi\u00edm a vzd\u011bl\u00e1n\u00ed. V t\u00e9 dob\u011b se tak\u00e9 za\u010daly stav\u011bt prvn\u00ed pr\u016fmyslov\u00e9 budovy a Gov\u00edkov se za\u010dal rozv\u00edjet i jako pr\u016fmyslov\u00e1 oblast.\u003C\/p\u003E\r\n\r\n\u003Cp\u003ECelkov\u011b se tedy mezi 13. a 19. stolet\u00edm v Gov\u00edkov\u011b ud\u00e1lo mnoho zm\u011bn, kter\u00e9 postupn\u011b rozv\u00edjely obec a p\u0159isp\u011bly k jej\u00edmu bohatstv\u00ed a prosperit\u011b.\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022cta-link\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u00220ce0749a-a6a2-4e48-8d69-7c3f99187ed2\u0022 href=\u0022\/node\/23\u0022\u003ETextov\u00fd odkaz\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u00220ce0749a-a6a2-4e48-8d69-7c3f99187ed2\u0022 href=\u0022\/node\/23\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-primary\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd hlavn\u00ed\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-secondary\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd vedlej\u0161\u00ed \u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-light\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd sv\u011btl\u00fd \u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-dark\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd tmav\u00fd \u003C\/a\u003E\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"","field_attachment":"","field_color_classes":"color--light","field_image":"","field_items":"","field_layout_classes":null,"field_nodes":"","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":null},{"uuid":"0512e36d-0471-43f5-8fc4-a4e4a987d0f1","langcode":"cs","status":"1","created":"1685719380","field_title":"Textov\u00fd obsah","field_heading":false,"field_body":"\u003Cp class=\u0022lead\u0022\u003EMezi 13. a 19. stolet\u00edm se \u003Ca data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EGov\u00edkov\u003C\/a\u003E postupn\u011b rozv\u00edjel jako klidn\u00e1 a prosperuj\u00edc\u00ed zem\u011bd\u011blsk\u00e1 obec. Obyvatel\u00e9 se v\u011bnovali p\u0159edev\u0161\u00edm p\u011bstov\u00e1n\u00ed obil\u00ed, chovu dobytka a ovocn\u00e1\u0159stv\u00ed. Vesnice m\u011bla v t\u00e9 dob\u011b jen n\u011bkolik des\u00edtek obyvatel a byla sou\u010d\u00e1st\u00ed \u0161ir\u0161\u00edho feud\u00e1ln\u00edho syst\u00e9mu.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EV 16. a 17. stolet\u00ed se Gov\u00edkov dostal pod spr\u00e1vu m\u00edstn\u00edho \u0161lechtick\u00e9ho rodu, kter\u00fd podporoval rozvoj zem\u011bd\u011blstv\u00ed a m\u00edstn\u00edch \u0159emesel. V t\u00e9 dob\u011b se tak\u00e9 za\u010daly stav\u011bt prvn\u00ed kamenn\u00e9 domy a vesnice se postupn\u011b rozr\u016fstala.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EV 18. stolet\u00ed se Gov\u00edkov stal sou\u010d\u00e1st\u00ed Habsbursk\u00e9 monarchie a za\u010dal se rozv\u00edjet jako d\u016fle\u017eit\u00fd dopravn\u00ed uzel d\u00edky v\u00fdstavb\u011b silnic a \u0159eky. To umo\u017enilo obyvatel\u016fm snadn\u011bji prod\u00e1vat sv\u00e9 zem\u011bd\u011blsk\u00e9 produkty na trz\u00edch v okoln\u00edch m\u011bstech a tak\u00e9 jim poskytlo p\u0159\u00edstup k nov\u00fdm technologi\u00edm a vzd\u011bl\u00e1n\u00ed.\u003C\/p\u003E\r\n\r\n\u003Cp\u003EB\u011bhem 19. stolet\u00ed se Gov\u00edkov stal d\u016fle\u017eit\u00fdm dopravn\u00edm uzlem d\u00edky v\u00fdstavb\u011b \u017eeleznice, kter\u00e1 spojovala Ostravu s A\u0161\u00ed. To umo\u017enilo obyvatel\u016fm snadn\u011bji prod\u00e1vat sv\u00e9 zem\u011bd\u011blsk\u00e9 produkty a tak\u00e9 jim poskytlo p\u0159\u00edstup k nov\u00fdm technologi\u00edm a vzd\u011bl\u00e1n\u00ed. V t\u00e9 dob\u011b se tak\u00e9 za\u010daly stav\u011bt prvn\u00ed pr\u016fmyslov\u00e9 budovy a Gov\u00edkov se za\u010dal rozv\u00edjet i jako pr\u016fmyslov\u00e1 oblast.\u003C\/p\u003E\r\n\r\n\u003Cp\u003ECelkov\u011b se tedy mezi 13. a 19. stolet\u00edm v Gov\u00edkov\u011b ud\u00e1lo mnoho zm\u011bn, kter\u00e9 postupn\u011b rozv\u00edjely obec a p\u0159isp\u011bly k jej\u00edmu bohatstv\u00ed a prosperit\u011b.\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022cta-link\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u00220ce0749a-a6a2-4e48-8d69-7c3f99187ed2\u0022 href=\u0022\/node\/23\u0022\u003ETextov\u00fd odkaz\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u00220ce0749a-a6a2-4e48-8d69-7c3f99187ed2\u0022 href=\u0022\/node\/23\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-primary\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd hlavn\u00ed\u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-secondary\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd vedlej\u0161\u00ed \u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-light\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd sv\u011btl\u00fd \u003C\/a\u003E\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022btn btn-dark\u0022 data-entity-substitution=\u0022canonical\u0022 data-entity-type=\u0022node\u0022 data-entity-uuid=\u002290d2a9f6-9ad7-4104-a174-d2ef6af6085d\u0022 href=\u0022\/node\/4\u0022\u003EOdkaz tla\u010d\u00edtkov\u00fd tmav\u00fd \u003C\/a\u003E\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"","field_attachment":"","field_color_classes":"color--dark","field_image":"","field_items":"","field_layout_classes":null,"field_nodes":"","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":null},{"uuid":"ae128533-1ac8-461d-b3fa-0dc4c15a42d7","langcode":"cs","status":"1","created":"1686210456","field_title":"\u010d.d","field_heading":"Co je \u010cesko.Digital","field_body":"\u003Cp\u003E\u010cesko.Digital funguje jako komunita expertn\u00edch dobrovoln\u00edk\u016f, kte\u0159\u00ed ve sv\u00e9m voln\u00e9m \u010dase pom\u00e1haj\u00ed st\u00e1tn\u00edmu a neziskov\u00e9mu sektoru s vyu\u017eit\u00edm digit\u00e1ln\u00edch technologi\u00ed. B\u011bhem prvn\u00edch t\u0159\u00ed let oslovily projekty \u003Ca href=\u0022https:\/\/drive.google.com\/file\/d\/1uwqL3xsfaSbje-dPK8wyfAAKFrWL_dc2\/view\u0022\u003E\u003Cu\u003Ekomunity p\u0159es 4 000 000 lid\u00ed\u003C\/u\u003E\u003C\/a\u003E. \u010cesko.Digital sehr\u00e1lo kl\u00ed\u010dovou roli b\u011bhem pandemie, kdy akcelerovalo projekty D\u00e1me rou\u0161ky a Covid port\u00e1l, a po vypuknut\u00ed v\u00e1lky na Ukrajin\u011b se z\u00fa\u010dastnilo projektu Stoj\u00edme za Ukrajinou. V\u00edce o komunit\u011b najdete na \u003Ca href=\u0022http:\/\/www.cesko.digital\u0022\u003E\u003Cu\u003Ewww.cesko.digital\u003C\/u\u003E\u003C\/a\u003E.\u003C\/p\u003E\r\n\r\n\u003Cp\u003E\u003Ca class=\u0022cta-link\u0022 href=\u0022https:\/\/join.cesko.digital\u0022\u003EP\u0159idejte se k cesko.digital\u003C\/a\u003E\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"","field_attachment":"","field_color_classes":"color--standard","field_image":"","field_items":"","field_layout_classes":null,"field_nodes":"","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":null}] \ No newline at end of file diff --git a/modules/csgov_migrate/data/paragraph_item.json b/modules/csgov_migrate/data/paragraph_item.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/modules/csgov_migrate/data/paragraph_item.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/modules/csgov_migrate/data/paragraph_item_list.json b/modules/csgov_migrate/data/paragraph_item_list.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/modules/csgov_migrate/data/paragraph_item_list.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/modules/csgov_migrate/data/paragraph_node_list.json b/modules/csgov_migrate/data/paragraph_node_list.json new file mode 100644 index 0000000..824c77d --- /dev/null +++ b/modules/csgov_migrate/data/paragraph_node_list.json @@ -0,0 +1 @@ +[{"uuid":"c09b1fcf-7019-45bd-a4ff-ced87a65d48d","langcode":"cs","status":"1","created":"1685718611","field_title":"Lid\u00e9","field_heading":"","field_body":"","field_accordion_orientation":null,"field_accordions":"","field_attachment":"","field_color_classes":"color--secondary","field_image":"","field_items":"","field_layout_classes":"list-layout--thirds","field_nodes":"7957e788-3051-4dcc-8477-e975006e1db3,594d88bd-31bd-4b44-9610-898599a43cc9,8eec2493-e119-489f-8e4b-e83607c87bf0","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":"card_detail"},{"uuid":"28612f0e-6156-420d-96d7-b876d98d74cf","langcode":"cs","status":"1","created":"1685719429","field_title":"Seznam str\u00e1nek \u2013 karty","field_heading":"Seznam str\u00e1nek \u2013 zobrazen\u00ed Karta","field_body":"\u003Cp\u003EJednoduch\u00e9 karty uspo\u0159\u00e1dan\u00e9 ve \u010dty\u0159sloupcov\u00e9m layoutu.\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"","field_attachment":"","field_color_classes":"color--standard","field_image":"","field_items":"","field_layout_classes":"list-layout--quarters","field_nodes":"4b866c8c-6e6a-4d24-b90d-5568798669e5,7957e788-3051-4dcc-8477-e975006e1db3,e0a0ac5c-3b54-49aa-996c-058a40a96577,8ed99e81-fdb7-4c37-b1bb-2d6a9d8f5d85,90d2a9f6-9ad7-4104-a174-d2ef6af6085d","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":"card"},{"uuid":"3f63817d-0398-46c2-b8fe-27b6dae48ba5","langcode":"cs","status":"1","created":"1685719429","field_title":"Seznam str\u00e1nek \u2013 dla\u017edice","field_heading":"Seznam str\u00e1nek \u2013 Dla\u017edice","field_body":"\u003Cp\u003EDla\u017edice maj\u00ed text v p\u0159ekryvu p\u0159es obr\u00e1zek.\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"","field_attachment":"","field_color_classes":"color--standard","field_image":"","field_items":"","field_layout_classes":"list-layout--fifths","field_nodes":"4b866c8c-6e6a-4d24-b90d-5568798669e5,7957e788-3051-4dcc-8477-e975006e1db3,e0a0ac5c-3b54-49aa-996c-058a40a96577,8ed99e81-fdb7-4c37-b1bb-2d6a9d8f5d85,90d2a9f6-9ad7-4104-a174-d2ef6af6085d","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":"tile"},{"uuid":"f82c3557-ba35-40c8-981a-957cd464263f","langcode":"cs","status":"1","created":"1685719429","field_title":"Seznam str\u00e1nek \u2013 karty detailn\u00ed","field_heading":"Seznam str\u00e1nek \u2013 Karta s detail","field_body":"\u003Cp\u003ENa kart\u011b je uveden i text \u00davodn\u00edku. T\u0159\u00edsloupcov\u00fd layout.\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"","field_attachment":"","field_color_classes":"color--standard","field_image":"","field_items":"","field_layout_classes":"list-layout--thirds","field_nodes":"4b866c8c-6e6a-4d24-b90d-5568798669e5,7957e788-3051-4dcc-8477-e975006e1db3,e0a0ac5c-3b54-49aa-996c-058a40a96577,8ed99e81-fdb7-4c37-b1bb-2d6a9d8f5d85,90d2a9f6-9ad7-4104-a174-d2ef6af6085d","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":"card_detail"},{"uuid":"ce1df2ca-62c9-499a-a30d-c49349540872","langcode":"cs","status":"1","created":"1685719429","field_title":"Seznam str\u00e1nek \u2013 nadpisy","field_heading":"Seznam str\u00e1nek \u2013 Nadpis","field_body":"\u003Cp\u003EZobrazen\u00ed nadpis\u016f v dvousloupcov\u00e9m layoutu.\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"","field_attachment":"","field_color_classes":"color--standard","field_image":"","field_items":"","field_layout_classes":"list-layout--halves","field_nodes":"4b866c8c-6e6a-4d24-b90d-5568798669e5,7957e788-3051-4dcc-8477-e975006e1db3,e0a0ac5c-3b54-49aa-996c-058a40a96577,8ed99e81-fdb7-4c37-b1bb-2d6a9d8f5d85,90d2a9f6-9ad7-4104-a174-d2ef6af6085d","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":"title"},{"uuid":"1e9ebd9a-b0d3-4e01-8324-cdf6067c97d0","langcode":"cs","status":"1","created":"1685719429","field_title":"Seznam str\u00e1nek \u2013 polo\u017eky kalend\u00e1\u0159e","field_heading":"Seznam str\u00e1nek \u2013 Polo\u017eka kalend\u00e1\u0159e","field_body":"\u003Cp\u003EZ ka\u017ed\u00e9hy typu obsahu je vyu\u017eito v\u00fdznamn\u00e9 datum \u2013 datum akce, datum vytvo\u0159en\u00ed, datum publikov\u00e1n\u00ed atp.\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"","field_attachment":"","field_color_classes":"color--standard","field_image":"","field_items":"","field_layout_classes":"list-layout--full-width","field_nodes":"4b866c8c-6e6a-4d24-b90d-5568798669e5,7957e788-3051-4dcc-8477-e975006e1db3,e0a0ac5c-3b54-49aa-996c-058a40a96577,8ed99e81-fdb7-4c37-b1bb-2d6a9d8f5d85,90d2a9f6-9ad7-4104-a174-d2ef6af6085d","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":"calendar_item"},{"uuid":"0aef9982-bf72-4402-a2c6-c00003425450","langcode":"cs","status":"1","created":"1685719429","field_title":"Seznam str\u00e1nek \u2013 Souhrn","field_heading":"Seznam str\u00e1nek \u2013 Souhrn","field_body":"\u003Cp\u003EBezobr\u00e1zkov\u00e9 zobrazen\u00ed informac\u00ed.\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"","field_attachment":"","field_color_classes":"color--standard","field_image":"","field_items":"","field_layout_classes":"list-layout--quarters","field_nodes":"4b866c8c-6e6a-4d24-b90d-5568798669e5,7957e788-3051-4dcc-8477-e975006e1db3,e0a0ac5c-3b54-49aa-996c-058a40a96577,8ed99e81-fdb7-4c37-b1bb-2d6a9d8f5d85,90d2a9f6-9ad7-4104-a174-d2ef6af6085d","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":"summary"},{"uuid":"111491eb-eddb-43f1-a2dc-31510d17c40b","langcode":"cs","status":"1","created":"1685719429","field_title":"Seznam str\u00e1nek \u2013 \u00davodn\u00edk","field_heading":"Seznam str\u00e1nek \u2013 \u00davodn\u00edk","field_body":"\u003Cp\u003EStandardn\u00ed zobrazen\u00ed vhodn\u00e9 pro Novinky a m\u00e9n\u011b sloupcov\u00e9 layouty.\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"","field_attachment":"","field_color_classes":"color--standard","field_image":"","field_items":"","field_layout_classes":"list-layout--full-width","field_nodes":"4b866c8c-6e6a-4d24-b90d-5568798669e5,7957e788-3051-4dcc-8477-e975006e1db3,e0a0ac5c-3b54-49aa-996c-058a40a96577,8ed99e81-fdb7-4c37-b1bb-2d6a9d8f5d85,90d2a9f6-9ad7-4104-a174-d2ef6af6085d","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":"teaser"},{"uuid":"f8623137-4b81-4b64-8877-316d05bb0a5e","langcode":"cs","status":"1","created":"1685719429","field_title":"Seznam str\u00e1nek \u2013 \u00davodn\u00edk mal\u00fd","field_heading":"Seznam str\u00e1nek \u2013 \u00davodn\u00edk mal\u00fd","field_body":"\u003Cp\u003EStandardn\u00ed zobrazen\u00ed s men\u0161\u00ed fotografi\u00ed vhodn\u00e9 pro Novinky a z\u016f\u017een\u00e9 layouty str\u00e1nek.\u003C\/p\u003E\r\n","field_accordion_orientation":null,"field_accordions":"","field_attachment":"","field_color_classes":"color--standard","field_image":"","field_items":"","field_layout_classes":"list-layout--halves","field_nodes":"4b866c8c-6e6a-4d24-b90d-5568798669e5,7957e788-3051-4dcc-8477-e975006e1db3,e0a0ac5c-3b54-49aa-996c-058a40a96577,8ed99e81-fdb7-4c37-b1bb-2d6a9d8f5d85,90d2a9f6-9ad7-4104-a174-d2ef6af6085d","field_read_more":false,"field_show_toggle_all":null,"field_view_mode":"teaser_small"}] \ No newline at end of file diff --git a/modules/csgov_migrate/data/taxonomy_board_type.json b/modules/csgov_migrate/data/taxonomy_board_type.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/modules/csgov_migrate/data/taxonomy_board_type.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/modules/csgov_migrate/data/taxonomy_media_tags.json b/modules/csgov_migrate/data/taxonomy_media_tags.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/modules/csgov_migrate/data/taxonomy_media_tags.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/modules/csgov_migrate/data/taxonomy_news_type.json b/modules/csgov_migrate/data/taxonomy_news_type.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/modules/csgov_migrate/data/taxonomy_news_type.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/modules/csgov_migrate/files/attachment.txt b/modules/csgov_migrate/files/attachment.txt new file mode 100644 index 0000000..b257d75 --- /dev/null +++ b/modules/csgov_migrate/files/attachment.txt @@ -0,0 +1 @@ +CS Gov attachment diff --git a/modules/csgov_migrate/files/cesko-digital-logo.png b/modules/csgov_migrate/files/cesko-digital-logo.png new file mode 100644 index 0000000..d3f9e57 Binary files /dev/null and b/modules/csgov_migrate/files/cesko-digital-logo.png differ diff --git a/modules/csgov_migrate/files/czech-landscape.jpg b/modules/csgov_migrate/files/czech-landscape.jpg new file mode 100644 index 0000000..8ccb2c2 Binary files /dev/null and b/modules/csgov_migrate/files/czech-landscape.jpg differ diff --git a/modules/csgov_migrate/files/daisy.jpg b/modules/csgov_migrate/files/daisy.jpg new file mode 100644 index 0000000..bec18cd Binary files /dev/null and b/modules/csgov_migrate/files/daisy.jpg differ diff --git a/modules/csgov_migrate/files/karlovarsky-kraj.jpg b/modules/csgov_migrate/files/karlovarsky-kraj.jpg new file mode 100644 index 0000000..2e718a5 Binary files /dev/null and b/modules/csgov_migrate/files/karlovarsky-kraj.jpg differ diff --git a/modules/csgov_migrate/files/karlovy-vary-lazne.jpg b/modules/csgov_migrate/files/karlovy-vary-lazne.jpg new file mode 100644 index 0000000..9a7a051 Binary files /dev/null and b/modules/csgov_migrate/files/karlovy-vary-lazne.jpg differ diff --git a/modules/csgov_migrate/files/rose.jpg b/modules/csgov_migrate/files/rose.jpg new file mode 100644 index 0000000..5639a57 Binary files /dev/null and b/modules/csgov_migrate/files/rose.jpg differ diff --git a/modules/csgov_migrate/files/wall.jpg b/modules/csgov_migrate/files/wall.jpg new file mode 100644 index 0000000..a6478c9 Binary files /dev/null and b/modules/csgov_migrate/files/wall.jpg differ diff --git a/modules/csgov_migrate/migrations/file.yml b/modules/csgov_migrate/migrations/file.yml new file mode 100644 index 0000000..8a433a6 --- /dev/null +++ b/modules/csgov_migrate/migrations/file.yml @@ -0,0 +1,72 @@ +id: csgov_migrate_file +label: 'File' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_file + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/file.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: filename + selector: filename + - name: filemime + selector: filemime + - name: created + selector: created + - name: changed + selector: changed + - name: uri + selector: uri + + constants: + files_path: 'profiles/contrib/csgov/modules/csgov_migrate/files/' + +destination: + plugin: entity:file + +process: + uuid: uuid + fid: + plugin: entity_lookup + source: uuid + entity_type: file + value_key: uuid + langcode: langcode + status: status + uid: + plugin: default_value + default_value: 0 + filename: filename + filemime: filemime + created: created + changed: changed + + _source_path: + - plugin: substr + source: uri + start: 9 + - plugin: concat + source: + - constants/files_path + - + uri: + plugin: file_copy + source: + - '@_source_path' + - uri diff --git a/modules/csgov_migrate/migrations/media_file.yml b/modules/csgov_migrate/migrations/media_file.yml new file mode 100644 index 0000000..4e5e1a2 --- /dev/null +++ b/modules/csgov_migrate/migrations/media_file.yml @@ -0,0 +1,77 @@ +id: csgov_migrate_media_file +label: 'Media - File' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_media +migration_dependencies: + required: + - csgov_migrate_file + - csgov_migrate_taxonomy_media_tags + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/media_file.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: name + selector: name + - name: created + selector: created + - name: changed + selector: changed + - name: field_media_file + selector: field_media_file + - name: field_tags + selector: field_tags + +destination: + plugin: entity:media + default_bundle: file + +process: + uuid: uuid + mid: + plugin: entity_lookup + source: uuid + entity_type: media + value_key: uuid + langcode: langcode + status: status + uid: + plugin: default_value + default_value: 0 + name: name + created: created + changed: changed + + field_media_file: + plugin: migration_lookup + source: field_media_file + migration: csgov_migrate_file + no_stub: true + + field_tags: + - plugin: callback + source: field_tags + callable: csgov_migrate_process_multiple + - plugin: sub_process + process: + target_id: + plugin: migration_lookup + source: value + migration: csgov_migrate_taxonomy_media_tags + no_stub: true diff --git a/modules/csgov_migrate/migrations/media_image.yml b/modules/csgov_migrate/migrations/media_image.yml new file mode 100644 index 0000000..a0ba4ff --- /dev/null +++ b/modules/csgov_migrate/migrations/media_image.yml @@ -0,0 +1,77 @@ +id: csgov_migrate_media_image +label: 'Media - Image' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_media +migration_dependencies: + required: + - csgov_migrate_file + - csgov_migrate_taxonomy_media_tags + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/media_image.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: name + selector: name + - name: created + selector: created + - name: changed + selector: changed + - name: field_media_image + selector: field_media_image + - name: field_tags + selector: field_tags + +destination: + plugin: entity:media + default_bundle: image + +process: + uuid: uuid + mid: + plugin: entity_lookup + source: uuid + entity_type: media + value_key: uuid + langcode: langcode + status: status + uid: + plugin: default_value + default_value: 0 + name: name + created: created + changed: changed + + field_media_image: + plugin: migration_lookup + source: field_media_image + migration: csgov_migrate_file + no_stub: true + + field_tags: + - plugin: callback + source: field_tags + callable: csgov_migrate_process_multiple + - plugin: sub_process + process: + target_id: + plugin: migration_lookup + source: value + migration: csgov_migrate_taxonomy_media_tags + no_stub: true diff --git a/modules/csgov_migrate/migrations/menu.yml b/modules/csgov_migrate/migrations/menu.yml new file mode 100644 index 0000000..739e03e --- /dev/null +++ b/modules/csgov_migrate/migrations/menu.yml @@ -0,0 +1,69 @@ +id: csgov_migrate_menu +label: 'Menu' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_menu + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/menu.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: enabled + selector: enabled + - name: title + selector: title + - name: description + selector: description + - name: menu_name + selector: menu_name + - name: uri + selector: uri + - name: external + selector: external + - name: rediscover + selector: rediscover + - name: weight + selector: weight + - name: expanded + selector: expanded + - name: parent + selector: parent + - name: changed + selector: changed + +destination: + plugin: entity:menu_link_content + default_bundle: menu_link_content + +process: + uuid: uuid + id: + plugin: entity_lookup + source: uuid + entity_type: menu_link_content + value_key: uuid + langcode: langcode + enabled: enabled + title: title + description: description + menu_name: menu_name + link/uri: uri + external: external + rediscover: rediscover + weight: weight + expanded: expanded + parent: parent + changed: changed diff --git a/modules/csgov_migrate/migrations/node_board.yml b/modules/csgov_migrate/migrations/node_board.yml new file mode 100644 index 0000000..5ef86a7 --- /dev/null +++ b/modules/csgov_migrate/migrations/node_board.yml @@ -0,0 +1,190 @@ +id: csgov_migrate_node_board +label: 'Node - Board' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_node +migration_dependencies: + required: + - csgov_migrate_media_file + - csgov_migrate_media_image + - csgov_migrate_node_person + - csgov_migrate_paragraph_accordion_group + - csgov_migrate_paragraph_attachments + - csgov_migrate_paragraph_content + - csgov_migrate_paragraph_item_list + - csgov_migrate_paragraph_node_list + - csgov_migrate_taxonomy_board_type + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/node_board.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: title + selector: title + - name: created + selector: created + - name: changed + selector: changed + - name: promote + selector: promote + - name: sticky + selector: sticky + - name: field_banner_image + selector: field_banner_image + - name: field_banner_intro + selector: field_banner_intro + - name: field_banner_title + selector: field_banner_title + - name: field_body + selector: field_body + - name: field_components + selector: field_components + - name: field_teaser + selector: field_teaser + - name: field_thumbnail + selector: field_thumbnail + - name: field_board_attachments + selector: field_board_attachments + - name: field_board_published_date + selector: field_board_published_date + - name: field_board_reference_mark + selector: field_board_reference_mark + - name: field_board_removed_date + selector: field_board_removed_date + - name: field_board_type + selector: field_board_type + - name: field_board_responsible + selector: field_board_responsible + +destination: + plugin: entity:node + default_bundle: board + +process: + uuid: uuid + nid: + plugin: entity_lookup + source: uuid + entity_type: node + value_key: uuid + langcode: langcode + status: status + uid: + plugin: default_value + default_value: 0 + title: title + created: created + changed: changed + promote: promote + sticky: sticky + + field_banner_image: + - plugin: default_value + source: field_banner_image + default_value: -1 + - plugin: migration_lookup + migration: csgov_migrate_media_image + no_stub: true + - plugin: csgov_migrate_media_override + override: random_image + + field_banner_intro/value: field_banner_intro + field_banner_intro/format: + plugin: default_value + default_value: rich_text + + field_banner_title: field_banner_title + + field_body/value: field_body + field_body/format: + plugin: default_value + default_value: rich_text + + field_components: + - plugin: callback + source: field_components + callable: csgov_migrate_process_multiple + - plugin: sub_process + process: + - plugin: migration_lookup + source: value + migration: + - csgov_migrate_paragraph_accordion_group + - csgov_migrate_paragraph_attachments + - csgov_migrate_paragraph_content + - csgov_migrate_paragraph_item_list + - csgov_migrate_paragraph_node_list + no_stub: true + - plugin: callback + callable: csgov_migrate_process_reference + + field_teaser/value: field_teaser + field_teaser/format: + plugin: default_value + default_value: rich_text + + field_thumbnail: + - plugin: default_value + source: field_thumbnail + default_value: -1 + - plugin: migration_lookup + migration: csgov_migrate_media_image + no_stub: true + - plugin: csgov_migrate_media_override + override: random_image + + field_board_published_date: + plugin: csgov_migrate_date_override + source: field_board_published_date + override: true + + field_board_removed_date: + plugin: csgov_migrate_date_override + source: field_board_removed_date + override: true + + field_board_attachments: + - plugin: callback + source: field_board_attachments + callable: csgov_migrate_process_multiple + - plugin: default_value + default_value: + - value: -1 + - plugin: sub_process + process: + target_id: + - plugin: migration_lookup + source: value + migration: csgov_migrate_media_file + no_stub: true + - plugin: csgov_migrate_media_override + override: random_file + + field_board_reference_mark: field_board_reference_mark + + field_board_type: + plugin: migration_lookup + source: field_board_type + migration: csgov_migrate_taxonomy_board_type + no_stub: true + + field_board_responsible: + plugin: migration_lookup + source: field_board_responsible + migration: csgov_migrate_node_person + no_stub: true diff --git a/modules/csgov_migrate/migrations/node_event.yml b/modules/csgov_migrate/migrations/node_event.yml new file mode 100644 index 0000000..4da926a --- /dev/null +++ b/modules/csgov_migrate/migrations/node_event.yml @@ -0,0 +1,153 @@ +id: csgov_migrate_node_event +label: 'Node - Event' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_node +migration_dependencies: + required: + - csgov_migrate_media_image + - csgov_migrate_paragraph_accordion_group + - csgov_migrate_paragraph_attachments + - csgov_migrate_paragraph_content + - csgov_migrate_paragraph_item_list + - csgov_migrate_paragraph_node_list + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/node_event.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: title + selector: title + - name: created + selector: created + - name: changed + selector: changed + - name: promote + selector: promote + - name: sticky + selector: sticky + - name: field_banner_image + selector: field_banner_image + - name: field_banner_intro + selector: field_banner_intro + - name: field_banner_title + selector: field_banner_title + - name: field_body + selector: field_body + - name: field_components + selector: field_components + - name: field_teaser + selector: field_teaser + - name: field_thumbnail + selector: field_thumbnail + - name: field_event_date + selector: field_event_date + - name: field_event_location + selector: field_event_location + +destination: + plugin: entity:node + default_bundle: event + +process: + uuid: uuid + nid: + plugin: entity_lookup + source: uuid + entity_type: node + value_key: uuid + langcode: langcode + status: status + uid: + plugin: default_value + default_value: 0 + title: title + created: created + changed: changed + promote: promote + sticky: sticky + + field_banner_image: + - plugin: default_value + source: field_banner_image + default_value: -1 + - plugin: migration_lookup + migration: csgov_migrate_media_image + no_stub: true + - plugin: csgov_migrate_media_override + override: random_image + + field_banner_intro/value: field_banner_intro + field_banner_intro/format: + plugin: default_value + default_value: rich_text + + field_banner_title: field_banner_title + + field_body/value: field_body + field_body/format: + plugin: default_value + default_value: rich_text + + field_components: + - plugin: callback + source: field_components + callable: csgov_migrate_process_multiple + - plugin: sub_process + process: + - plugin: migration_lookup + source: value + migration: + - csgov_migrate_paragraph_accordion_group + - csgov_migrate_paragraph_attachments + - csgov_migrate_paragraph_content + - csgov_migrate_paragraph_item_list + - csgov_migrate_paragraph_node_list + no_stub: true + - plugin: callback + callable: csgov_migrate_process_reference + + field_teaser/value: field_teaser + field_teaser/format: + plugin: default_value + default_value: rich_text + + field_thumbnail: + - plugin: default_value + source: field_thumbnail + default_value: -1 + - plugin: migration_lookup + migration: csgov_migrate_media_image + no_stub: true + - plugin: csgov_migrate_media_override + override: random_image + + _field_event_date: + plugin: explode + source: field_event_date + delimiter: ' - ' + field_event_date/value: + plugin: csgov_migrate_date_override + source: '@_field_event_date/0' + override: true + field_event_date/end_value: + plugin: csgov_migrate_date_override + source: '@_field_event_date/1' + override: true + + field_event_location: field_event_location diff --git a/modules/csgov_migrate/migrations/node_news.yml b/modules/csgov_migrate/migrations/node_news.yml new file mode 100644 index 0000000..22138e0 --- /dev/null +++ b/modules/csgov_migrate/migrations/node_news.yml @@ -0,0 +1,150 @@ +id: csgov_migrate_node_news +label: 'Node - News' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_node +migration_dependencies: + required: + - csgov_migrate_media_image + - csgov_migrate_paragraph_accordion_group + - csgov_migrate_paragraph_attachments + - csgov_migrate_paragraph_content + - csgov_migrate_paragraph_item_list + - csgov_migrate_paragraph_node_list + - csgov_migrate_taxonomy_news_type + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/node_news.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: title + selector: title + - name: created + selector: created + - name: changed + selector: changed + - name: promote + selector: promote + - name: sticky + selector: sticky + - name: field_banner_image + selector: field_banner_image + - name: field_banner_intro + selector: field_banner_intro + - name: field_banner_title + selector: field_banner_title + - name: field_body + selector: field_body + - name: field_components + selector: field_components + - name: field_teaser + selector: field_teaser + - name: field_thumbnail + selector: field_thumbnail + - name: field_news_date + selector: field_news_date + - name: field_news_type + selector: field_news_type + +destination: + plugin: entity:node + default_bundle: news + +process: + uuid: uuid + nid: + plugin: entity_lookup + source: uuid + entity_type: node + value_key: uuid + langcode: langcode + status: status + uid: + plugin: default_value + default_value: 0 + title: title + created: created + changed: changed + promote: promote + sticky: sticky + + field_banner_image: + - plugin: default_value + source: field_banner_image + default_value: -1 + - plugin: migration_lookup + migration: csgov_migrate_media_image + no_stub: true + - plugin: csgov_migrate_media_override + override: random_image + + field_banner_intro/value: field_banner_intro + field_banner_intro/format: + plugin: default_value + default_value: rich_text + + field_banner_title: field_banner_title + + field_body/value: field_body + field_body/format: + plugin: default_value + default_value: rich_text + + field_components: + - plugin: callback + source: field_components + callable: csgov_migrate_process_multiple + - plugin: sub_process + process: + - plugin: migration_lookup + source: value + migration: + - csgov_migrate_paragraph_accordion_group + - csgov_migrate_paragraph_attachments + - csgov_migrate_paragraph_content + - csgov_migrate_paragraph_item_list + - csgov_migrate_paragraph_node_list + no_stub: true + - plugin: callback + callable: csgov_migrate_process_reference + + field_teaser/value: field_teaser + field_teaser/format: + plugin: default_value + default_value: rich_text + + field_thumbnail: + - plugin: default_value + source: field_thumbnail + default_value: -1 + - plugin: migration_lookup + migration: csgov_migrate_media_image + no_stub: true + - plugin: csgov_migrate_media_override + override: random_image + + field_news_date: + plugin: csgov_migrate_date_override + source: field_news_date + override: true + + field_news_type: + plugin: migration_lookup + source: field_news_type + migration: csgov_migrate_taxonomy_news_type + no_stub: true diff --git a/modules/csgov_migrate/migrations/node_page.yml b/modules/csgov_migrate/migrations/node_page.yml new file mode 100644 index 0000000..cc36fb9 --- /dev/null +++ b/modules/csgov_migrate/migrations/node_page.yml @@ -0,0 +1,142 @@ +id: csgov_migrate_node_page +label: 'Node - Page' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_node +migration_dependencies: + required: + - csgov_migrate_media_image + - csgov_migrate_paragraph_accordion_group + - csgov_migrate_paragraph_attachments + - csgov_migrate_paragraph_content + - csgov_migrate_paragraph_item_list + - csgov_migrate_paragraph_node_list + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/node_page.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: title + selector: title + - name: created + selector: created + - name: changed + selector: changed + - name: promote + selector: promote + - name: sticky + selector: sticky + - name: layout_builder__layout + selector: layout_builder__layout + - name: field_banner_image + selector: field_banner_image + - name: field_banner_intro + selector: field_banner_intro + - name: field_banner_title + selector: field_banner_title + - name: field_body + selector: field_body + - name: field_components + selector: field_components + - name: field_teaser + selector: field_teaser + - name: field_thumbnail + selector: field_thumbnail + +destination: + plugin: entity:node + default_bundle: page + +process: + uuid: uuid + nid: + plugin: entity_lookup + source: uuid + entity_type: node + value_key: uuid + langcode: langcode + status: status + uid: + plugin: default_value + default_value: 0 + title: title + created: created + changed: changed + promote: promote + sticky: sticky + layout_builder__layout: + - plugin: explode + delimiter: ',' + source: layout_builder__layout + - plugin: callback + callable: unserialize + + field_banner_image: + - plugin: default_value + source: field_banner_image + default_value: -1 + - plugin: migration_lookup + migration: csgov_migrate_media_image + no_stub: true + - plugin: csgov_migrate_media_override + override: random_image + + field_banner_intro/value: field_banner_intro + field_banner_intro/format: + plugin: default_value + default_value: rich_text + + field_banner_title: field_banner_title + + field_body/value: field_body + field_body/format: + plugin: default_value + default_value: rich_text + + field_components: + - plugin: callback + source: field_components + callable: csgov_migrate_process_multiple + - plugin: sub_process + process: + - plugin: migration_lookup + source: value + migration: + - csgov_migrate_paragraph_accordion_group + - csgov_migrate_paragraph_attachments + - csgov_migrate_paragraph_content + - csgov_migrate_paragraph_item_list + - csgov_migrate_paragraph_node_list + no_stub: true + - plugin: callback + callable: csgov_migrate_process_reference + + field_teaser/value: field_teaser + field_teaser/format: + plugin: default_value + default_value: rich_text + + field_thumbnail: + - plugin: default_value + source: field_thumbnail + default_value: -1 + - plugin: migration_lookup + migration: csgov_migrate_media_image + no_stub: true + - plugin: csgov_migrate_media_override + override: random_image diff --git a/modules/csgov_migrate/migrations/node_person.yml b/modules/csgov_migrate/migrations/node_person.yml new file mode 100644 index 0000000..ddd5090 --- /dev/null +++ b/modules/csgov_migrate/migrations/node_person.yml @@ -0,0 +1,134 @@ +id: csgov_migrate_node_person +label: 'Node - Person' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_node +migration_dependencies: + required: + - csgov_migrate_media_image + - csgov_migrate_paragraph_accordion_group + - csgov_migrate_paragraph_attachments + - csgov_migrate_paragraph_content + - csgov_migrate_paragraph_item_list + - csgov_migrate_paragraph_node_list + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/node_person.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: title + selector: title + - name: created + selector: created + - name: changed + selector: changed + - name: promote + selector: promote + - name: sticky + selector: sticky + - name: field_banner_image + selector: field_banner_image + - name: field_banner_intro + selector: field_banner_intro + - name: field_banner_title + selector: field_banner_title + - name: field_body + selector: field_body + - name: field_components + selector: field_components + - name: field_teaser + selector: field_teaser + - name: field_thumbnail + selector: field_thumbnail + +destination: + plugin: entity:node + default_bundle: person + +process: + uuid: uuid + nid: + plugin: entity_lookup + source: uuid + entity_type: node + value_key: uuid + langcode: langcode + status: status + uid: + plugin: default_value + default_value: 0 + title: title + created: created + changed: changed + promote: promote + sticky: sticky + + field_banner_image: + - plugin: default_value + source: field_banner_image + default_value: -1 + - plugin: migration_lookup + migration: csgov_migrate_media_image + no_stub: true + - plugin: csgov_migrate_media_override + override: random_image + + field_banner_intro/value: field_banner_intro + field_banner_intro/format: + plugin: default_value + default_value: rich_text + + field_banner_title: field_banner_title + + field_body/value: field_body + field_body/format: + plugin: default_value + default_value: rich_text + + field_components: + - plugin: callback + source: field_components + callable: csgov_migrate_process_multiple + - plugin: sub_process + process: + - plugin: migration_lookup + source: value + migration: + - csgov_migrate_paragraph_accordion_group + - csgov_migrate_paragraph_attachments + - csgov_migrate_paragraph_content + - csgov_migrate_paragraph_item_list + - csgov_migrate_paragraph_node_list + no_stub: true + - plugin: callback + callable: csgov_migrate_process_reference + + field_teaser/value: field_teaser + field_teaser/format: + plugin: default_value + default_value: rich_text + + field_thumbnail: + - plugin: default_value + source: field_thumbnail + default_value: -1 + - plugin: migration_lookup + migration: csgov_migrate_media_image + no_stub: true + - plugin: csgov_migrate_media_override + override: random_image diff --git a/modules/csgov_migrate/migrations/paragraph_accordion.yml b/modules/csgov_migrate/migrations/paragraph_accordion.yml new file mode 100644 index 0000000..c4acee5 --- /dev/null +++ b/modules/csgov_migrate/migrations/paragraph_accordion.yml @@ -0,0 +1,61 @@ +id: csgov_migrate_paragraph_accordion +label: 'Paragraph - Accordion' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_paragraph + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/paragraph_accordion.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: created + selector: created + - name: field_title + selector: field_title + - name: field_heading + selector: field_heading + - name: field_body + selector: field_body + - name: field_accordion_orientation + selector: field_accordion_orientation + +destination: + plugin: entity_reference_revisions:paragraph + default_bundle: accordion + +process: + uuid: uuid + id: + plugin: entity_lookup + source: uuid + entity_type: paragraph + value_key: uuid + langcode: langcode + status: status + created: created + + field_title: field_title + + field_heading: field_heading + + field_body/value: field_body + field_body/format: + plugin: default_value + default_value: rich_text + + field_accordion_orientation: field_accordion_orientation diff --git a/modules/csgov_migrate/migrations/paragraph_accordion_group.yml b/modules/csgov_migrate/migrations/paragraph_accordion_group.yml new file mode 100644 index 0000000..348928f --- /dev/null +++ b/modules/csgov_migrate/migrations/paragraph_accordion_group.yml @@ -0,0 +1,83 @@ +id: csgov_migrate_paragraph_accordion_group +label: 'Paragraph - Accordion group' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_paragraph +migration_dependencies: + required: + - csgov_migrate_paragraph_accordion + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/paragraph_accordion_group.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: created + selector: created + - name: field_title + selector: field_title + - name: field_heading + selector: field_heading + - name: field_body + selector: field_body + - name: field_accordions + selector: field_accordions + - name: field_color_classes + selector: field_color_classes + - name: field_show_toggle_all + selector: field_show_toggle_all + +destination: + plugin: entity_reference_revisions:paragraph + default_bundle: accordion_group + +process: + uuid: uuid + id: + plugin: entity_lookup + source: uuid + entity_type: paragraph + value_key: uuid + langcode: langcode + status: status + created: created + + field_title: field_title + + field_heading: field_heading + + field_body/value: field_body + field_body/format: + plugin: default_value + default_value: rich_text + + field_accordions: + - plugin: callback + source: field_accordions + callable: csgov_migrate_process_multiple + - plugin: sub_process + process: + - plugin: migration_lookup + source: value + migration: csgov_migrate_paragraph_accordion + no_stub: true + - plugin: callback + callable: csgov_migrate_process_reference + + field_color_classes: field_color_classes + + field_show_toggle_all: field_show_toggle_all diff --git a/modules/csgov_migrate/migrations/paragraph_attachments.yml b/modules/csgov_migrate/migrations/paragraph_attachments.yml new file mode 100644 index 0000000..1715eb8 --- /dev/null +++ b/modules/csgov_migrate/migrations/paragraph_attachments.yml @@ -0,0 +1,87 @@ +id: csgov_migrate_paragraph_attachments +label: 'Paragraph - Attachments' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_paragraph +migration_dependencies: + required: + - csgov_migrate_media_file + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/paragraph_attachments.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: created + selector: created + - name: field_title + selector: field_title + - name: field_heading + selector: field_heading + - name: field_body + selector: field_body + - name: field_attachment + selector: field_attachment + - name: field_color_classes + selector: field_color_classes + - name: field_read_more + selector: field_read_more + +destination: + plugin: entity_reference_revisions:paragraph + default_bundle: attachments + +process: + uuid: uuid + id: + plugin: entity_lookup + source: uuid + entity_type: paragraph + value_key: uuid + langcode: langcode + status: status + created: created + + field_title: field_title + + field_heading: field_heading + + field_body/value: field_body + field_body/format: + plugin: default_value + default_value: rich_text + + field_attachment: + - plugin: callback + source: field_attachment + callable: csgov_migrate_process_multiple + - plugin: default_value + default_value: + - value: -1 + - plugin: sub_process + process: + target_id: + - plugin: migration_lookup + source: value + migration: csgov_migrate_media_file + no_stub: true + - plugin: csgov_migrate_media_override + override: random_file + + field_color_classes: field_color_classes + + field_read_more/uri: field_read_more diff --git a/modules/csgov_migrate/migrations/paragraph_content.yml b/modules/csgov_migrate/migrations/paragraph_content.yml new file mode 100644 index 0000000..c685851 --- /dev/null +++ b/modules/csgov_migrate/migrations/paragraph_content.yml @@ -0,0 +1,65 @@ +id: csgov_migrate_paragraph_content +label: 'Paragraph - Content' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_paragraph + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/paragraph_content.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: created + selector: created + - name: field_title + selector: field_title + - name: field_heading + selector: field_heading + - name: field_body + selector: field_body + - name: field_color_classes + selector: field_color_classes + - name: field_read_more + selector: field_read_more + +destination: + plugin: entity_reference_revisions:paragraph + default_bundle: content + +process: + uuid: uuid + id: + plugin: entity_lookup + source: uuid + entity_type: paragraph + value_key: uuid + langcode: langcode + status: status + created: created + + field_title: field_title + + field_heading: field_heading + + field_body/value: field_body + field_body/format: + plugin: default_value + default_value: rich_text + + field_color_classes: field_color_classes + + field_read_more/uri: field_read_more diff --git a/modules/csgov_migrate/migrations/paragraph_item.yml b/modules/csgov_migrate/migrations/paragraph_item.yml new file mode 100644 index 0000000..30a25dd --- /dev/null +++ b/modules/csgov_migrate/migrations/paragraph_item.yml @@ -0,0 +1,76 @@ +id: csgov_migrate_paragraph_item +label: 'Paragraph - Item' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_paragraph +migration_dependencies: + required: + - csgov_migrate_media_image + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/paragraph_item.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: created + selector: created + - name: field_title + selector: field_title + - name: field_heading + selector: field_heading + - name: field_body + selector: field_body + - name: field_image + selector: field_image + - name: field_read_more + selector: field_read_more + +destination: + plugin: entity_reference_revisions:paragraph + default_bundle: item + +process: + uuid: uuid + id: + plugin: entity_lookup + source: uuid + entity_type: paragraph + value_key: uuid + langcode: langcode + status: status + created: created + + field_title: field_title + + field_heading: field_heading + + field_body/value: field_body + field_body/format: + plugin: default_value + default_value: rich_text + + field_image: + - plugin: default_value + source: field_image + default_value: -1 + - plugin: migration_lookup + migration: csgov_migrate_media_image + no_stub: true + - plugin: csgov_migrate_media_override + override: random_image + + field_read_more/uri: field_read_more diff --git a/modules/csgov_migrate/migrations/paragraph_item_list.yml b/modules/csgov_migrate/migrations/paragraph_item_list.yml new file mode 100644 index 0000000..09cf9ee --- /dev/null +++ b/modules/csgov_migrate/migrations/paragraph_item_list.yml @@ -0,0 +1,91 @@ +id: csgov_migrate_paragraph_item_list +label: 'Paragraph - Item list' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_paragraph +migration_dependencies: + required: + - csgov_migrate_paragraph_item + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/paragraph_item_list.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: created + selector: created + - name: field_title + selector: field_title + - name: field_heading + selector: field_heading + - name: field_body + selector: field_body + - name: field_color_classes + selector: field_color_classes + - name: field_items + selector: field_items + - name: field_layout_classes + selector: field_layout_classes + - name: field_read_more + selector: field_read_more + - name: field_view_mode + selector: field_view_mode + +destination: + plugin: entity_reference_revisions:paragraph + default_bundle: item_list + +process: + uuid: uuid + id: + plugin: entity_lookup + source: uuid + entity_type: paragraph + value_key: uuid + langcode: langcode + status: status + created: created + + field_title: field_title + + field_heading: field_heading + + field_body/value: field_body + field_body/format: + plugin: default_value + default_value: rich_text + + field_color_classes: field_color_classes + + field_items: + - plugin: callback + source: field_items + callable: csgov_migrate_process_multiple + - plugin: sub_process + process: + - plugin: migration_lookup + source: value + migration: csgov_migrate_paragraph_item + no_stub: true + - plugin: callback + callable: csgov_migrate_process_reference + + field_layout_classes: field_layout_classes + + field_read_more/uri: field_read_more + + field_view_mode: field_view_mode diff --git a/modules/csgov_migrate/migrations/paragraph_node_list.yml b/modules/csgov_migrate/migrations/paragraph_node_list.yml new file mode 100644 index 0000000..9c1b3af --- /dev/null +++ b/modules/csgov_migrate/migrations/paragraph_node_list.yml @@ -0,0 +1,99 @@ +id: csgov_migrate_paragraph_node_list +label: 'Paragraph - Node list' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_paragraph +migration_dependencies: + optional: + - csgov_migrate_node_board + - csgov_migrate_node_event + - csgov_migrate_node_news + - csgov_migrate_node_page + - csgov_migrate_node_person + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/paragraph_node_list.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: created + selector: created + - name: field_title + selector: field_title + - name: field_heading + selector: field_heading + - name: field_body + selector: field_body + - name: field_color_classes + selector: field_color_classes + - name: field_layout_classes + selector: field_layout_classes + - name: field_nodes + selector: field_nodes + - name: field_read_more + selector: field_read_more + - name: field_view_mode + selector: field_view_mode + +destination: + plugin: entity_reference_revisions:paragraph + default_bundle: node_list + +process: + uuid: uuid + id: + plugin: entity_lookup + source: uuid + entity_type: paragraph + value_key: uuid + langcode: langcode + status: status + created: created + + field_title: field_title + + field_heading: field_heading + + field_body/value: field_body + field_body/format: + plugin: default_value + default_value: rich_text + + field_color_classes: field_color_classes + + field_layout_classes: field_layout_classes + + field_nodes: + - plugin: callback + source: field_nodes + callable: csgov_migrate_process_multiple + - plugin: sub_process + process: + target_id: + plugin: migration_lookup + source: value + migration: + - csgov_migrate_node_board + - csgov_migrate_node_event + - csgov_migrate_node_news + - csgov_migrate_node_page + - csgov_migrate_node_person + no_stub: true + + field_read_more/uri: field_read_more + + field_view_mode: field_view_mode diff --git a/modules/csgov_migrate/migrations/taxonomy_board_type.yml b/modules/csgov_migrate/migrations/taxonomy_board_type.yml new file mode 100644 index 0000000..df298af --- /dev/null +++ b/modules/csgov_migrate/migrations/taxonomy_board_type.yml @@ -0,0 +1,55 @@ +id: csgov_migrate_taxonomy_board_type +label: 'Taxonomy - Board type' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_taxonomy + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/taxonomy_board_type.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: name + selector: name + - name: weight + selector: weight + - name: changed + selector: changed + - name: description + selector: description + +destination: + plugin: entity:taxonomy_term + default_bundle: board_type + +process: + uuid: uuid + tid: + plugin: entity_lookup + source: uuid + entity_type: taxonomy_term + value_key: uuid + langcode: langcode + status: status + name: name + weight: weight + changed: changed + + description/value: description + description/format: + plugin: default_value + default_value: plain_text diff --git a/modules/csgov_migrate/migrations/taxonomy_media_tags.yml b/modules/csgov_migrate/migrations/taxonomy_media_tags.yml new file mode 100644 index 0000000..283f900 --- /dev/null +++ b/modules/csgov_migrate/migrations/taxonomy_media_tags.yml @@ -0,0 +1,55 @@ +id: csgov_migrate_taxonomy_media_tags +label: 'Taxonomy - Media tags' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_taxonomy + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/taxonomy_media_tags.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: name + selector: name + - name: weight + selector: weight + - name: changed + selector: changed + - name: description + selector: description + +destination: + plugin: entity:taxonomy_term + default_bundle: media_tags + +process: + uuid: uuid + tid: + plugin: entity_lookup + source: uuid + entity_type: taxonomy_term + value_key: uuid + langcode: langcode + status: status + name: name + weight: weight + changed: changed + + description/value: description + description/format: + plugin: default_value + default_value: plain_text diff --git a/modules/csgov_migrate/migrations/taxonomy_news_type.yml b/modules/csgov_migrate/migrations/taxonomy_news_type.yml new file mode 100644 index 0000000..c4ac1e9 --- /dev/null +++ b/modules/csgov_migrate/migrations/taxonomy_news_type.yml @@ -0,0 +1,55 @@ +id: csgov_migrate_taxonomy_news_type +label: 'Taxonomy - News type' +migration_group: csgov_migrate +migration_tags: + - csgov_migrate + - csgov_migrate_taxonomy + +source: + plugin: url + data_fetcher_plugin: file + data_parser_plugin: json + urls: 'profiles/contrib/csgov/modules/csgov_migrate/data/taxonomy_news_type.json' + item_selector: '' + + ids: + uuid: + type: string + + fields: + - name: uuid + selector: uuid + - name: langcode + selector: langcode + - name: status + selector: status + - name: name + selector: name + - name: weight + selector: weight + - name: changed + selector: changed + - name: description + selector: description + +destination: + plugin: entity:taxonomy_term + default_bundle: news_type + +process: + uuid: uuid + tid: + plugin: entity_lookup + source: uuid + entity_type: taxonomy_term + value_key: uuid + langcode: langcode + status: status + name: name + weight: weight + changed: changed + + description/value: description + description/format: + plugin: default_value + default_value: plain_text diff --git a/modules/csgov_migrate/src/Form/SettingsForm.php b/modules/csgov_migrate/src/Form/SettingsForm.php new file mode 100644 index 0000000..1137434 --- /dev/null +++ b/modules/csgov_migrate/src/Form/SettingsForm.php @@ -0,0 +1,65 @@ + 'checkbox', + '#title' => $this->t('Export site content for default content migration'), + '#description' => $this->t('If checked, the default content data will be refreshed.'), + '#states' => [ + 'disabled' => [':input[name="import"]' => ['checked' => TRUE]], + ], + ]; + $form['import'] = [ + '#type' => 'checkbox', + '#title' => $this->t('Import site content from default content migration'), + '#description' => $this->t('If checked, the content will be migrated.'), + '#states' => [ + 'disabled' => [':input[name="export"]' => ['checked' => TRUE]], + ], + ]; + + return parent::buildForm($form, $form_state); + } + + /** + * {@inheritdoc} + */ + public function submitForm(array &$form, FormStateInterface $form_state) { + if (!empty($form_state->getValue('export'))) { + batch_set(_csgov_migrate_get_batch('export')); + } + elseif (!empty($form_state->getValue('import'))) { + batch_set(_csgov_migrate_get_batch('import')); + } + + parent::submitForm($form, $form_state); + } + +} diff --git a/modules/csgov_migrate/src/Plugin/Field/FieldFormatter/EntityReferenceUuidFormatter.php b/modules/csgov_migrate/src/Plugin/Field/FieldFormatter/EntityReferenceUuidFormatter.php new file mode 100644 index 0000000..823e422 --- /dev/null +++ b/modules/csgov_migrate/src/Plugin/Field/FieldFormatter/EntityReferenceUuidFormatter.php @@ -0,0 +1,45 @@ +getEntitiesToView($items, $langcode) as $delta => $entity) { + if ($entity->uuid()) { + $elements[$delta] = [ + '#plain_text' => $entity->uuid(), + '#cache' => [ + 'tags' => $entity->getCacheTags(), + ], + ]; + } + } + + return $elements; + } + +} diff --git a/modules/csgov_migrate/src/Plugin/Field/FieldFormatter/LayoutBuilderJsonFormatter.php b/modules/csgov_migrate/src/Plugin/Field/FieldFormatter/LayoutBuilderJsonFormatter.php new file mode 100644 index 0000000..f3ab6de --- /dev/null +++ b/modules/csgov_migrate/src/Plugin/Field/FieldFormatter/LayoutBuilderJsonFormatter.php @@ -0,0 +1,42 @@ +getEntity(); + + foreach ($items as $delta => $item) { + $elements[$delta] = [ + '#markup' => Markup::create(serialize($item->section)), + '#cache' => [ + 'tags' => $entity->getCacheTags(), + ], + ]; + } + + return $elements; + } + +} diff --git a/modules/csgov_migrate/src/Plugin/migrate/process/DateOverride.php b/modules/csgov_migrate/src/Plugin/migrate/process/DateOverride.php new file mode 100644 index 0000000..bdce629 --- /dev/null +++ b/modules/csgov_migrate/src/Plugin/migrate/process/DateOverride.php @@ -0,0 +1,67 @@ +configuration['override'])) { + $counter = &drupal_static('csgov_migrate_date_override_' . $this->configuration['source'], 0); + + $format = 'Y-m-d'; + if ($this->configuration['source'] === 'field_board_published_date') { + $diff = ($counter - 3) * 604800; + } + elseif ($this->configuration['source'] === 'field_board_removed_date') { + $diff = ($counter - 3 + 4) * 604800; + } + elseif ($this->configuration['source'] === '@_field_event_date/0' + || $this->configuration['source'] === '@_field_event_date/1' + ) { + $diff = ($counter - 1) * 604800; + $format = 'Y-m-d\TH:i:s'; + } + elseif ($this->configuration['source'] === 'field_news_date') { + $diff = ($counter - 2) * 604800; + } + $value = date($format, time() + ($diff ?? 0)); + + $counter++; + } + return $value; + } + +} diff --git a/modules/csgov_migrate/src/Plugin/migrate/process/MediaOverride.php b/modules/csgov_migrate/src/Plugin/migrate/process/MediaOverride.php new file mode 100644 index 0000000..ab96449 --- /dev/null +++ b/modules/csgov_migrate/src/Plugin/migrate/process/MediaOverride.php @@ -0,0 +1,42 @@ +configuration['override']) && empty($value)) { + + if (str_starts_with($this->configuration['override'], 'random_')) { + $bundle = substr($this->configuration['override'], 7); + $query = \Drupal::database() + ->select('migrate_map_csgov_migrate_media_' . $bundle, 'm'); + $query->addField('m', 'destid1'); + $value = $query->orderRandom()->execute()->fetchField(); + } + + } + return $value; + } + +} diff --git a/src/Installer/Form/SettingsForm.php b/src/Installer/Form/SettingsForm.php new file mode 100644 index 0000000..ee025d7 --- /dev/null +++ b/src/Installer/Form/SettingsForm.php @@ -0,0 +1,55 @@ + 'fieldgroup', + '#title' => $this->t('Default content'), + ]; + $form['migrate']['csgov_install_migrate'] = [ + '#type' => 'checkbox', + '#title' => $this->t('Process default content migration'), + '#default_value' => $install_state['csgov_migrate'] ?? 1, + ]; + + $form['actions'] = ['#type' => 'actions']; + $form['actions']['submit'] = [ + '#type' => 'submit', + '#value' => $this->t('Save and continue'), + '#button_type' => 'primary', + ]; + + return $form; + } + + /** + * {@inheritdoc} + */ + public function submitForm(array &$form, FormStateInterface $form_state) { + $build_info = $form_state->getBuildInfo(); + $build_info['args'][0]['parameters']['csgov_migrate'] = $form_state->getValue('csgov_install_migrate'); + $form_state->setBuildInfo($build_info); + } + +}