Dodan content as config modul, omogocen jsonapi, svez config export

pull/16/head
Jurij Podgoršek 2023-04-05 19:43:05 +02:00
parent 0957a6a2a4
commit e9803211fd
99 changed files with 843 additions and 5 deletions

View File

@ -16,6 +16,7 @@
], ],
"require": { "require": {
"composer/installers": "^2.0", "composer/installers": "^2.0",
"drupal/content_as_config": "^1.0",
"drupal/core-composer-scaffold": "^10.0", "drupal/core-composer-scaffold": "^10.0",
"drupal/core-project-message": "^10.0", "drupal/core-project-message": "^10.0",
"drupal/core-recommended": "^10.0", "drupal/core-recommended": "^10.0",

70
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "8fe5832399f8883d9de5d7a039bd86a9", "content-hash": "73a6c15351a576b9f11a60fec8748fd5",
"packages": [ "packages": [
{ {
"name": "asm89/stack-cors", "name": "asm89/stack-cors",
@ -1094,6 +1094,71 @@
], ],
"time": "2022-02-28T11:07:21+00:00" "time": "2022-02-28T11:07:21+00:00"
}, },
{
"name": "drupal/content_as_config",
"version": "1.0.10",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/content_as_config.git",
"reference": "1.0.10"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/content_as_config-1.0.10.zip",
"reference": "1.0.10",
"shasum": "3ed5dd56486a98b6832eb6fea257792d5af145b4"
},
"require": {
"drupal/core": "^9.3 || ^10"
},
"conflict": {
"drupal/structure_sync": "*"
},
"require-dev": {
"drupal/feeds": "*",
"drupal/group": "*"
},
"suggest": {
"drupal/markdown": "Render module help more elegantly."
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "1.0.10",
"datestamp": "1665066743",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
},
"drush": {
"services": {
"drush.services.yml": "^9"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "Daniel Johnson (daniel_j)",
"homepage": "https://www.drupal.org/u/daniel_j",
"role": "Maintainer"
}
],
"description": "Allows content entities to be exported/imported as configuration.",
"homepage": "https://drupal.org/project/content_as_config",
"keywords": [
"Configuration",
"Drupal"
],
"support": {
"source": "https://git.drupalcode.org/project/content_as_config",
"issues": "https://www.drupal.org/project/issues/content_as_config"
}
},
{ {
"name": "drupal/core", "name": "drupal/core",
"version": "10.0.3", "version": "10.0.3",
@ -5951,7 +6016,8 @@
"aliases": [], "aliases": [],
"minimum-stability": "dev", "minimum-stability": "dev",
"stability-flags": { "stability-flags": {
"drupal/gin": 5 "drupal/gin": 5,
"drupal/gin_toolbar": 5
}, },
"prefer-stable": true, "prefer-stable": true,
"prefer-lowest": false, "prefer-lowest": false,

View File

@ -1 +0,0 @@
{ }

View File

@ -103,6 +103,11 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
translation:
weight: 10
region: content
settings: { }
third_party_settings: { }
uid: uid:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 5 weight: 5

View File

@ -80,6 +80,11 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
translation:
weight: 10
region: content
settings: { }
third_party_settings: { }
uid: uid:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 5 weight: 5

View File

@ -73,6 +73,11 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
translation:
weight: 10
region: content
settings: { }
third_party_settings: { }
uid: uid:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 5 weight: 5

View File

@ -10,6 +10,7 @@ module:
comment: 0 comment: 0
config: 0 config: 0
config_translation: 0 config_translation: 0
content_as_config: 0
contextual: 0 contextual: 0
datetime: 0 datetime: 0
dblog: 0 dblog: 0
@ -23,6 +24,7 @@ module:
help: 0 help: 0
history: 0 history: 0
image: 0 image: 0
jsonapi: 0
language: 0 language: 0
link: 0 link: 0
locale: 0 locale: 0
@ -37,6 +39,7 @@ module:
path: 0 path: 0
path_alias: 0 path_alias: 0
search: 0 search: 0
serialization: 0
system: 0 system: 0
taxonomy: 0 taxonomy: 0
text: 0 text: 0

View File

@ -0,0 +1,7 @@
_core:
default_config_hash: ve5n0mfUSWWZEFldenHnFrpcL1XKTjzTacerxemPPU4
langcode: en
read_only: true
maintenance_header_retry_seconds:
min: 5
max: 10

View File

@ -0,0 +1,2 @@
settings:
label: 'Primary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Secondary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Primary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Secondary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Primary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Secondary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'RSS feed'

View File

@ -0,0 +1,2 @@
settings:
label: Administration

View File

@ -0,0 +1 @@
label: Register

View File

@ -0,0 +1 @@
label: RSS

View File

@ -0,0 +1 @@
label: 'Search index'

View File

@ -0,0 +1 @@
label: 'User account'

View File

@ -0,0 +1 @@
name: 'Plain text'

View File

@ -0,0 +1 @@
label: English

View File

@ -0,0 +1 @@
label: Content

View File

@ -0,0 +1 @@
label: 'Delete comment'

View File

@ -0,0 +1 @@
label: 'Publish comment'

View File

@ -0,0 +1 @@
label: 'Unpublish comment'

View File

@ -0,0 +1 @@
label: 'Publish content'

View File

@ -0,0 +1 @@
message: '@site is currently under maintenance. We should be back shortly. Thank you for your patience.'

View File

@ -0,0 +1 @@
label: Administration

View File

@ -0,0 +1 @@
label: Footer

View File

@ -0,0 +1 @@
label: 'Anonymous user'

View File

@ -0,0 +1 @@
anonymous: Anonymous

View File

@ -0,0 +1,20 @@
display:
default:
display_title: Default
display_options:
fields:
info:
label: 'Block description'
changed:
label: Updated
operations:
label: Operations
exposed_form:
options:
reset_button_label: Reset
filters:
info:
expose:
label: 'Block description'
page_1:
display_title: Page

View File

@ -0,0 +1,68 @@
label: Comments
display:
default:
display_title: Default
display_options:
title: Comments
fields:
comment_bulk_form:
action_title: Action
subject:
label: Subject
name:
label: Author
entity_id:
label: 'Posted in'
changed:
label: Updated
operations:
label: Operations
pager:
options:
tags:
next: 'next '
previous: ' previous'
first: '« first'
last: 'last »'
exposed_form:
options:
submit_button: Filter
reset_button_label: Reset
empty:
area_text_custom:
content: 'No comments available.'
filters:
subject:
expose:
label: Subject
langcode:
expose:
label: Language
use_more_text: more
page_published:
display_title: 'Published comments'
display_options:
menu:
title: Comments
page_unapproved:
display_options:
fields:
comment_bulk_form:
action_title: Action
subject:
label: Subject
name:
label: Author
entity_id:
label: 'Posted in'
changed:
label: Updated
operations:
label: Operations
filters:
subject:
expose:
label: Subject
langcode:
expose:
label: Language

View File

@ -0,0 +1,13 @@
label: 'Recent comments'
display:
default:
display_title: Default
display_options:
title: 'Recent comments'
empty:
area_text_custom:
content: 'No comments available.'
block_1:
display_title: Block
display_options:
block_description: 'Recent comments'

View File

@ -0,0 +1,35 @@
display:
default:
display_title: Default
display_options:
fields:
media_bulk_form:
action_title: Action
bundle:
label: Type
uid:
label: Author
status:
label: Status
settings:
format_custom_true: Published
changed:
label: Updated
operations:
label: Operations
exposed_form:
options:
submit_button: Filter
reset_button_label: Reset
filters:
bundle:
expose:
label: Type
status:
group_info:
group_items:
1:
title: Published
langcode:
expose:
label: Language

View File

@ -0,0 +1,67 @@
display:
default:
display_title: Default
display_options:
fields:
media_bulk_form:
action_title: Action
exposed_form:
options:
reset_button_label: Reset
filters:
status:
group_info:
label: Published
group_items:
1:
title: Published
name:
expose:
label: Name
langcode:
expose:
label: Language
page:
display_title: Page
display_options:
fields:
media_bulk_form:
action_title: Action
edit_media:
text: Edit
delete_media:
text: Delete
widget:
display_title: Widget
display_options:
arguments:
bundle:
exception:
title: All
filters:
name:
expose:
label: Name
header:
display_link_table:
label: Table
widget_table:
display_options:
fields:
name:
label: Name
uid:
label: Author
changed:
label: Updated
arguments:
bundle:
exception:
title: All
filters:
name:
expose:
label: Name
header:
display_link_table:
label: Table

View File

@ -0,0 +1,14 @@
label: 'Taxonomy term'
display:
default:
display_title: Default
display_options:
exposed_form:
options:
reset_button_label: Reset
arguments:
tid:
exception:
title: All
page_1:
display_title: Page

View File

@ -0,0 +1,2 @@
settings:
label: 'Primary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Secondary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Primary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Secondary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Primary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Secondary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'RSS feed'

View File

@ -0,0 +1,2 @@
settings:
label: Administration

View File

@ -0,0 +1 @@
label: Register

View File

@ -0,0 +1 @@
label: RSS

View File

@ -0,0 +1 @@
label: 'Search index'

View File

@ -0,0 +1 @@
label: 'User account'

View File

@ -0,0 +1 @@
name: 'Plain text'

View File

@ -0,0 +1 @@
label: English

View File

@ -0,0 +1 @@
label: Content

View File

@ -0,0 +1 @@
label: 'Delete comment'

View File

@ -0,0 +1 @@
label: 'Publish comment'

View File

@ -0,0 +1 @@
label: 'Unpublish comment'

View File

@ -0,0 +1 @@
label: 'Publish content'

View File

@ -0,0 +1 @@
message: '@site is currently under maintenance. We should be back shortly. Thank you for your patience.'

View File

@ -0,0 +1 @@
label: Administration

View File

@ -0,0 +1 @@
label: Footer

View File

@ -0,0 +1 @@
label: 'Anonymous user'

View File

@ -0,0 +1 @@
anonymous: Anonymous

View File

@ -0,0 +1,20 @@
display:
default:
display_title: Default
display_options:
fields:
info:
label: 'Block description'
changed:
label: Updated
operations:
label: Operations
exposed_form:
options:
reset_button_label: Reset
filters:
info:
expose:
label: 'Block description'
page_1:
display_title: Page

View File

@ -0,0 +1,68 @@
label: Comments
display:
default:
display_title: Default
display_options:
title: Comments
fields:
comment_bulk_form:
action_title: Action
subject:
label: Subject
name:
label: Author
entity_id:
label: 'Posted in'
changed:
label: Updated
operations:
label: Operations
pager:
options:
tags:
next: 'next '
previous: ' previous'
first: '« first'
last: 'last »'
exposed_form:
options:
submit_button: Filter
reset_button_label: Reset
empty:
area_text_custom:
content: 'No comments available.'
filters:
subject:
expose:
label: Subject
langcode:
expose:
label: Language
use_more_text: more
page_published:
display_title: 'Published comments'
display_options:
menu:
title: Comments
page_unapproved:
display_options:
fields:
comment_bulk_form:
action_title: Action
subject:
label: Subject
name:
label: Author
entity_id:
label: 'Posted in'
changed:
label: Updated
operations:
label: Operations
filters:
subject:
expose:
label: Subject
langcode:
expose:
label: Language

View File

@ -0,0 +1,13 @@
label: 'Recent comments'
display:
default:
display_title: Default
display_options:
title: 'Recent comments'
empty:
area_text_custom:
content: 'No comments available.'
block_1:
display_title: Block
display_options:
block_description: 'Recent comments'

View File

@ -0,0 +1,35 @@
display:
default:
display_title: Default
display_options:
fields:
media_bulk_form:
action_title: Action
bundle:
label: Type
uid:
label: Author
status:
label: Status
settings:
format_custom_true: Published
changed:
label: Updated
operations:
label: Operations
exposed_form:
options:
submit_button: Filter
reset_button_label: Reset
filters:
bundle:
expose:
label: Type
status:
group_info:
group_items:
1:
title: Published
langcode:
expose:
label: Language

View File

@ -0,0 +1,67 @@
display:
default:
display_title: Default
display_options:
fields:
media_bulk_form:
action_title: Action
exposed_form:
options:
reset_button_label: Reset
filters:
status:
group_info:
label: Published
group_items:
1:
title: Published
name:
expose:
label: Name
langcode:
expose:
label: Language
page:
display_title: Page
display_options:
fields:
media_bulk_form:
action_title: Action
edit_media:
text: Edit
delete_media:
text: Delete
widget:
display_title: Widget
display_options:
arguments:
bundle:
exception:
title: All
filters:
name:
expose:
label: Name
header:
display_link_table:
label: Table
widget_table:
display_options:
fields:
name:
label: Name
uid:
label: Author
changed:
label: Updated
arguments:
bundle:
exception:
title: All
filters:
name:
expose:
label: Name
header:
display_link_table:
label: Table

View File

@ -0,0 +1,14 @@
label: 'Taxonomy term'
display:
default:
display_title: Default
display_options:
exposed_form:
options:
reset_button_label: Reset
arguments:
tid:
exception:
title: All
page_1:
display_title: Page

View File

@ -0,0 +1,2 @@
settings:
label: 'Primary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Secondary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Primary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Secondary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Primary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'Secondary tabs'

View File

@ -0,0 +1,2 @@
settings:
label: 'RSS feed'

View File

@ -0,0 +1,2 @@
settings:
label: Administration

View File

@ -0,0 +1 @@
label: Register

View File

@ -0,0 +1 @@
label: RSS

View File

@ -0,0 +1 @@
label: 'Search index'

View File

@ -0,0 +1 @@
label: 'User account'

View File

@ -0,0 +1 @@
name: 'Plain text'

View File

@ -0,0 +1 @@
label: English

View File

@ -0,0 +1 @@
label: Content

View File

@ -0,0 +1 @@
label: 'Delete comment'

View File

@ -0,0 +1 @@
label: 'Publish comment'

View File

@ -0,0 +1 @@
label: 'Unpublish comment'

View File

@ -0,0 +1 @@
label: 'Publish content'

View File

@ -0,0 +1 @@
message: '@site is currently under maintenance. We should be back shortly. Thank you for your patience.'

View File

@ -0,0 +1 @@
label: Administration

View File

@ -0,0 +1 @@
label: Footer

View File

@ -0,0 +1 @@
label: 'Anonymous user'

View File

@ -0,0 +1 @@
anonymous: Anonymous

View File

@ -0,0 +1,20 @@
display:
default:
display_title: Default
display_options:
fields:
info:
label: 'Block description'
changed:
label: Updated
operations:
label: Operations
exposed_form:
options:
reset_button_label: Reset
filters:
info:
expose:
label: 'Block description'
page_1:
display_title: Page

View File

@ -0,0 +1,68 @@
label: Comments
display:
default:
display_title: Default
display_options:
title: Comments
fields:
comment_bulk_form:
action_title: Action
subject:
label: Subject
name:
label: Author
entity_id:
label: 'Posted in'
changed:
label: Updated
operations:
label: Operations
pager:
options:
tags:
next: 'next '
previous: ' previous'
first: '« first'
last: 'last »'
exposed_form:
options:
submit_button: Filter
reset_button_label: Reset
empty:
area_text_custom:
content: 'No comments available.'
filters:
subject:
expose:
label: Subject
langcode:
expose:
label: Language
use_more_text: more
page_published:
display_title: 'Published comments'
display_options:
menu:
title: Comments
page_unapproved:
display_options:
fields:
comment_bulk_form:
action_title: Action
subject:
label: Subject
name:
label: Author
entity_id:
label: 'Posted in'
changed:
label: Updated
operations:
label: Operations
filters:
subject:
expose:
label: Subject
langcode:
expose:
label: Language

View File

@ -0,0 +1,13 @@
label: 'Recent comments'
display:
default:
display_title: Default
display_options:
title: 'Recent comments'
empty:
area_text_custom:
content: 'No comments available.'
block_1:
display_title: Block
display_options:
block_description: 'Recent comments'

View File

@ -0,0 +1,35 @@
display:
default:
display_title: Default
display_options:
fields:
media_bulk_form:
action_title: Action
bundle:
label: Type
uid:
label: Author
status:
label: Status
settings:
format_custom_true: Published
changed:
label: Updated
operations:
label: Operations
exposed_form:
options:
submit_button: Filter
reset_button_label: Reset
filters:
bundle:
expose:
label: Type
status:
group_info:
group_items:
1:
title: Published
langcode:
expose:
label: Language

View File

@ -0,0 +1,67 @@
display:
default:
display_title: Default
display_options:
fields:
media_bulk_form:
action_title: Action
exposed_form:
options:
reset_button_label: Reset
filters:
status:
group_info:
label: Published
group_items:
1:
title: Published
name:
expose:
label: Name
langcode:
expose:
label: Language
page:
display_title: Page
display_options:
fields:
media_bulk_form:
action_title: Action
edit_media:
text: Edit
delete_media:
text: Delete
widget:
display_title: Widget
display_options:
arguments:
bundle:
exception:
title: All
filters:
name:
expose:
label: Name
header:
display_link_table:
label: Table
widget_table:
display_options:
fields:
name:
label: Name
uid:
label: Author
changed:
label: Updated
arguments:
bundle:
exception:
title: All
filters:
name:
expose:
label: Name
header:
display_link_table:
label: Table

View File

@ -0,0 +1,14 @@
label: 'Taxonomy term'
display:
default:
display_title: Default
display_options:
exposed_form:
options:
reset_button_label: Reset
arguments:
tid:
exception:
title: All
page_1:
display_title: Page

View File

@ -2,8 +2,8 @@ _core:
default_config_hash: l58O_yEXSo-SeJi19LXdzTU1tNJG3lmnIhCitRkM1tk default_config_hash: l58O_yEXSo-SeJi19LXdzTU1tNJG3lmnIhCitRkM1tk
langcode: en langcode: en
uuid: 7ef295af-8afb-458f-a209-12ead9fc3222 uuid: 7ef295af-8afb-458f-a209-12ead9fc3222
name: 'Drush Site-Install' name: Jugofuturizem
mail: admin@example.com mail: root@kompot.si
slogan: '' slogan: ''
page: page:
403: '' 403: ''