generated from druxt/module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
16 changed files
with
309 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@druxt-contrib/config-pages": patch | ||
--- | ||
|
||
fix(#20): fixed bug with getters when using multiple config pages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
uuid: c9d0c8ff-4a42-47e9-9c17-28acafed1a63 | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: test_two | ||
label: 'Test two' | ||
token: false | ||
context: | ||
show_warning: true | ||
group: | ||
language: false | ||
fallback: | ||
language: '' | ||
menu: | ||
path: '' | ||
weight: 0 | ||
description: '' |
57 changes: 57 additions & 0 deletions
57
example/drupal/config/sync/core.entity_form_display.config_pages.test_two.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
uuid: e468a010-e8be-4b67-bc35-8cd498d5796c | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- config_pages.type.test_two | ||
- field.field.config_pages.test_two.field_boolean | ||
- field.field.config_pages.test_two.field_date | ||
- field.field.config_pages.test_two.field_email | ||
- field.field.config_pages.test_two.field_file | ||
- field.field.config_pages.test_two.field_text | ||
module: | ||
- datetime | ||
- file | ||
id: config_pages.test_two.default | ||
targetEntityType: config_pages | ||
bundle: test_two | ||
mode: default | ||
content: | ||
field_boolean: | ||
type: boolean_checkbox | ||
weight: 0 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
field_date: | ||
type: datetime_default | ||
weight: 1 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_email: | ||
type: email_default | ||
weight: 2 | ||
region: content | ||
settings: | ||
placeholder: '' | ||
size: 60 | ||
third_party_settings: { } | ||
field_file: | ||
type: file_generic | ||
weight: 3 | ||
region: content | ||
settings: | ||
progress_indicator: throbber | ||
third_party_settings: { } | ||
field_text: | ||
type: string_textfield | ||
weight: 4 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
hidden: | ||
label: true |
62 changes: 62 additions & 0 deletions
62
example/drupal/config/sync/core.entity_view_display.config_pages.test_two.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
uuid: 7c3a64c9-25de-4a13-a83c-00be673838ca | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- config_pages.type.test_two | ||
- field.field.config_pages.test_two.field_boolean | ||
- field.field.config_pages.test_two.field_date | ||
- field.field.config_pages.test_two.field_email | ||
- field.field.config_pages.test_two.field_file | ||
- field.field.config_pages.test_two.field_text | ||
module: | ||
- datetime | ||
- file | ||
id: config_pages.test_two.default | ||
targetEntityType: config_pages | ||
bundle: test_two | ||
mode: default | ||
content: | ||
field_boolean: | ||
type: boolean | ||
label: above | ||
settings: | ||
format: default | ||
format_custom_false: '' | ||
format_custom_true: '' | ||
third_party_settings: { } | ||
weight: 0 | ||
region: content | ||
field_date: | ||
type: datetime_default | ||
label: above | ||
settings: | ||
timezone_override: '' | ||
format_type: medium | ||
third_party_settings: { } | ||
weight: 1 | ||
region: content | ||
field_email: | ||
type: basic_string | ||
label: above | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 2 | ||
region: content | ||
field_file: | ||
type: file_default | ||
label: above | ||
settings: | ||
use_description_as_link_text: true | ||
third_party_settings: { } | ||
weight: 3 | ||
region: content | ||
field_text: | ||
type: string | ||
label: above | ||
settings: | ||
link_to_entity: false | ||
third_party_settings: { } | ||
weight: 4 | ||
region: content | ||
hidden: { } |
23 changes: 23 additions & 0 deletions
23
example/drupal/config/sync/field.field.config_pages.test_two.field_boolean.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
uuid: cdeab64d-c160-4aab-a6a7-3bbd74297c91 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- config_pages.type.test_two | ||
- field.storage.config_pages.field_boolean | ||
id: config_pages.test_two.field_boolean | ||
field_name: field_boolean | ||
entity_type: config_pages | ||
bundle: test_two | ||
label: Boolean | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: | ||
- | ||
value: 0 | ||
default_value_callback: '' | ||
settings: | ||
on_label: 'On' | ||
off_label: 'Off' | ||
field_type: boolean |
21 changes: 21 additions & 0 deletions
21
example/drupal/config/sync/field.field.config_pages.test_two.field_date.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
uuid: a9a139ed-e3e3-4c1f-a32a-f31b19e3624e | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- config_pages.type.test_two | ||
- field.storage.config_pages.field_date | ||
module: | ||
- datetime | ||
id: config_pages.test_two.field_date | ||
field_name: field_date | ||
entity_type: config_pages | ||
bundle: test_two | ||
label: Date | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: datetime |
19 changes: 19 additions & 0 deletions
19
example/drupal/config/sync/field.field.config_pages.test_two.field_email.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
uuid: 6db627a6-8606-488d-a9c6-3156ab2f8092 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- config_pages.type.test_two | ||
- field.storage.config_pages.field_email | ||
id: config_pages.test_two.field_email | ||
field_name: field_email | ||
entity_type: config_pages | ||
bundle: test_two | ||
label: Email | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: email |
27 changes: 27 additions & 0 deletions
27
example/drupal/config/sync/field.field.config_pages.test_two.field_file.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
uuid: d613a640-826f-4486-b88a-23c19a8f3bc9 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- config_pages.type.test_two | ||
- field.storage.config_pages.field_file | ||
module: | ||
- file | ||
id: config_pages.test_two.field_file | ||
field_name: field_file | ||
entity_type: config_pages | ||
bundle: test_two | ||
label: File | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: | ||
handler: 'default:file' | ||
handler_settings: { } | ||
file_directory: '[date:custom:Y]-[date:custom:m]' | ||
file_extensions: txt | ||
max_filesize: '' | ||
description_field: false | ||
field_type: file |
19 changes: 19 additions & 0 deletions
19
example/drupal/config/sync/field.field.config_pages.test_two.field_text.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
uuid: 74f13446-76c9-41cf-b5aa-8f04f3f2855a | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- config_pages.type.test_two | ||
- field.storage.config_pages.field_text | ||
id: config_pages.test_two.field_text | ||
field_name: field_text | ||
entity_type: config_pages | ||
bundle: test_two | ||
label: Text | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
example/drupal/content/config_pages.2cea45fa-1826-4b88-8275-9a306e03a048.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"uuid": [ | ||
{ | ||
"value": "2cea45fa-1826-4b88-8275-9a306e03a048" | ||
} | ||
], | ||
"label": [ | ||
{ | ||
"value": "Test two" | ||
} | ||
], | ||
"type": [ | ||
{ | ||
"target_id": "test_two", | ||
"target_type": "config_pages_type", | ||
"target_uuid": "c9d0c8ff-4a42-47e9-9c17-28acafed1a63" | ||
} | ||
], | ||
"context": [ | ||
{ | ||
"value": "a:0:{}" | ||
} | ||
], | ||
"changed": [ | ||
{ | ||
"value": "2023-02-27T02:05:58+00:00", | ||
"format": "Y-m-d\\TH:i:sP" | ||
} | ||
], | ||
"field_boolean": [ | ||
{ | ||
"value": true | ||
} | ||
], | ||
"field_date": [ | ||
{ | ||
"value": "2023-02-27T16:50:00+00:00" | ||
} | ||
], | ||
"field_email": [ | ||
{ | ||
"value": "[email protected]" | ||
} | ||
], | ||
"field_file": [], | ||
"field_text": [ | ||
{ | ||
"value": "Text value" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters