Skip to content

Commit

Permalink
Added form and view for authority link in resource types vocabulary (#51
Browse files Browse the repository at this point in the history
)

* Added form and view for authority link in resource types vocabulary
* Replaces field_external_authority_link and with field_authority_link in resource_types vocabulary
  • Loading branch information
bseeger authored May 7, 2020
1 parent e448940 commit 56ba6f7
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
langcode: en
status: true
dependencies:
config:
- field.field.taxonomy_term.resource_types.field_authority_link
- taxonomy.vocabulary.resource_types
module:
- controlled_access_terms
- link
- path
- text
id: taxonomy_term.resource_types.default
targetEntityType: taxonomy_term
bundle: resource_types
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: 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: 5
region: content
settings: { }
third_party_settings: { }
translation:
weight: 4
region: content
settings: { }
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
langcode: en
status: true
dependencies:
config:
- field.field.taxonomy_term.resource_types.field_authority_link
- taxonomy.vocabulary.resource_types
module:
- controlled_access_terms
- link
- text
id: taxonomy_term.resource_types.default
targetEntityType: taxonomy_term
bundle: resource_types
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: ''
third_party_settings: { }
type: link
region: content
hidden:
langcode: true
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ langcode: en
status: true
dependencies:
config:
- field.storage.taxonomy_term.field_external_authority_link
- field.storage.taxonomy_term.field_authority_link
- taxonomy.vocabulary.resource_types
module:
- controlled_access_terms
id: taxonomy_term.resource_types.field_external_authority_link
field_name: field_external_authority_link
id: taxonomy_term.resource_types.field_authority_link
field_name: field_authority_link
entity_type: taxonomy_term
bundle: resource_types
label: 'External Authority Link'
label: 'Authority Sources'
description: ''
required: false
translatable: true
Expand Down

This file was deleted.

0 comments on commit 56ba6f7

Please sign in to comment.