From 564c6c29b3fea38d136a53d14ba1667a9b75baa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurij=20Podgor=C5=A1ek?= Date: Tue, 11 Apr 2023 01:45:45 +0200 Subject: [PATCH] Skripte v podfolder, config export, dodan jsonapi meni modul --- README.md | 2 +- config/sync/core.extension.yml | 5 ++++- config/sync/single_content_sync.settings.yml | 9 +++++++++ config/sync/system.action.content_bulk_export.yml | 13 +++++++++++++ uvozi-vsebino.sh => skripte/uvozi-vsebino.sh | 0 5 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 config/sync/single_content_sync.settings.yml create mode 100644 config/sync/system.action.content_bulk_export.yml rename uvozi-vsebino.sh => skripte/uvozi-vsebino.sh (100%) diff --git a/README.md b/README.md index 77caac1..f3204a7 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Nato poženemo izgrajevalnik / strežnik: ### Uvoz testne vsebine -`./uvozi-vsebino.sh` +`./skripte/uvozi-vsebino.sh` Dodatne testne vsebine lahko definiramo v modulu `yufu_data`, v poddirektoriju `content`. Pazit moramo na ime - vsak fajl se mora končati s `.content.yml`. diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index e4565d8..4e79105 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -10,7 +10,6 @@ module: comment: 0 config: 0 config_translation: 0 - content_as_config: 0 contextual: 0 datetime: 0 dblog: 0 @@ -25,6 +24,8 @@ module: history: 0 image: 0 jsonapi: 0 + jsonapi_menu_items: 0 + jsonapi_resources: 0 language: 0 link: 0 locale: 0 @@ -40,6 +41,7 @@ module: path_alias: 0 search: 0 serialization: 0 + single_content_sync: 0 system: 0 taxonomy: 0 text: 0 @@ -47,6 +49,7 @@ module: update: 0 user: 0 views_ui: 0 + yaml_content: 0 content_translation: 10 views: 10 minimal: 1000 diff --git a/config/sync/single_content_sync.settings.yml b/config/sync/single_content_sync.settings.yml new file mode 100644 index 0000000..1888af6 --- /dev/null +++ b/config/sync/single_content_sync.settings.yml @@ -0,0 +1,9 @@ +_core: + default_config_hash: F--1EKAki5zF_jdKTc4ZLmgN89WJ2SDrMOkwbqj06-Y +allowed_entity_types: + block_content: { } + media: { } + menu_link_content: { } + node: { } + taxonomy_term: { } +site_uuid_check: true diff --git a/config/sync/system.action.content_bulk_export.yml b/config/sync/system.action.content_bulk_export.yml new file mode 100644 index 0000000..8da8b1f --- /dev/null +++ b/config/sync/system.action.content_bulk_export.yml @@ -0,0 +1,13 @@ +uuid: 4eb27688-3e78-463d-8334-eef1c071d827 +langcode: en +status: true +dependencies: + module: + - single_content_sync +_core: + default_config_hash: h64R0kZquzABmTQ3k2X7VbJJvANnn0p3ubKUYNtQj8s +id: content_bulk_export +label: 'Export content' +type: node +plugin: content_bulk_export +configuration: { } diff --git a/uvozi-vsebino.sh b/skripte/uvozi-vsebino.sh similarity index 100% rename from uvozi-vsebino.sh rename to skripte/uvozi-vsebino.sh