-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide Path field for Taxonomies to improve the user-experience.
Some taxonomies doesn't have entity-form-display created, so a logic is created to check it, after this validation the entity-form-display is created or updated.
- Loading branch information
1 parent
9ab2447
commit a74b63e
Showing
15 changed files
with
547 additions
and
21 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
...t_report/config/install/core.entity_form_display.taxonomy_term.report_reasons.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- taxonomy.vocabulary.report_reasons | ||
module: | ||
- text | ||
id: taxonomy_term.report_reasons.default | ||
targetEntityType: taxonomy_term | ||
bundle: report_reasons | ||
mode: default | ||
content: | ||
description: | ||
type: text_textarea | ||
weight: 1 | ||
region: content | ||
settings: | ||
rows: 5 | ||
placeholder: '' | ||
third_party_settings: { } | ||
langcode: | ||
type: language_select | ||
weight: 2 | ||
region: content | ||
settings: | ||
include_locked: true | ||
third_party_settings: { } | ||
name: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
status: | ||
type: boolean_checkbox | ||
weight: 3 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
hidden: | ||
path: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
...ocial_profile/config/install/core.entity_form_display.taxonomy_term.expertise.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- taxonomy.vocabulary.expertise | ||
module: | ||
- text | ||
id: taxonomy_term.expertise.default | ||
targetEntityType: taxonomy_term | ||
bundle: expertise | ||
mode: default | ||
content: | ||
description: | ||
type: text_textarea | ||
weight: 1 | ||
region: content | ||
settings: | ||
rows: 5 | ||
placeholder: '' | ||
third_party_settings: { } | ||
langcode: | ||
type: language_select | ||
weight: 2 | ||
region: content | ||
settings: | ||
include_locked: true | ||
third_party_settings: { } | ||
name: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
status: | ||
type: boolean_checkbox | ||
weight: 3 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
hidden: | ||
path: true |
44 changes: 44 additions & 0 deletions
44
...ocial_profile/config/install/core.entity_form_display.taxonomy_term.interests.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- taxonomy.vocabulary.interests | ||
module: | ||
- text | ||
id: taxonomy_term.interests.default | ||
targetEntityType: taxonomy_term | ||
bundle: interests | ||
mode: default | ||
content: | ||
description: | ||
type: text_textarea | ||
weight: 1 | ||
region: content | ||
settings: | ||
rows: 5 | ||
placeholder: '' | ||
third_party_settings: { } | ||
langcode: | ||
type: language_select | ||
weight: 2 | ||
region: content | ||
settings: | ||
include_locked: true | ||
third_party_settings: { } | ||
name: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
status: | ||
type: boolean_checkbox | ||
weight: 3 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
hidden: | ||
path: true |
44 changes: 44 additions & 0 deletions
44
...ial_profile/config/install/core.entity_form_display.taxonomy_term.profile_tag.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- taxonomy.vocabulary.profile_tag | ||
module: | ||
- text | ||
id: taxonomy_term.profile_tag.default | ||
targetEntityType: taxonomy_term | ||
bundle: profile_tag | ||
mode: default | ||
content: | ||
description: | ||
type: text_textarea | ||
weight: 1 | ||
region: content | ||
settings: | ||
rows: 5 | ||
placeholder: '' | ||
third_party_settings: { } | ||
langcode: | ||
type: language_select | ||
weight: 2 | ||
region: content | ||
settings: | ||
include_locked: true | ||
third_party_settings: { } | ||
name: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
status: | ||
type: boolean_checkbox | ||
weight: 3 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
hidden: | ||
path: true |
44 changes: 44 additions & 0 deletions
44
...file_fields/config/install/core.entity_form_display.taxonomy_term.nationality.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- taxonomy.vocabulary.nationality | ||
module: | ||
- text | ||
id: taxonomy_term.nationality.default | ||
targetEntityType: taxonomy_term | ||
bundle: nationality | ||
mode: default | ||
content: | ||
description: | ||
type: text_textarea | ||
weight: 1 | ||
region: content | ||
settings: | ||
rows: 5 | ||
placeholder: '' | ||
third_party_settings: { } | ||
langcode: | ||
type: language_select | ||
weight: 2 | ||
region: content | ||
settings: | ||
include_locked: true | ||
third_party_settings: { } | ||
name: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
status: | ||
type: boolean_checkbox | ||
weight: 3 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
hidden: | ||
path: true |
Oops, something went wrong.