Skip to content

Commit

Permalink
add temporal vocab (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
Natkeeran authored and seth-shaw-unlv committed Jan 14, 2020
1 parent 4c43156 commit 968298e
Show file tree
Hide file tree
Showing 6 changed files with 162 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
langcode: en
status: true
dependencies:
config:
- field.field.taxonomy_term.temporal.field_authority_link
- taxonomy.vocabulary.temporal
module:
- controlled_access_terms
- path
- text
id: taxonomy_term.temporal.default
targetEntityType: taxonomy_term
bundle: temporal
mode: default
content:
description:
type: text_textarea
weight: 1
region: content
settings:
placeholder: ''
rows: 5
third_party_settings: { }
field_authority_link:
weight: 2
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
type: authority_link_default
region: content
langcode:
type: language_select
weight: 3
region: content
settings:
include_locked: true
third_party_settings: { }
name:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 4
region: content
settings: { }
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
langcode: en
status: true
dependencies:
config:
- field.field.taxonomy_term.temporal.field_authority_link
- taxonomy.vocabulary.temporal
module:
- controlled_access_terms
- text
id: taxonomy_term.temporal.default
targetEntityType: taxonomy_term
bundle: temporal
mode: default
content:
description:
label: hidden
type: text_default
weight: 0
region: content
settings: { }
third_party_settings: { }
field_authority_link:
weight: 1
label: above
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: _blank
third_party_settings: { }
type: authority_formatter_default
region: content
hidden:
langcode: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
langcode: en
status: true
dependencies:
config:
- field.storage.taxonomy_term.field_authority_link
- taxonomy.vocabulary.temporal
module:
- controlled_access_terms
id: taxonomy_term.temporal.field_authority_link
field_name: field_authority_link
entity_type: taxonomy_term
bundle: temporal
label: 'Authority Sources'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
authority_sources:
lgcft: 'Library of Congress Temporal Terms'
other: Other
title: 1
link_type: 16
field_type: authority_link
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.temporal
module:
- content_translation
third_party_settings:
content_translation:
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
id: taxonomy_term.temporal
target_entity_type_id: taxonomy_term
target_bundle: temporal
default_langcode: site_default
language_alterable: true

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.temporal
module:
- taxonomy
id: taxonomy_term.temporal
targetEntityType: taxonomy_term
bundle: temporal
types:
- 'schema:Thing'
fieldMappings:
name:
properties:
- 'schema:name'
description:
properties:
- 'schema:description'
field_authority_link:
properties:
- 'schema:sameAs'

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
langcode: en
status: true
dependencies: { }
name: Temporal
vid: temporal
description: 'Used for chronological subject terms or temporal coverage.'
weight: 0

0 comments on commit 968298e

Please # to comment.