-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #279: Copy fields from Organization CT into Company profile
- Loading branch information
1 parent
13bcf01
commit b9f86fe
Showing
11 changed files
with
250 additions
and
1 deletion.
There are no files selected for viewing
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
21 changes: 21 additions & 0 deletions
21
config/default/field.field.profile.company_membership.field_company_about.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,21 @@ | ||
uuid: 2f2493c8-914b-4fec-ae80-ff568a644535 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.profile.field_company_about | ||
- profile.type.company_membership | ||
module: | ||
- text | ||
id: profile.company_membership.field_company_about | ||
field_name: field_company_about | ||
entity_type: profile | ||
bundle: company_membership | ||
label: 'O organizaci' | ||
description: '' | ||
required: true | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: text_long |
19 changes: 19 additions & 0 deletions
19
config/default/field.field.profile.company_membership.field_company_email.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,19 @@ | ||
uuid: fcd662cb-3b57-40f0-afb5-5f4091413a2d | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.profile.field_company_email | ||
- profile.type.company_membership | ||
id: profile.company_membership.field_company_email | ||
field_name: field_company_email | ||
entity_type: profile | ||
bundle: company_membership | ||
label: E-mail | ||
description: '' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: email |
28 changes: 28 additions & 0 deletions
28
config/default/field.field.profile.company_membership.field_company_logo.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,28 @@ | ||
uuid: feabe3ed-f3ab-41ad-ade1-391e9199a75d | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.profile.field_company_logo | ||
- media.type.image | ||
- profile.type.company_membership | ||
id: profile.company_membership.field_company_logo | ||
field_name: field_company_logo | ||
entity_type: profile | ||
bundle: company_membership | ||
label: Logo | ||
description: '' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: | ||
handler: 'default:media' | ||
handler_settings: | ||
target_bundles: | ||
image: image | ||
sort: | ||
field: _none | ||
auto_create: false | ||
auto_create_bundle: '' | ||
field_type: entity_reference |
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
23 changes: 23 additions & 0 deletions
23
config/default/field.field.profile.company_membership.field_company_website.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,23 @@ | ||
uuid: 53066b43-39ab-4a33-b7cc-9dc777db42e9 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.profile.field_company_website | ||
- profile.type.company_membership | ||
module: | ||
- link | ||
id: profile.company_membership.field_company_website | ||
field_name: field_company_website | ||
entity_type: profile | ||
bundle: company_membership | ||
label: 'Webové stránky' | ||
description: '' | ||
required: true | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: | ||
link_type: 16 | ||
title: 1 | ||
field_type: link |
19 changes: 19 additions & 0 deletions
19
config/default/field.storage.profile.field_company_about.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,19 @@ | ||
uuid: 813f254c-f08f-44f5-aa7d-fa9549ec7ede | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- profile | ||
- text | ||
id: profile.field_company_about | ||
field_name: field_company_about | ||
entity_type: profile | ||
type: text_long | ||
settings: { } | ||
module: text | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
18 changes: 18 additions & 0 deletions
18
config/default/field.storage.profile.field_company_email.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,18 @@ | ||
uuid: 29754522-f823-4768-a116-41c16175e114 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- profile | ||
id: profile.field_company_email | ||
field_name: field_company_email | ||
entity_type: profile | ||
type: email | ||
settings: { } | ||
module: core | ||
locked: false | ||
cardinality: -1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
20 changes: 20 additions & 0 deletions
20
config/default/field.storage.profile.field_company_logo.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,20 @@ | ||
uuid: 0e36c770-0fd7-4e93-b1d6-e4620d63beb6 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- media | ||
- profile | ||
id: profile.field_company_logo | ||
field_name: field_company_logo | ||
entity_type: profile | ||
type: entity_reference | ||
settings: | ||
target_type: media | ||
module: core | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
19 changes: 19 additions & 0 deletions
19
config/default/field.storage.profile.field_company_website.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,19 @@ | ||
uuid: 385341e0-f678-4765-a02b-d375321e3d11 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- link | ||
- profile | ||
id: profile.field_company_website | ||
field_name: field_company_website | ||
entity_type: profile | ||
type: link | ||
settings: { } | ||
module: link | ||
locked: false | ||
cardinality: -1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |