diff --git a/modules/controlled_access_terms_defaults/config/install/core.entity_form_display.taxonomy_term.resource_types.default.yml b/modules/controlled_access_terms_defaults/config/install/core.entity_form_display.taxonomy_term.resource_types.default.yml new file mode 100644 index 0000000..c64c15a --- /dev/null +++ b/modules/controlled_access_terms_defaults/config/install/core.entity_form_display.taxonomy_term.resource_types.default.yml @@ -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: { } diff --git a/modules/controlled_access_terms_defaults/config/install/core.entity_view_display.taxonomy_term.resource_types.default.yml b/modules/controlled_access_terms_defaults/config/install/core.entity_view_display.taxonomy_term.resource_types.default.yml new file mode 100644 index 0000000..8812925 --- /dev/null +++ b/modules/controlled_access_terms_defaults/config/install/core.entity_view_display.taxonomy_term.resource_types.default.yml @@ -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 diff --git a/modules/controlled_access_terms_defaults/config/install/field.field.taxonomy_term.resource_types.field_external_authority_link.yml b/modules/controlled_access_terms_defaults/config/install/field.field.taxonomy_term.resource_types.field_authority_link.yml similarity index 69% rename from modules/controlled_access_terms_defaults/config/install/field.field.taxonomy_term.resource_types.field_external_authority_link.yml rename to modules/controlled_access_terms_defaults/config/install/field.field.taxonomy_term.resource_types.field_authority_link.yml index 2c44d20..3f08212 100644 --- a/modules/controlled_access_terms_defaults/config/install/field.field.taxonomy_term.resource_types.field_external_authority_link.yml +++ b/modules/controlled_access_terms_defaults/config/install/field.field.taxonomy_term.resource_types.field_authority_link.yml @@ -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 diff --git a/modules/controlled_access_terms_defaults/config/install/field.storage.taxonomy_term.field_external_authority_link.yml b/modules/controlled_access_terms_defaults/config/install/field.storage.taxonomy_term.field_external_authority_link.yml deleted file mode 100644 index c392d18..0000000 --- a/modules/controlled_access_terms_defaults/config/install/field.storage.taxonomy_term.field_external_authority_link.yml +++ /dev/null @@ -1,17 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - taxonomy -id: taxonomy_term.field_external_authority_link -field_name: field_external_authority_link -entity_type: taxonomy_term -type: authority_link -settings: { } -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false