Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andybroomfield/5531a3bb1a5dacf0c1e1de5278f9ad79 to your computer and use it in GitHub Desktop.
Save andybroomfield/5531a3bb1a5dacf0c1e1de5278f9ad79 to your computer and use it in GitHub Desktop.
Field config for test distro field to amend localgov_services_page
langcode: en
status: true
dependencies:
config:
- field.field.node.localgov_services_page.body
- field.field.node.localgov_services_page.field_common_tasks
- field.field.node.localgov_services_page.field_download_links
- field.field.node.localgov_services_page.field_hide_related_topics
- field.field.node.localgov_services_page.field_override_related_links
- field.field.node.localgov_services_page.field_page_components
- field.field.node.localgov_services_page.field_related_links
- field.field.node.localgov_services_page.localgov_services_parent
- field.field.node.localgov_services_page.localgov_topic_classified
- field.storage.node.localgov_test_distro_field
- node.type.localgov_services_page
module:
- entity_browser
- field_group
- link_attributes
- localgov_services
- path
- text
third_party_settings:
field_group:
group_description:
children:
- localgov_services_parent
- title
- body
- field_page_components
- localgov_test_distro_field
parent_name: group_tabs
weight: 7
format_type: tab
format_settings:
formatter: open
description: ''
required_fields: true
id: ''
classes: ''
label: Content
region: content
group_common_tasks:
children:
- field_common_tasks
parent_name: group_tabs
weight: 8
format_type: tab
format_settings:
formatter: closed
description: ''
required_fields: true
id: ''
classes: ''
label: 'Task buttons'
region: content
group_related_links:
children:
- field_hide_related_topics
- localgov_topic_classified
- field_override_related_links
- field_related_links
parent_name: group_tabs
weight: 9
format_type: tab
format_settings:
formatter: closed
description: ''
required_fields: true
id: ''
classes: ''
label: 'Related content'
region: content
group_tabs:
children:
- group_description
- group_common_tasks
- group_related_links
parent_name: ''
weight: 6
format_type: tabs
format_settings:
id: ''
classes: ''
direction: vertical
label: tabs
region: content
id: node.localgov_services_page.default
targetEntityType: node
bundle: localgov_services_page
mode: default
content:
body:
weight: 9
type: text_textarea_with_summary
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
region: content
created:
type: datetime_timestamp
weight: 1
region: content
settings: { }
third_party_settings: { }
field_common_tasks:
weight: 11
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
type: link_with_type
region: content
field_hide_related_topics:
weight: 7
settings:
display_label: true
third_party_settings: { }
type: boolean_checkbox
region: content
field_override_related_links:
weight: 10
settings:
display_label: true
third_party_settings: { }
type: boolean_checkbox
region: content
field_page_components:
weight: 10
settings:
entity_browser: page_components
field_widget_display: label
field_widget_edit: true
field_widget_remove: true
selection_mode: selection_append
field_widget_replace: false
open: false
field_widget_display_settings: { }
third_party_settings: { }
type: entity_browser_entity_reference
region: content
field_related_links:
weight: 11
settings:
placeholder_url: ''
placeholder_title: ''
enabled_attributes:
target: true
id: false
name: false
rel: false
class: false
accesskey: false
third_party_settings: { }
type: link_attributes
region: content
localgov_test_distro_field:
weight: 26
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
localgov_services_parent:
weight: 7
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
localgov_topic_classified:
weight: 8
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
match_limit: 10
third_party_settings: { }
region: content
type: entity_reference_autocomplete_tags
moderation_state:
type: moderation_state_default
weight: 8
settings: { }
region: content
third_party_settings: { }
path:
type: path
weight: 4
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
settings:
display_label: true
weight: 2
region: content
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 5
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 3
region: content
third_party_settings: { }
title:
type: string_textfield
weight: 8
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 0
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
match_limit: 10
region: content
third_party_settings: { }
url_redirects:
weight: 6
region: content
settings: { }
third_party_settings: { }
hidden:
field_download_links: true
langcode: en
status: true
dependencies:
config:
- field.field.node.localgov_services_page.body
- field.field.node.localgov_services_page.field_common_tasks
- field.field.node.localgov_services_page.field_download_links
- field.field.node.localgov_services_page.field_hide_related_topics
- field.field.node.localgov_services_page.field_override_related_links
- field.field.node.localgov_services_page.field_page_components
- field.field.node.localgov_services_page.field_related_links
- field.field.node.localgov_services_page.localgov_topic_classified
- field.field.node.localgov_services_page.localgov_services_parent
- field.storage.node.localgov_test_distro_field
- node.type.localgov_services_page
module:
- text
- user
id: node.localgov_services_page.default
targetEntityType: node
bundle: localgov_services_page
mode: default
content:
body:
label: hidden
weight: 0
type: text_default
settings: { }
third_party_settings: { }
region: content
field_page_components:
weight: 1
label: hidden
settings:
link: true
view_mode: default
third_party_settings: { }
type: entity_reference_entity_view
region: content
localgov_test_distro_field:
weight: 2
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
hidden:
content_moderation_control: true
field_common_tasks: true
field_download_links: true
field_hide_related_topics: true
field_override_related_links: true
field_related_links: true
localgov_topic_classified: true
links: true
localgov_services_parent: true
search_api_excerpt: true
langcode: en
status: true
dependencies:
config:
- field.storage.node.localgov_test_distro_field
- node.type.localgov_services_page
id: node.localgov_services_page.localgov_test_distro_field
field_name: localgov_test_distro_field
entity_type: node
bundle: localgov_services_page
label: 'Test distribution new field'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
langcode: en
status: true
dependencies:
module:
- node
id: node.localgov_test_distro_field
field_name: localgov_test_distro_field
entity_type: node
type: string
settings:
max_length: 255
is_ascii: false
case_sensitive: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment