diff --git a/config/default/core.entity_form_display.profile.company_membership.default.yml b/config/default/core.entity_form_display.profile.company_membership.default.yml index 42f593b74..65ffe3017 100644 --- a/config/default/core.entity_form_display.profile.company_membership.default.yml +++ b/config/default/core.entity_form_display.profile.company_membership.default.yml @@ -3,13 +3,45 @@ langcode: en status: true dependencies: config: + - field.field.profile.company_membership.field_company_about + - field.field.profile.company_membership.field_company_email + - field.field.profile.company_membership.field_company_logo - field.field.profile.company_membership.field_company_member + - field.field.profile.company_membership.field_company_website - profile.type.company_membership + module: + - link + - text id: profile.company_membership.default targetEntityType: profile bundle: company_membership mode: default content: + field_company_about: + weight: 2 + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + type: text_textarea + region: content + field_company_email: + weight: 5 + settings: + size: 60 + placeholder: '' + third_party_settings: { } + type: email_default + region: content + field_company_logo: + weight: 4 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + third_party_settings: { } + type: entity_reference_autocomplete + region: content field_company_member: weight: 0 settings: @@ -19,4 +51,12 @@ content: third_party_settings: { } type: entity_reference_autocomplete region: content + field_company_website: + weight: 3 + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + type: link_default + region: content hidden: { } diff --git a/config/default/core.entity_view_display.profile.company_membership.default.yml b/config/default/core.entity_view_display.profile.company_membership.default.yml index b5709a75f..78818f848 100644 --- a/config/default/core.entity_view_display.profile.company_membership.default.yml +++ b/config/default/core.entity_view_display.profile.company_membership.default.yml @@ -3,13 +3,43 @@ langcode: en status: true dependencies: config: + - field.field.profile.company_membership.field_company_about + - field.field.profile.company_membership.field_company_email + - field.field.profile.company_membership.field_company_logo - field.field.profile.company_membership.field_company_member + - field.field.profile.company_membership.field_company_website - profile.type.company_membership + module: + - link + - text id: profile.company_membership.default targetEntityType: profile bundle: company_membership mode: default content: + field_company_about: + weight: 2 + label: above + settings: { } + third_party_settings: { } + type: text_default + region: content + field_company_email: + weight: 5 + label: above + settings: { } + third_party_settings: { } + type: basic_string + region: content + field_company_logo: + type: entity_reference_entity_view + weight: 4 + label: above + settings: + view_mode: default + link: false + third_party_settings: { } + region: content field_company_member: weight: 0 label: above @@ -18,4 +48,16 @@ content: third_party_settings: { } type: entity_reference_label region: content + field_company_website: + weight: 3 + label: above + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + type: link + region: content hidden: { } diff --git a/config/default/field.field.profile.company_membership.field_company_about.yml b/config/default/field.field.profile.company_membership.field_company_about.yml new file mode 100644 index 000000000..4140141ae --- /dev/null +++ b/config/default/field.field.profile.company_membership.field_company_about.yml @@ -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 diff --git a/config/default/field.field.profile.company_membership.field_company_email.yml b/config/default/field.field.profile.company_membership.field_company_email.yml new file mode 100644 index 000000000..1ed5dd1b9 --- /dev/null +++ b/config/default/field.field.profile.company_membership.field_company_email.yml @@ -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 diff --git a/config/default/field.field.profile.company_membership.field_company_logo.yml b/config/default/field.field.profile.company_membership.field_company_logo.yml new file mode 100644 index 000000000..f765a4663 --- /dev/null +++ b/config/default/field.field.profile.company_membership.field_company_logo.yml @@ -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 diff --git a/config/default/field.field.profile.company_membership.field_company_member.yml b/config/default/field.field.profile.company_membership.field_company_member.yml index fa522ebc6..c3d8b3d24 100644 --- a/config/default/field.field.profile.company_membership.field_company_member.yml +++ b/config/default/field.field.profile.company_membership.field_company_member.yml @@ -9,7 +9,7 @@ id: profile.company_membership.field_company_member field_name: field_company_member entity_type: profile bundle: company_membership -label: 'Company member' +label: 'Naši lidé' description: 'Kdo patří do této firmy?' required: false translatable: false diff --git a/config/default/field.field.profile.company_membership.field_company_website.yml b/config/default/field.field.profile.company_membership.field_company_website.yml new file mode 100644 index 000000000..901013877 --- /dev/null +++ b/config/default/field.field.profile.company_membership.field_company_website.yml @@ -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 diff --git a/config/default/field.storage.profile.field_company_about.yml b/config/default/field.storage.profile.field_company_about.yml new file mode 100644 index 000000000..26e68d132 --- /dev/null +++ b/config/default/field.storage.profile.field_company_about.yml @@ -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 diff --git a/config/default/field.storage.profile.field_company_email.yml b/config/default/field.storage.profile.field_company_email.yml new file mode 100644 index 000000000..af86d61e7 --- /dev/null +++ b/config/default/field.storage.profile.field_company_email.yml @@ -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 diff --git a/config/default/field.storage.profile.field_company_logo.yml b/config/default/field.storage.profile.field_company_logo.yml new file mode 100644 index 000000000..98e16e08f --- /dev/null +++ b/config/default/field.storage.profile.field_company_logo.yml @@ -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 diff --git a/config/default/field.storage.profile.field_company_website.yml b/config/default/field.storage.profile.field_company_website.yml new file mode 100644 index 000000000..7ce559ca6 --- /dev/null +++ b/config/default/field.storage.profile.field_company_website.yml @@ -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