Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
added short name field
Browse files Browse the repository at this point in the history
  • Loading branch information
yeniatencio committed Aug 28, 2024
1 parent dfc8068 commit 5cc338c
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
- field.field.taxonomy_term.sites.field_site_app_icon
- field.field.taxonomy_term.sites.field_print_friendly_logo
- field.field.taxonomy_term.sites.field_prominence_ack_to_country
- field.field.taxonomy_term.sites.field_short_name
- field.field.taxonomy_term.sites.field_show_table_of_contents
- field.field.taxonomy_term.sites.field_site_domains
- field.field.taxonomy_term.sites.field_site_favicon
Expand Down Expand Up @@ -178,6 +179,14 @@ content:
rows: 5
placeholder: ''
third_party_settings: { }
field_short_name:
type: string_textfield
weight: 26
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_show_table_of_contents:
type: boolean_checkbox
weight: 17
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies:
- field.field.taxonomy_term.sites.field_additional_comment
- field.field.taxonomy_term.sites.field_print_friendly_logo
- field.field.taxonomy_term.sites.field_prominence_ack_to_country
- field.field.taxonomy_term.sites.field_short_name
- field.field.taxonomy_term.sites.field_site_app_icon
- field.field.taxonomy_term.sites.field_show_table_of_contents
- field.field.taxonomy_term.sites.field_site_domains
Expand Down Expand Up @@ -69,6 +70,14 @@ content:
third_party_settings: { }
weight: 12
region: content
field_short_name:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 22
region: content
field_show_table_of_contents:
type: boolean
label: above
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 3bfef526-070c-4a20-a671-7e4cd7799bc3
langcode: en
status: true
dependencies:
config:
- field.storage.taxonomy_term.field_short_name
- taxonomy.vocabulary.sites
id: taxonomy_term.sites.field_short_name
field_name: field_short_name
entity_type: taxonomy_term
bundle: sites
label: 'Short name'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
21 changes: 21 additions & 0 deletions config/install/field.storage.taxonomy_term.field_short_name.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 8fddc614-5935-4014-8a0a-9c4a200ddea9
langcode: en
status: true
dependencies:
module:
- taxonomy
id: taxonomy_term.field_short_name
field_name: field_short_name
entity_type: taxonomy_term
type: string
settings:
max_length: 12
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

0 comments on commit 5cc338c

Please sign in to comment.