Kazi tudi drafte, prikazi moderation state

pull/60/head
Jurij Podgoršek 2024-04-01 17:35:40 +02:00
parent 843ff7badb
commit 5c6ad30005
5 changed files with 186 additions and 70 deletions

176
composer.lock generated
View File

@ -629,16 +629,16 @@
}, },
{ {
"name": "consolidation/output-formatters", "name": "consolidation/output-formatters",
"version": "4.3.2", "version": "4.4.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/consolidation/output-formatters.git", "url": "https://github.com/consolidation/output-formatters.git",
"reference": "06711568b4cd169700ff7e8075db0a9a341ceb58" "reference": "6812952176c5acc8ed44bdfa78fe93b745c18f25"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/consolidation/output-formatters/zipball/06711568b4cd169700ff7e8075db0a9a341ceb58", "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/6812952176c5acc8ed44bdfa78fe93b745c18f25",
"reference": "06711568b4cd169700ff7e8075db0a9a341ceb58", "reference": "6812952176c5acc8ed44bdfa78fe93b745c18f25",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -677,9 +677,9 @@
"description": "Format text by applying transformations provided by plug-in formatters.", "description": "Format text by applying transformations provided by plug-in formatters.",
"support": { "support": {
"issues": "https://github.com/consolidation/output-formatters/issues", "issues": "https://github.com/consolidation/output-formatters/issues",
"source": "https://github.com/consolidation/output-formatters/tree/4.3.2" "source": "https://github.com/consolidation/output-formatters/tree/4.4.0"
}, },
"time": "2023-07-06T04:45:41+00:00" "time": "2024-03-30T13:38:29+00:00"
}, },
{ {
"name": "consolidation/robo", "name": "consolidation/robo",
@ -870,16 +870,16 @@
}, },
{ {
"name": "consolidation/site-process", "name": "consolidation/site-process",
"version": "5.2.0", "version": "5.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/consolidation/site-process.git", "url": "https://github.com/consolidation/site-process.git",
"reference": "6c44638d7af8a8b4abe12c3180701243f480539d" "reference": "5e8eff50fd0015e7ca0b6ce4082cacef012f2f77"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/consolidation/site-process/zipball/6c44638d7af8a8b4abe12c3180701243f480539d", "url": "https://api.github.com/repos/consolidation/site-process/zipball/5e8eff50fd0015e7ca0b6ce4082cacef012f2f77",
"reference": "6c44638d7af8a8b4abe12c3180701243f480539d", "reference": "5e8eff50fd0015e7ca0b6ce4082cacef012f2f77",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -921,9 +921,9 @@
"description": "A thin wrapper around the Symfony Process Component that allows applications to use the Site Alias library to specify the target for a remote call.", "description": "A thin wrapper around the Symfony Process Component that allows applications to use the Site Alias library to specify the target for a remote call.",
"support": { "support": {
"issues": "https://github.com/consolidation/site-process/issues", "issues": "https://github.com/consolidation/site-process/issues",
"source": "https://github.com/consolidation/site-process/tree/5.2.0" "source": "https://github.com/consolidation/site-process/tree/5.3.0"
}, },
"time": "2022-12-06T17:57:16+00:00" "time": "2024-04-01T12:42:12+00:00"
}, },
{ {
"name": "cweagans/composer-patches", "name": "cweagans/composer-patches",
@ -1603,17 +1603,17 @@
}, },
{ {
"name": "drupal/config_ignore", "name": "drupal/config_ignore",
"version": "3.1.0", "version": "3.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://git.drupalcode.org/project/config_ignore.git", "url": "https://git.drupalcode.org/project/config_ignore.git",
"reference": "8.x-3.1" "reference": "8.x-3.2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://ftp.drupal.org/files/projects/config_ignore-8.x-3.1.zip", "url": "https://ftp.drupal.org/files/projects/config_ignore-8.x-3.2.zip",
"reference": "8.x-3.1", "reference": "8.x-3.2",
"shasum": "5e60f312e02735060d5e5b1724330bb243face4c" "shasum": "00335fc1ddeb4ed93f245dd6963d99b3c084c052"
}, },
"require": { "require": {
"drupal/core": "^8.8 || ^9 || ^10" "drupal/core": "^8.8 || ^9 || ^10"
@ -1625,8 +1625,8 @@
"type": "drupal-module", "type": "drupal-module",
"extra": { "extra": {
"drupal": { "drupal": {
"version": "8.x-3.1", "version": "8.x-3.2",
"datestamp": "1699302168", "datestamp": "1705226226",
"security-coverage": { "security-coverage": {
"status": "covered", "status": "covered",
"message": "Covered by Drupal's security advisory policy" "message": "Covered by Drupal's security advisory policy"
@ -2117,6 +2117,65 @@
}, },
"time": "2024-03-06T08:23:56+00:00" "time": "2024-03-06T08:23:56+00:00"
}, },
{
"name": "drupal/devel",
"version": "5.2.1",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/devel.git",
"reference": "5.2.1"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/devel-5.2.1.zip",
"reference": "5.2.1",
"shasum": "793861751e01092fe8bc7c0cd47589ebea2bb8df"
},
"require": {
"doctrine/common": "^2.7 || ^3.4",
"drupal/core": ">=10.0 <12.0.0-stable",
"php": ">=8.1",
"symfony/var-dumper": "^4 || ^5 || ^6"
},
"conflict": {
"drush/drush": "<12.5.1",
"kint-php/kint": "<3"
},
"require-dev": {
"drush/drush": "^12.5.1"
},
"suggest": {
"kint-php/kint": "Kint provides an informative display of arrays/objects. Useful for debugging and developing."
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "5.2.1",
"datestamp": "1711328410",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "moshe weitzman",
"homepage": "https://www.drupal.org/user/23"
}
],
"description": "Various blocks, pages, and functions for developers.",
"homepage": "https://www.drupal.org/project/devel",
"support": {
"source": "https://gitlab.com/drupalspoons/devel",
"issues": "https://gitlab.com/drupalspoons/devel/-/issues",
"slack": "https://drupal.slack.com/archives/C012WAW1MH6"
}
},
{ {
"name": "drupal/diff", "name": "drupal/diff",
"version": "1.1.0", "version": "1.1.0",
@ -2214,17 +2273,17 @@
}, },
{ {
"name": "drupal/gin", "name": "drupal/gin",
"version": "3.0.0-rc7", "version": "3.0.0-rc9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://git.drupalcode.org/project/gin.git", "url": "https://git.drupalcode.org/project/gin.git",
"reference": "8.x-3.0-rc7" "reference": "8.x-3.0-rc9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://ftp.drupal.org/files/projects/gin-8.x-3.0-rc7.zip", "url": "https://ftp.drupal.org/files/projects/gin-8.x-3.0-rc9.zip",
"reference": "8.x-3.0-rc7", "reference": "8.x-3.0-rc9",
"shasum": "9f91862fc82ef8b0adbf34b26caa3c42d4f1f6b2" "shasum": "130dec0ea8152bc796d8bbca1bc97b2ae0c381f4"
}, },
"require": { "require": {
"drupal/core": "^9 || ^10", "drupal/core": "^9 || ^10",
@ -2233,8 +2292,8 @@
"type": "drupal-theme", "type": "drupal-theme",
"extra": { "extra": {
"drupal": { "drupal": {
"version": "8.x-3.0-rc7", "version": "8.x-3.0-rc9",
"datestamp": "1697193234", "datestamp": "1706705034",
"security-coverage": { "security-coverage": {
"status": "not-covered", "status": "not-covered",
"message": "RC releases are not covered by Drupal security advisories." "message": "RC releases are not covered by Drupal security advisories."
@ -2511,26 +2570,29 @@
}, },
{ {
"name": "drupal/single_content_sync", "name": "drupal/single_content_sync",
"version": "1.3.9", "version": "1.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://git.drupalcode.org/project/single_content_sync.git", "url": "https://git.drupalcode.org/project/single_content_sync.git",
"reference": "1.3.9" "reference": "1.4.4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://ftp.drupal.org/files/projects/single_content_sync-1.3.9.zip", "url": "https://ftp.drupal.org/files/projects/single_content_sync-1.4.4.zip",
"reference": "1.3.9", "reference": "1.4.4",
"shasum": "1975bd88bbd0fd9ada8f53a9c4c3296445da0f85" "shasum": "55194b9c2bd4f15dfb69d451fbef63740b68a8c5"
}, },
"require": { "require": {
"drupal/core": "^9.3 || ^10" "drupal/core": "^9.3 || ^10",
"ext-dom": "*",
"ext-zip": "*",
"php": ">=7.4"
}, },
"type": "drupal-module", "type": "drupal-module",
"extra": { "extra": {
"drupal": { "drupal": {
"version": "1.3.9", "version": "1.4.4",
"datestamp": "1679596906", "datestamp": "1699421610",
"security-coverage": { "security-coverage": {
"status": "covered", "status": "covered",
"message": "Covered by Drupal's security advisory policy" "message": "Covered by Drupal's security advisory policy"
@ -2694,16 +2756,16 @@
}, },
{ {
"name": "drush/drush", "name": "drush/drush",
"version": "12.4.4", "version": "12.5.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/drush-ops/drush.git", "url": "https://github.com/drush-ops/drush.git",
"reference": "a6585cddae47144413565f3c1cd29debc69f6b41" "reference": "71fcea30a22e7336e17be18bb5945400b2c63fad"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/drush-ops/drush/zipball/a6585cddae47144413565f3c1cd29debc69f6b41", "url": "https://api.github.com/repos/drush-ops/drush/zipball/71fcea30a22e7336e17be18bb5945400b2c63fad",
"reference": "a6585cddae47144413565f3c1cd29debc69f6b41", "reference": "71fcea30a22e7336e17be18bb5945400b2c63fad",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2826,7 +2888,7 @@
"issues": "https://github.com/drush-ops/drush/issues", "issues": "https://github.com/drush-ops/drush/issues",
"security": "https://github.com/drush-ops/drush/security/advisories", "security": "https://github.com/drush-ops/drush/security/advisories",
"slack": "https://drupal.slack.com/messages/C62H9CWQM", "slack": "https://drupal.slack.com/messages/C62H9CWQM",
"source": "https://github.com/drush-ops/drush/tree/12.4.4" "source": "https://github.com/drush-ops/drush/tree/12.5.1"
}, },
"funding": [ "funding": [
{ {
@ -2834,7 +2896,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2024-03-02T12:14:56+00:00" "time": "2024-03-20T15:03:27+00:00"
}, },
{ {
"name": "egulias/email-validator", "name": "egulias/email-validator",
@ -3399,16 +3461,16 @@
}, },
{ {
"name": "league/container", "name": "league/container",
"version": "4.2.0", "version": "4.2.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/container.git", "url": "https://github.com/thephpleague/container.git",
"reference": "375d13cb828649599ef5d48a339c4af7a26cd0ab" "reference": "ff346319ca1ff0e78277dc2311a42107cc1aab88"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/container/zipball/375d13cb828649599ef5d48a339c4af7a26cd0ab", "url": "https://api.github.com/repos/thephpleague/container/zipball/ff346319ca1ff0e78277dc2311a42107cc1aab88",
"reference": "375d13cb828649599ef5d48a339c4af7a26cd0ab", "reference": "ff346319ca1ff0e78277dc2311a42107cc1aab88",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3469,7 +3531,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/thephpleague/container/issues", "issues": "https://github.com/thephpleague/container/issues",
"source": "https://github.com/thephpleague/container/tree/4.2.0" "source": "https://github.com/thephpleague/container/tree/4.2.2"
}, },
"funding": [ "funding": [
{ {
@ -3477,7 +3539,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2021-11-16T10:29:06+00:00" "time": "2024-03-13T13:12:53+00:00"
}, },
{ {
"name": "masterminds/html5", "name": "masterminds/html5",
@ -3831,12 +3893,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pear/pear-core-minimal.git", "url": "https://github.com/pear/pear-core-minimal.git",
"reference": "d457b5c93e5001fbf4b5726d21038266e029e3be" "reference": "ce0adade8b97561656ace07cdaac4751c271ea8c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pear/pear-core-minimal/zipball/d457b5c93e5001fbf4b5726d21038266e029e3be", "url": "https://api.github.com/repos/pear/pear-core-minimal/zipball/ce0adade8b97561656ace07cdaac4751c271ea8c",
"reference": "d457b5c93e5001fbf4b5726d21038266e029e3be", "reference": "ce0adade8b97561656ace07cdaac4751c271ea8c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3872,7 +3934,7 @@
"issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=PEAR", "issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=PEAR",
"source": "https://github.com/pear/pear-core-minimal" "source": "https://github.com/pear/pear-core-minimal"
}, },
"time": "2024-03-09T19:38:40+00:00" "time": "2024-03-16T18:41:45+00:00"
}, },
{ {
"name": "pear/pear_exception", "name": "pear/pear_exception",
@ -4453,16 +4515,16 @@
}, },
{ {
"name": "psy/psysh", "name": "psy/psysh",
"version": "v0.12.0", "version": "v0.12.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/bobthecow/psysh.git", "url": "https://github.com/bobthecow/psysh.git",
"reference": "750bf031a48fd07c673dbe3f11f72362ea306d0d" "reference": "9185c66c2165bbf4d71de78a69dccf4974f9538d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/750bf031a48fd07c673dbe3f11f72362ea306d0d", "url": "https://api.github.com/repos/bobthecow/psysh/zipball/9185c66c2165bbf4d71de78a69dccf4974f9538d",
"reference": "750bf031a48fd07c673dbe3f11f72362ea306d0d", "reference": "9185c66c2165bbf4d71de78a69dccf4974f9538d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4526,9 +4588,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/bobthecow/psysh/issues", "issues": "https://github.com/bobthecow/psysh/issues",
"source": "https://github.com/bobthecow/psysh/tree/v0.12.0" "source": "https://github.com/bobthecow/psysh/tree/v0.12.2"
}, },
"time": "2023-12-20T15:28:09+00:00" "time": "2024-03-17T01:53:00+00:00"
}, },
{ {
"name": "ralouphie/getallheaders", "name": "ralouphie/getallheaders",
@ -7432,5 +7494,5 @@
"prefer-lowest": false, "prefer-lowest": false,
"platform": [], "platform": [],
"platform-dev": [], "platform-dev": [],
"plugin-api-version": "2.3.0" "plugin-api-version": "2.6.0"
} }

View File

@ -23,9 +23,9 @@ content:
weight: 101 weight: 101
region: content region: content
content_moderation_control: content_moderation_control:
weight: -20
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: -20
region: content region: content
field_media: field_media:
type: entity_reference_entity_view type: entity_reference_entity_view

View File

@ -25,9 +25,9 @@ content:
weight: 101 weight: 101
region: content region: content
content_moderation_control: content_moderation_control:
weight: -20
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: -20
region: content region: content
links: links:
settings: { } settings: { }

View File

@ -12,5 +12,6 @@ _core:
default_config_hash: pqZNtad5J9THcdbYjwPD4qINqvrTxnOd8KCWn6tUBRs default_config_hash: pqZNtad5J9THcdbYjwPD4qINqvrTxnOd8KCWn6tUBRs
id: node.diff id: node.diff
label: 'Revision comparison' label: 'Revision comparison'
description: ''
targetEntityType: node targetEntityType: node
cache: true cache: true

View File

@ -5,6 +5,7 @@ dependencies:
config: config:
- node.type.concept - node.type.concept
module: module:
- content_moderation
- node - node
- user - user
id: zadnje_spremembe id: zadnje_spremembe
@ -100,6 +101,69 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
moderation_state:
id: moderation_state
table: node_field_revision
field: moderation_state
relationship: none
group_type: group
admin_label: ''
entity_type: node
plugin_id: moderation_state_field
label: Stanje
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: content_moderation_state
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
title: title:
id: title id: title
table: node_field_revision table: node_field_revision
@ -285,17 +349,6 @@ display:
granularity: second granularity: second
arguments: { } arguments: { }
filters: filters:
status:
id: status
table: node_field_revision
field: status
entity_type: node
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
type: type:
id: type id: type
table: node_field_data table: node_field_data