Skip to content

Commit

Permalink
LOYALIST-58 Add missing fields: Loyalist Record content type
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmcd75 committed May 2, 2024
1 parent 74f704e commit dcc8515
Show file tree
Hide file tree
Showing 5 changed files with 686 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uuid: f3cb010e-9ed9-417c-8425-1cceb3d25d48
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_document_id
- node.type.loyalist_record
id: node.loyalist_record.field_document_id
field_name: field_document_id
entity_type: node
bundle: loyalist_record
label: 'Database ID'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
min: null
max: null
prefix: ''
suffix: ''
field_type: integer
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: ef5b6784-281f-4fe1-9c1e-09848ec67271
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_issuing_body
- node.type.loyalist_record
- taxonomy.vocabulary.issuing_body
id: node.loyalist_record.field_issuing_body
field_name: field_issuing_body
entity_type: node
bundle: loyalist_record
label: Creator
description: "If a Creator term contains 1+ commas please wrap inside quotation marks.<br />\r\n<b>Example: </b><code>\"Pitt, William, 1759-1806\"</code>"
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
issuing_body: issuing_body
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
20 changes: 20 additions & 0 deletions configuration/field.storage.node.field_document_id.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: a304438f-34b4-4e09-9f52-bfe3b52d767e
langcode: en
status: true
dependencies:
module:
- node
id: node.field_document_id
field_name: field_document_id
entity_type: node
type: integer
settings:
unsigned: false
size: normal
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
20 changes: 20 additions & 0 deletions configuration/field.storage.node.field_issuing_body.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: aea372d3-520f-479e-96a2-f395dc050e77
langcode: en
status: true
dependencies:
module:
- node
- taxonomy
id: node.field_issuing_body
field_name: field_issuing_body
entity_type: node
type: entity_reference
settings:
target_type: taxonomy_term
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Loading

0 comments on commit dcc8515

Please sign in to comment.