-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* D8Core-7476: new field for site type * D8Core-7476: putting stuff in the right spot
- Loading branch information
1 parent
7c8d948
commit e15c682
Showing
4 changed files
with
103 additions
and
9 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
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
21 changes: 21 additions & 0 deletions
21
config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_type.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: 18918dc6-5dca-49ee-be52-a2d0c57ac172 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- config_pages.type.stanford_basic_site_settings | ||
- field.storage.config_pages.su_site_type | ||
module: | ||
- options | ||
id: config_pages.stanford_basic_site_settings.su_site_type | ||
field_name: su_site_type | ||
entity_type: config_pages | ||
bundle: stanford_basic_site_settings | ||
label: 'Site Type' | ||
description: "What kind of site is this?\r\n" | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: list_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
uuid: aef7044a-cf89-41f3-b683-aff011270c5b | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- config_pages | ||
- field_permissions | ||
- options | ||
third_party_settings: | ||
field_permissions: | ||
permission_type: custom | ||
id: config_pages.su_site_type | ||
field_name: su_site_type | ||
entity_type: config_pages | ||
type: list_string | ||
settings: | ||
allowed_values: | ||
- | ||
value: administrative | ||
label: Administrative | ||
- | ||
value: academic | ||
label: Academic | ||
- | ||
value: faculty | ||
label: Faculty | ||
- | ||
value: research | ||
label: Research | ||
- | ||
value: personal | ||
label: Personal | ||
- | ||
value: community | ||
label: Community | ||
- | ||
value: project | ||
label: Project | ||
- | ||
value: course | ||
label: Course | ||
- | ||
value: service_facility | ||
label: Service/Facility | ||
- | ||
value: other | ||
label: Other | ||
allowed_values_function: '' | ||
module: options | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |