From 973ac75b1994043360b8e62cd0c83461310ee728 Mon Sep 17 00:00:00 2001 From: oskkw Date: Wed, 3 Jul 2019 17:29:48 +0530 Subject: custom module added --- modules/kalpesh/members/composer.json | 13 + ...ase_field_override.node.members.promote.yml.yml | 21 ++ ...re.entity_form_display.node.members.default.yml | 155 +++++++++ ...re.entity_view_display.node.members.default.yml | 368 +++++++++++++++++++++ ...ore.entity_view_display.node.members.teaser.yml | 30 ++ .../install/field.field.node.members.body.yml | 21 ++ .../field.field.node.members.field_category.yml | 28 ++ .../field.field.node.members.field_designation.yml | 18 + ...ield.field.node.members.field_email_members.yml | 18 + ...eld.node.members.field_file_uploads_members.yml | 26 ++ ....field.node.members.field_full_name_members.yml | 53 +++ ...ield.field.node.members.field_image_members.yml | 37 +++ ...d.field.node.members.field_location_members.yml | 18 + ...d.field.node.members.field_phone_no_members.yml | 18 + .../install/field.storage.node.field_category.yml | 19 ++ .../field.storage.node.field_designation.yml | 20 ++ .../field.storage.node.field_email_members.yml | 17 + ...eld.storage.node.field_file_uploads_members.yml | 22 ++ .../field.storage.node.field_full_name_members.yml | 88 +++++ .../field.storage.node.field_image_members.yml | 29 ++ .../field.storage.node.field_location_members.yml | 20 ++ .../field.storage.node.field_phone_no_members.yml | 20 ++ .../image.style.group_research_area_image.yml | 14 + .../members/config/install/node.type.members.yml | 17 + .../install/taxonomy.vocabulary.category.yml | 8 + modules/kalpesh/members/members.info.yml | 19 ++ modules/kalpesh/members/members.install | 26 ++ modules/kalpesh/members/members.module | 35 ++ .../kalpesh/members/templates/members.html.twig | 1 + .../members/tests/src/Functional/LoadTest.php | 46 +++ 30 files changed, 1225 insertions(+) create mode 100644 modules/kalpesh/members/composer.json create mode 100644 modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml.yml create mode 100644 modules/kalpesh/members/config/install/core.entity_form_display.node.members.default.yml create mode 100644 modules/kalpesh/members/config/install/core.entity_view_display.node.members.default.yml create mode 100644 modules/kalpesh/members/config/install/core.entity_view_display.node.members.teaser.yml create mode 100644 modules/kalpesh/members/config/install/field.field.node.members.body.yml create mode 100644 modules/kalpesh/members/config/install/field.field.node.members.field_category.yml create mode 100644 modules/kalpesh/members/config/install/field.field.node.members.field_designation.yml create mode 100644 modules/kalpesh/members/config/install/field.field.node.members.field_email_members.yml create mode 100644 modules/kalpesh/members/config/install/field.field.node.members.field_file_uploads_members.yml create mode 100644 modules/kalpesh/members/config/install/field.field.node.members.field_full_name_members.yml create mode 100644 modules/kalpesh/members/config/install/field.field.node.members.field_image_members.yml create mode 100644 modules/kalpesh/members/config/install/field.field.node.members.field_location_members.yml create mode 100644 modules/kalpesh/members/config/install/field.field.node.members.field_phone_no_members.yml create mode 100644 modules/kalpesh/members/config/install/field.storage.node.field_category.yml create mode 100644 modules/kalpesh/members/config/install/field.storage.node.field_designation.yml create mode 100644 modules/kalpesh/members/config/install/field.storage.node.field_email_members.yml create mode 100644 modules/kalpesh/members/config/install/field.storage.node.field_file_uploads_members.yml create mode 100644 modules/kalpesh/members/config/install/field.storage.node.field_full_name_members.yml create mode 100644 modules/kalpesh/members/config/install/field.storage.node.field_image_members.yml create mode 100644 modules/kalpesh/members/config/install/field.storage.node.field_location_members.yml create mode 100644 modules/kalpesh/members/config/install/field.storage.node.field_phone_no_members.yml create mode 100644 modules/kalpesh/members/config/install/image.style.group_research_area_image.yml create mode 100644 modules/kalpesh/members/config/install/node.type.members.yml create mode 100644 modules/kalpesh/members/config/install/taxonomy.vocabulary.category.yml create mode 100644 modules/kalpesh/members/members.info.yml create mode 100644 modules/kalpesh/members/members.install create mode 100644 modules/kalpesh/members/members.module create mode 100644 modules/kalpesh/members/templates/members.html.twig create mode 100644 modules/kalpesh/members/tests/src/Functional/LoadTest.php (limited to 'modules/kalpesh/members') diff --git a/modules/kalpesh/members/composer.json b/modules/kalpesh/members/composer.json new file mode 100644 index 0000000..95e4284 --- /dev/null +++ b/modules/kalpesh/members/composer.json @@ -0,0 +1,13 @@ +{ + "name": "members", + "type": "drupal-module", + "description": "This modole store members details", + "keywords": [ + ], + "homepage": "https://www.drupal.org/project/members", + "minimum-stability": "dev", + "support": { + "issues": "https://www.drupal.org/project/issues/members", + "source": "http://cgit.drupalcode.org/members", + }, +} diff --git a/modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml.yml b/modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml.yml new file mode 100644 index 0000000..266013a --- /dev/null +++ b/modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml.yml @@ -0,0 +1,21 @@ +langcode: en +status: true +dependencies: + config: + - node.type.members +id: node.members.promote +field_name: promote +entity_type: node +bundle: members +label: 'Promoted to front page' +description: '' +required: false +translatable: true +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: 'On' + off_label: 'Off' +field_type: boolean diff --git a/modules/kalpesh/members/config/install/core.entity_form_display.node.members.default.yml b/modules/kalpesh/members/config/install/core.entity_form_display.node.members.default.yml new file mode 100644 index 0000000..94883f3 --- /dev/null +++ b/modules/kalpesh/members/config/install/core.entity_form_display.node.members.default.yml @@ -0,0 +1,155 @@ +langcode: en +status: true +dependencies: + config: + - field.field.node.members.body + - field.field.node.members.field_category + - field.field.node.members.field_designation + - field.field.node.members.field_email_members + - field.field.node.members.field_file_uploads_members + - field.field.node.members.field_full_name_members + - field.field.node.members.field_image_members + - field.field.node.members.field_location_members + - field.field.node.members.field_phone_no_members + - image.style.thumbnail + - node.type.members + module: + - file + - image + - name + - path + - text +id: node.members.default +targetEntityType: node +bundle: members +mode: default +content: + body: + type: text_textarea_with_summary + weight: 121 + settings: + rows: 9 + summary_rows: 3 + placeholder: '' + third_party_settings: { } + region: content + created: + type: datetime_timestamp + weight: 10 + region: content + settings: { } + third_party_settings: { } + field_category: + weight: 123 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + third_party_settings: { } + type: entity_reference_autocomplete + region: content + field_designation: + weight: 124 + settings: + size: 60 + placeholder: '' + third_party_settings: { } + type: string_textfield + region: content + field_email_members: + weight: 125 + settings: + size: 60 + placeholder: '' + third_party_settings: { } + type: email_default + region: content + field_file_uploads_members: + weight: 127 + settings: + progress_indicator: throbber + third_party_settings: { } + type: file_generic + region: content + field_full_name_members: + weight: 122 + settings: { } + third_party_settings: { } + type: name_default + region: content + field_image_members: + weight: 126 + settings: + progress_indicator: throbber + preview_image_style: thumbnail + third_party_settings: { } + type: image_image + region: content + field_location_members: + weight: 128 + settings: + size: 60 + placeholder: '' + third_party_settings: { } + type: string_textfield + region: content + field_phone_no_members: + weight: 129 + settings: + size: 60 + placeholder: '' + third_party_settings: { } + type: string_textfield + region: content + langcode: + type: language_select + weight: 2 + region: content + settings: + include_locked: true + third_party_settings: { } + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } + promote: + type: boolean_checkbox + settings: + display_label: true + weight: 15 + region: content + third_party_settings: { } + status: + type: boolean_checkbox + settings: + display_label: true + weight: 120 + region: content + third_party_settings: { } + sticky: + type: boolean_checkbox + settings: + display_label: true + weight: 16 + region: content + third_party_settings: { } + title: + type: string_textfield + weight: -5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + uid: + type: entity_reference_autocomplete + weight: 5 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + region: content + third_party_settings: { } +hidden: { } diff --git a/modules/kalpesh/members/config/install/core.entity_view_display.node.members.default.yml b/modules/kalpesh/members/config/install/core.entity_view_display.node.members.default.yml new file mode 100644 index 0000000..f47b19f --- /dev/null +++ b/modules/kalpesh/members/config/install/core.entity_view_display.node.members.default.yml @@ -0,0 +1,368 @@ +langcode: en +status: true +dependencies: + config: + - field.field.node.members.body + - field.field.node.members.field_category + - field.field.node.members.field_designation + - field.field.node.members.field_email_members + - field.field.node.members.field_file_uploads_members + - field.field.node.members.field_full_name_members + - field.field.node.members.field_image_members + - field.field.node.members.field_location_members + - field.field.node.members.field_phone_no_members + - image.style.group_research_area_image + - node.type.members + module: + - ds + - file + - image + - name + - text + - user +third_party_settings: + ds: + layout: + id: ds_1col + library: null + disable_css: false + entity_classes: all_classes + settings: + wrappers: + ds_content: div + outer_wrapper: div + attributes: '' + link_attribute: '' + link_custom: '' + classes: + layout_class: { } + ds_content: { } + regions: + ds_content: + - links + - field_image_members + - body + - field_full_name_members + - field_email_members + - field_category + - field_designation + - field_location_members + - field_phone_no_members + - field_file_uploads_members +id: node.members.default +targetEntityType: node +bundle: members +mode: default +content: + body: + label: hidden + type: text_default + weight: 2 + settings: { } + third_party_settings: { } + region: ds_content + field_category: + weight: 5 + label: inline + settings: + link: true + third_party_settings: + ds: + ft: + id: expert + settings: + lb: '' + prefix: '' + lbw: true + lbw-el: 'div ' + lbw-cl: 'col-sm-2 fw-bold mb-10 mt-10' + lbw-at: '' + ow: true + ow-el: div + ow-cl: row + ow-at: '' + fis-el: '' + fis-cl: '' + fis-at: '' + fi: true + fi-el: div + fi-cl: 'col-sm-10 mb-10 mt-10' + fi-at: '' + suffix: '' + lb-col: false + ow-def-at: false + ow-def-cl: false + fis: false + fis-def-at: false + fi-def-at: false + type: entity_reference_label + region: ds_content + field_designation: + weight: 6 + label: inline + settings: + link_to_entity: false + third_party_settings: + ds: + ft: + id: expert + settings: + lb: '' + prefix: '' + lbw: true + lbw-el: div + lbw-cl: 'col-sm-2 fw-bold mb-10 mt-10' + lbw-at: '' + ow: true + ow-el: div + ow-cl: row + ow-at: '' + fis-el: '' + fis-cl: '' + fis-at: '' + fi: true + fi-el: div + fi-cl: 'col-sm-10 mb-10 mt-10' + fi-at: '' + suffix: '' + lb-col: false + ow-def-at: false + ow-def-cl: false + fis: false + fis-def-at: false + fi-def-at: false + type: string + region: ds_content + field_email_members: + weight: 4 + label: inline + settings: { } + third_party_settings: + ds: + ds_limit: '' + ft: + id: expert + settings: + lb: '' + prefix: '' + lbw: true + lbw-el: 'div ' + lbw-cl: 'col-sm-2 fw-bold mb-10 mt-10' + lbw-at: '' + ow: true + ow-el: div + ow-cl: row + ow-at: '' + fis-el: '' + fis-cl: '' + fis-at: '' + fi: true + fi-el: div + fi-cl: 'col-sm-10 mb-10 mt-10' + fi-at: '' + suffix: '' + lb-col: false + ow-def-at: false + ow-def-cl: false + fis: false + fis-def-at: false + fi-def-at: false + type: basic_string + region: ds_content + field_file_uploads_members: + weight: 9 + label: inline + settings: + use_description_as_link_text: true + third_party_settings: + ds: + ft: + id: expert + settings: + lb: '' + prefix: '' + lbw: true + lbw-el: div + lbw-cl: 'col-sm-2 mb-10 mt-10' + lbw-at: '' + ow: true + ow-el: div + ow-cl: row + ow-at: '' + fis-el: '' + fis-cl: '' + fis-at: '' + fi: true + fi-el: div + fi-cl: 'col-sm-10 mb-10 mt-10' + fi-at: '' + suffix: '' + lb-col: false + ow-def-at: false + ow-def-cl: false + fis: false + fis-def-at: false + fi-def-at: false + type: file_default + region: ds_content + field_full_name_members: + weight: 3 + label: inline + settings: + format: default + output: default + multiple: default + multiple_delimiter: ', ' + multiple_and: text + multiple_delimiter_precedes_last: never + multiple_el_al_min: '3' + multiple_el_al_first: '1' + markup: false + third_party_settings: + ds: + ft: + id: expert + settings: + lb: '' + prefix: '' + lbw: true + lbw-el: 'div ' + lbw-cl: 'col-sm-2 fw-bold mt-10 mb-10' + lbw-at: '' + ow: true + ow-el: div + ow-cl: row + ow-at: '' + fis: true + fis-el: '' + fis-cl: '' + fis-at: '' + fi: true + fi-el: div + fi-cl: 'col-sm-10 mb-10 mt-10' + fi-at: '' + suffix: '' + lb-col: false + ow-def-at: false + ow-def-cl: false + fis-def-at: false + fi-def-at: false + type: name_default + region: ds_content + field_image_members: + weight: 1 + label: hidden + settings: + image_style: group_research_area_image + image_link: '' + third_party_settings: + ds: + ft: + id: expert + settings: + lb: '' + prefix: '' + lbw-el: '' + lbw-cl: '' + lbw-at: '' + ow-el: '' + ow-cl: '' + ow-at: '' + fis-el: '' + fis-cl: '' + fis-at: '' + fi-el: '' + fi-cl: '' + fi-at: '' + suffix: '' + lbw: false + lb-col: false + ow: false + ow-def-at: false + ow-def-cl: false + fis: false + fis-def-at: false + fi: false + fi-def-at: false + type: image + region: ds_content + field_location_members: + weight: 7 + label: inline + settings: + link_to_entity: false + third_party_settings: + ds: + ft: + id: expert + settings: + lb: '' + prefix: '' + lbw: true + lbw-el: div + lbw-cl: 'col-sm-2 fw-bold mb-10 mt-10' + lbw-at: '' + ow: true + ow-el: div + ow-cl: row + ow-at: '' + fis-el: '' + fis-cl: '' + fis-at: '' + fi: true + fi-el: div + fi-cl: 'col-sm-10 mb-10 mt-10' + fi-at: '' + suffix: '' + lb-col: false + ow-def-at: false + ow-def-cl: false + fis: false + fis-def-at: false + fi-def-at: false + type: string + region: ds_content + field_phone_no_members: + weight: 8 + label: inline + settings: + link_to_entity: false + third_party_settings: + ds: + ds_limit: '' + ft: + id: expert + settings: + lb: '' + prefix: '' + lbw: true + lbw-el: div + lbw-cl: 'col-sm-2 fw-bold mb-10 mt-10' + lbw-at: '' + ow: true + ow-el: div + ow-cl: row + ow-at: '' + fis-el: '' + fis-cl: '' + fis-at: '' + fi: true + fi-el: div + fi-cl: 'col-sm-10 mb-10 mt-10' + fi-at: '' + suffix: '' + lb-col: false + ow-def-at: false + ow-def-cl: false + fis: false + fis-def-at: false + fi-def-at: false + type: string + region: ds_content + links: + weight: 0 + region: ds_content + settings: { } + third_party_settings: { } +hidden: + langcode: true diff --git a/modules/kalpesh/members/config/install/core.entity_view_display.node.members.teaser.yml b/modules/kalpesh/members/config/install/core.entity_view_display.node.members.teaser.yml new file mode 100644 index 0000000..d8df68b --- /dev/null +++ b/modules/kalpesh/members/config/install/core.entity_view_display.node.members.teaser.yml @@ -0,0 +1,30 @@ +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.members.body + - node.type.members + module: + - text + - user +id: node.members.teaser +targetEntityType: node +bundle: members +mode: teaser +content: + body: + label: hidden + type: text_summary_or_trimmed + weight: 101 + settings: + trim_length: 600 + third_party_settings: { } + region: content + links: + weight: 100 + settings: { } + third_party_settings: { } + region: content +hidden: + langcode: true diff --git a/modules/kalpesh/members/config/install/field.field.node.members.body.yml b/modules/kalpesh/members/config/install/field.field.node.members.body.yml new file mode 100644 index 0000000..894429a --- /dev/null +++ b/modules/kalpesh/members/config/install/field.field.node.members.body.yml @@ -0,0 +1,21 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.body + - node.type.members + module: + - text +id: node.members.body +field_name: body +entity_type: node +bundle: members +label: Body +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + display_summary: true +field_type: text_with_summary diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_category.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_category.yml new file mode 100644 index 0000000..dcfd854 --- /dev/null +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_category.yml @@ -0,0 +1,28 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_category + - node.type.members + - taxonomy.vocabulary.category +id: node.members.field_category +field_name: field_category +entity_type: node +bundle: members +label: Category +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + category: category + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_designation.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_designation.yml new file mode 100644 index 0000000..5161891 --- /dev/null +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_designation.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_designation + - node.type.members +id: node.members.field_designation +field_name: field_designation +entity_type: node +bundle: members +label: Designation +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_email_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_email_members.yml new file mode 100644 index 0000000..61be715 --- /dev/null +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_email_members.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_email_members + - node.type.members +id: node.members.field_email_members +field_name: field_email_members +entity_type: node +bundle: members +label: Email +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: email diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_file_uploads_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_file_uploads_members.yml new file mode 100644 index 0000000..8fc3f17 --- /dev/null +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_file_uploads_members.yml @@ -0,0 +1,26 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_file_uploads_members + - node.type.members + module: + - file +id: node.members.field_file_uploads_members +field_name: field_file_uploads_members +entity_type: node +bundle: members +label: 'File uploads' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + file_directory: members + file_extensions: 'txt pdf' + max_filesize: '' + description_field: false + handler: 'default:file' + handler_settings: { } +field_type: file diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_full_name_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_full_name_members.yml new file mode 100644 index 0000000..42266a7 --- /dev/null +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_full_name_members.yml @@ -0,0 +1,53 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_full_name_members + - node.type.members + module: + - name +id: node.members.field_full_name_members +field_name: field_full_name_members +entity_type: node +bundle: members +label: 'Full Name' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + size: + title: 6 + given: 20 + middle: 20 + family: 20 + generational: 5 + credentials: 35 + title_display: + title: description + given: description + middle: description + family: description + generational: description + credentials: description + field_type: + title: select + given: text + middle: text + family: text + generational: select + credentials: text + inline_css: + title: '' + given: '' + middle: '' + family: '' + generational: '' + credentials: '' + component_css: '' + component_layout: default + show_component_required_marker: false + credentials_inline: false + override_format: default +field_type: name diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_image_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_image_members.yml new file mode 100644 index 0000000..8c08edd --- /dev/null +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_image_members.yml @@ -0,0 +1,37 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_image_members + - node.type.members + module: + - image +id: node.members.field_image_members +field_name: field_image_members +entity_type: node +bundle: members +label: Image +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + file_directory: members + file_extensions: 'png gif jpg jpeg' + max_filesize: '' + max_resolution: '' + min_resolution: '' + alt_field: true + alt_field_required: false + title_field: false + title_field_required: false + default_image: + uuid: '' + alt: '' + title: '' + width: null + height: null + handler: 'default:file' + handler_settings: { } +field_type: image diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_location_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_location_members.yml new file mode 100644 index 0000000..7e9f46f --- /dev/null +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_location_members.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_location_members + - node.type.members +id: node.members.field_location_members +field_name: field_location_members +entity_type: node +bundle: members +label: Location +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_phone_no_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_phone_no_members.yml new file mode 100644 index 0000000..c9cda10 --- /dev/null +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_phone_no_members.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_phone_no_members + - node.type.members +id: node.members.field_phone_no_members +field_name: field_phone_no_members +entity_type: node +bundle: members +label: 'Phone No ' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_category.yml b/modules/kalpesh/members/config/install/field.storage.node.field_category.yml new file mode 100644 index 0000000..0af8ae6 --- /dev/null +++ b/modules/kalpesh/members/config/install/field.storage.node.field_category.yml @@ -0,0 +1,19 @@ +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +id: node.field_category +field_name: field_category +entity_type: node +type: entity_reference +settings: + target_type: taxonomy_term +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_designation.yml b/modules/kalpesh/members/config/install/field.storage.node.field_designation.yml new file mode 100644 index 0000000..646ec5f --- /dev/null +++ b/modules/kalpesh/members/config/install/field.storage.node.field_designation.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + module: + - node +id: node.field_designation +field_name: field_designation +entity_type: node +type: string +settings: + max_length: 255 + is_ascii: false + case_sensitive: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_email_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_email_members.yml new file mode 100644 index 0000000..059ac68 --- /dev/null +++ b/modules/kalpesh/members/config/install/field.storage.node.field_email_members.yml @@ -0,0 +1,17 @@ +langcode: en +status: true +dependencies: + module: + - node +id: node.field_email_members +field_name: field_email_members +entity_type: node +type: email +settings: { } +module: core +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_file_uploads_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_file_uploads_members.yml new file mode 100644 index 0000000..aacc7cd --- /dev/null +++ b/modules/kalpesh/members/config/install/field.storage.node.field_file_uploads_members.yml @@ -0,0 +1,22 @@ +langcode: en +status: true +dependencies: + module: + - file + - node +id: node.field_file_uploads_members +field_name: field_file_uploads_members +entity_type: node +type: file +settings: + display_field: false + display_default: false + uri_scheme: public + target_type: file +module: file +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_full_name_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_full_name_members.yml new file mode 100644 index 0000000..6f816a5 --- /dev/null +++ b/modules/kalpesh/members/config/install/field.storage.node.field_full_name_members.yml @@ -0,0 +1,88 @@ +langcode: en +status: true +dependencies: + module: + - name + - node +id: node.field_full_name_members +field_name: field_full_name_members +entity_type: node +type: name +settings: + components: + title: true + given: true + middle: true + family: true + generational: true + credentials: true + minimum_components: + given: true + family: true + title: false + middle: false + generational: false + credentials: false + labels: + title: Title + given: Given + middle: 'Middle name(s)' + family: Family + generational: Generational + credentials: Credentials + max_length: + title: 31 + given: 63 + middle: 127 + family: 63 + generational: 15 + credentials: 255 + autocomplete_source: + title: + title: title + given: { } + middle: { } + family: { } + generational: + generational: '0' + credentials: { } + autocomplete_separator: + title: ' ' + given: ' -' + middle: ' -' + family: ' -' + generational: ' ' + credentials: ', ' + allow_family_or_given: false + title_options: + - '-- --' + - Mr. + - Mrs. + - Miss + - Ms. + - Dr. + - Prof. + generational_options: + - '-- --' + - Jr. + - Sr. + - I + - II + - III + - IV + - V + - VI + - VII + - VIII + - IX + - X + sort_options: + title: false + generational: false +module: name +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_image_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_image_members.yml new file mode 100644 index 0000000..c1e9e4b --- /dev/null +++ b/modules/kalpesh/members/config/install/field.storage.node.field_image_members.yml @@ -0,0 +1,29 @@ +langcode: en +status: true +dependencies: + module: + - file + - image + - node +id: node.field_image_members +field_name: field_image_members +entity_type: node +type: image +settings: + uri_scheme: public + default_image: + uuid: '' + alt: '' + title: '' + width: null + height: null + target_type: file + display_field: false + display_default: false +module: image +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_location_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_location_members.yml new file mode 100644 index 0000000..493d340 --- /dev/null +++ b/modules/kalpesh/members/config/install/field.storage.node.field_location_members.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + module: + - node +id: node.field_location_members +field_name: field_location_members +entity_type: node +type: string +settings: + max_length: 255 + is_ascii: false + case_sensitive: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_phone_no_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_phone_no_members.yml new file mode 100644 index 0000000..2d37edb --- /dev/null +++ b/modules/kalpesh/members/config/install/field.storage.node.field_phone_no_members.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + module: + - node +id: node.field_phone_no_members +field_name: field_phone_no_members +entity_type: node +type: string +settings: + max_length: 255 + is_ascii: false + case_sensitive: false +module: core +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/kalpesh/members/config/install/image.style.group_research_area_image.yml b/modules/kalpesh/members/config/install/image.style.group_research_area_image.yml new file mode 100644 index 0000000..b4c0f1f --- /dev/null +++ b/modules/kalpesh/members/config/install/image.style.group_research_area_image.yml @@ -0,0 +1,14 @@ +langcode: en +status: true +dependencies: { } +name: group_research_area_image +label: 'Group Research area image' +effects: + 366cac20-7b38-410e-b508-129e23608539: + uuid: 366cac20-7b38-410e-b508-129e23608539 + id: image_scale_and_crop + weight: 1 + data: + width: 400 + height: 300 + anchor: center-center diff --git a/modules/kalpesh/members/config/install/node.type.members.yml b/modules/kalpesh/members/config/install/node.type.members.yml new file mode 100644 index 0000000..f3e4e66 --- /dev/null +++ b/modules/kalpesh/members/config/install/node.type.members.yml @@ -0,0 +1,17 @@ +langcode: en +status: true +dependencies: + module: + - menu_ui +third_party_settings: + menu_ui: + available_menus: + - main + parent: 'main:' +name: Members +type: members +description: '' +help: '' +new_revision: true +preview_mode: 1 +display_submitted: true diff --git a/modules/kalpesh/members/config/install/taxonomy.vocabulary.category.yml b/modules/kalpesh/members/config/install/taxonomy.vocabulary.category.yml new file mode 100644 index 0000000..4eca366 --- /dev/null +++ b/modules/kalpesh/members/config/install/taxonomy.vocabulary.category.yml @@ -0,0 +1,8 @@ +langcode: en +status: true +dependencies: { } +name: Category +vid: category +description: '' +hierarchy: 0 +weight: 0 diff --git a/modules/kalpesh/members/members.info.yml b/modules/kalpesh/members/members.info.yml new file mode 100644 index 0000000..a66ee20 --- /dev/null +++ b/modules/kalpesh/members/members.info.yml @@ -0,0 +1,19 @@ +name: Members +type: module +description: 'This modole store members details' +core: 8.x +package: Custom +dependencies: + - drupal:menu_ui + - drupal:file + - drupal:image + - drupal:name + - drupal:path + - drupal:text + - ds:ds + - drupal:user + - drupal:node + - drupal:taxonomy + + + diff --git a/modules/kalpesh/members/members.install b/modules/kalpesh/members/members.install new file mode 100644 index 0000000..bb3a6cf --- /dev/null +++ b/modules/kalpesh/members/members.install @@ -0,0 +1,26 @@ + +getStorage('node'); + + + + // Query all entity. + $query = $queryFactory->get('node') +// <-- replace event in below line with your content type machine name + ->condition('type', 'members'); + $nids = $query->execute(); + + + + // Delete entities. + if (!empty($nids)) { + $entities = $nodeStorage->loadMultiple($nids); + $nodeStorage->delete($entities); + } +} diff --git a/modules/kalpesh/members/members.module b/modules/kalpesh/members/members.module new file mode 100644 index 0000000..035d5c0 --- /dev/null +++ b/modules/kalpesh/members/members.module @@ -0,0 +1,35 @@ +' . t('About') . ''; + $output .= '

' . t('This modole store members details') . '

'; + return $output; + + default: + } +} + +/** + * Implements hook_theme(). + */ +function members_theme() { + return [ + 'members' => [ + 'render element' => 'children', + ], + ]; +} diff --git a/modules/kalpesh/members/templates/members.html.twig b/modules/kalpesh/members/templates/members.html.twig new file mode 100644 index 0000000..95722bd --- /dev/null +++ b/modules/kalpesh/members/templates/members.html.twig @@ -0,0 +1 @@ + diff --git a/modules/kalpesh/members/tests/src/Functional/LoadTest.php b/modules/kalpesh/members/tests/src/Functional/LoadTest.php new file mode 100644 index 0000000..4a4ce20 --- /dev/null +++ b/modules/kalpesh/members/tests/src/Functional/LoadTest.php @@ -0,0 +1,46 @@ +user = $this->drupalCreateUser(['administer site configuration']); + $this->drupalLogin($this->user); + } + + /** + * Tests that the home page loads with a 200 response. + */ + public function testLoad() { + $this->drupalGet(Url::fromRoute('')); + $this->assertSession()->statusCodeEquals(200); + } + +} -- cgit From dbb268e526300f2024a4a96650884af1c5d9435e Mon Sep 17 00:00:00 2001 From: oskkw Date: Fri, 5 Jul 2019 22:45:57 +0530 Subject: updated module --- ...re.base_field_override.node.members.promote.yml | 24 ++++++++++++++++++++++ ...ase_field_override.node.members.promote.yml.yml | 21 ------------------- ...re.entity_form_display.node.members.default.yml | 3 +++ ...re.entity_view_display.node.members.default.yml | 3 +++ ...ore.entity_view_display.node.members.teaser.yml | 3 +++ .../install/field.field.node.members.body.yml | 3 +++ .../field.field.node.members.field_category.yml | 3 +++ .../field.field.node.members.field_designation.yml | 3 +++ ...ield.field.node.members.field_email_members.yml | 3 +++ ...eld.node.members.field_file_uploads_members.yml | 3 +++ ....field.node.members.field_full_name_members.yml | 3 +++ ...ield.field.node.members.field_image_members.yml | 3 +++ ...d.field.node.members.field_location_members.yml | 3 +++ ...d.field.node.members.field_phone_no_members.yml | 3 +++ .../install/field.storage.node.field_category.yml | 3 +++ .../field.storage.node.field_designation.yml | 3 +++ .../field.storage.node.field_email_members.yml | 3 +++ ...eld.storage.node.field_file_uploads_members.yml | 3 +++ .../field.storage.node.field_full_name_members.yml | 3 +++ .../field.storage.node.field_image_members.yml | 3 +++ .../field.storage.node.field_location_members.yml | 3 +++ .../field.storage.node.field_phone_no_members.yml | 3 +++ .../image.style.group_research_area_image.yml | 5 ++++- .../members/config/install/node.type.members.yml | 3 +++ .../install/taxonomy.vocabulary.category.yml | 5 ++++- 25 files changed, 95 insertions(+), 23 deletions(-) create mode 100644 modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml delete mode 100644 modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml.yml (limited to 'modules/kalpesh/members') diff --git a/modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml b/modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml new file mode 100644 index 0000000..f2a81bb --- /dev/null +++ b/modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml @@ -0,0 +1,24 @@ +langcode: en +status: true +dependencies: + config: + - node.type.members + enforced: + module: + - members +id: node.members.promote +field_name: promote +entity_type: node +bundle: members +label: 'Promoted to front page' +description: '' +required: false +translatable: true +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: 'On' + off_label: 'Off' +field_type: boolean diff --git a/modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml.yml b/modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml.yml deleted file mode 100644 index 266013a..0000000 --- a/modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml.yml +++ /dev/null @@ -1,21 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - node.type.members -id: node.members.promote -field_name: promote -entity_type: node -bundle: members -label: 'Promoted to front page' -description: '' -required: false -translatable: true -default_value: - - - value: 0 -default_value_callback: '' -settings: - on_label: 'On' - off_label: 'Off' -field_type: boolean diff --git a/modules/kalpesh/members/config/install/core.entity_form_display.node.members.default.yml b/modules/kalpesh/members/config/install/core.entity_form_display.node.members.default.yml index 94883f3..7dca7b1 100644 --- a/modules/kalpesh/members/config/install/core.entity_form_display.node.members.default.yml +++ b/modules/kalpesh/members/config/install/core.entity_form_display.node.members.default.yml @@ -19,6 +19,9 @@ dependencies: - name - path - text + enforced: + module: + - members id: node.members.default targetEntityType: node bundle: members diff --git a/modules/kalpesh/members/config/install/core.entity_view_display.node.members.default.yml b/modules/kalpesh/members/config/install/core.entity_view_display.node.members.default.yml index f47b19f..c8d2d9b 100644 --- a/modules/kalpesh/members/config/install/core.entity_view_display.node.members.default.yml +++ b/modules/kalpesh/members/config/install/core.entity_view_display.node.members.default.yml @@ -20,6 +20,9 @@ dependencies: - name - text - user + enforced: + module: + - members third_party_settings: ds: layout: diff --git a/modules/kalpesh/members/config/install/core.entity_view_display.node.members.teaser.yml b/modules/kalpesh/members/config/install/core.entity_view_display.node.members.teaser.yml index d8df68b..ccdd331 100644 --- a/modules/kalpesh/members/config/install/core.entity_view_display.node.members.teaser.yml +++ b/modules/kalpesh/members/config/install/core.entity_view_display.node.members.teaser.yml @@ -8,6 +8,9 @@ dependencies: module: - text - user + enforced: + module: + - members id: node.members.teaser targetEntityType: node bundle: members diff --git a/modules/kalpesh/members/config/install/field.field.node.members.body.yml b/modules/kalpesh/members/config/install/field.field.node.members.body.yml index 894429a..4ae414b 100644 --- a/modules/kalpesh/members/config/install/field.field.node.members.body.yml +++ b/modules/kalpesh/members/config/install/field.field.node.members.body.yml @@ -6,6 +6,9 @@ dependencies: - node.type.members module: - text + enforced: + module: + - members id: node.members.body field_name: body entity_type: node diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_category.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_category.yml index dcfd854..66f5930 100644 --- a/modules/kalpesh/members/config/install/field.field.node.members.field_category.yml +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_category.yml @@ -5,6 +5,9 @@ dependencies: - field.storage.node.field_category - node.type.members - taxonomy.vocabulary.category + enforced: + module: + - members id: node.members.field_category field_name: field_category entity_type: node diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_designation.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_designation.yml index 5161891..3ac8820 100644 --- a/modules/kalpesh/members/config/install/field.field.node.members.field_designation.yml +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_designation.yml @@ -4,6 +4,9 @@ dependencies: config: - field.storage.node.field_designation - node.type.members + enforced: + module: + - members id: node.members.field_designation field_name: field_designation entity_type: node diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_email_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_email_members.yml index 61be715..43dd139 100644 --- a/modules/kalpesh/members/config/install/field.field.node.members.field_email_members.yml +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_email_members.yml @@ -4,6 +4,9 @@ dependencies: config: - field.storage.node.field_email_members - node.type.members + enforced: + module: + - members id: node.members.field_email_members field_name: field_email_members entity_type: node diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_file_uploads_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_file_uploads_members.yml index 8fc3f17..e2c81e4 100644 --- a/modules/kalpesh/members/config/install/field.field.node.members.field_file_uploads_members.yml +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_file_uploads_members.yml @@ -4,6 +4,9 @@ dependencies: config: - field.storage.node.field_file_uploads_members - node.type.members + enforced: + module: + - members module: - file id: node.members.field_file_uploads_members diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_full_name_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_full_name_members.yml index 42266a7..7310e10 100644 --- a/modules/kalpesh/members/config/install/field.field.node.members.field_full_name_members.yml +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_full_name_members.yml @@ -4,6 +4,9 @@ dependencies: config: - field.storage.node.field_full_name_members - node.type.members + enforced: + module: + - members module: - name id: node.members.field_full_name_members diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_image_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_image_members.yml index 8c08edd..e45b868 100644 --- a/modules/kalpesh/members/config/install/field.field.node.members.field_image_members.yml +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_image_members.yml @@ -6,6 +6,9 @@ dependencies: - node.type.members module: - image + enforced: + module: + - members id: node.members.field_image_members field_name: field_image_members entity_type: node diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_location_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_location_members.yml index 7e9f46f..7b59f13 100644 --- a/modules/kalpesh/members/config/install/field.field.node.members.field_location_members.yml +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_location_members.yml @@ -4,6 +4,9 @@ dependencies: config: - field.storage.node.field_location_members - node.type.members + enforced: + module: + - members id: node.members.field_location_members field_name: field_location_members entity_type: node diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_phone_no_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_phone_no_members.yml index c9cda10..60c6269 100644 --- a/modules/kalpesh/members/config/install/field.field.node.members.field_phone_no_members.yml +++ b/modules/kalpesh/members/config/install/field.field.node.members.field_phone_no_members.yml @@ -4,6 +4,9 @@ dependencies: config: - field.storage.node.field_phone_no_members - node.type.members + enforced: + module: + - members id: node.members.field_phone_no_members field_name: field_phone_no_members entity_type: node diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_category.yml b/modules/kalpesh/members/config/install/field.storage.node.field_category.yml index 0af8ae6..325c8d3 100644 --- a/modules/kalpesh/members/config/install/field.storage.node.field_category.yml +++ b/modules/kalpesh/members/config/install/field.storage.node.field_category.yml @@ -4,6 +4,9 @@ dependencies: module: - node - taxonomy + enforced: + module: + - members id: node.field_category field_name: field_category entity_type: node diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_designation.yml b/modules/kalpesh/members/config/install/field.storage.node.field_designation.yml index 646ec5f..5bb724b 100644 --- a/modules/kalpesh/members/config/install/field.storage.node.field_designation.yml +++ b/modules/kalpesh/members/config/install/field.storage.node.field_designation.yml @@ -3,6 +3,9 @@ status: true dependencies: module: - node + enforced: + module: + - members id: node.field_designation field_name: field_designation entity_type: node diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_email_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_email_members.yml index 059ac68..99c1f69 100644 --- a/modules/kalpesh/members/config/install/field.storage.node.field_email_members.yml +++ b/modules/kalpesh/members/config/install/field.storage.node.field_email_members.yml @@ -3,6 +3,9 @@ status: true dependencies: module: - node + enforced: + module: + - members id: node.field_email_members field_name: field_email_members entity_type: node diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_file_uploads_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_file_uploads_members.yml index aacc7cd..bdc9bc0 100644 --- a/modules/kalpesh/members/config/install/field.storage.node.field_file_uploads_members.yml +++ b/modules/kalpesh/members/config/install/field.storage.node.field_file_uploads_members.yml @@ -4,6 +4,9 @@ dependencies: module: - file - node + enforced: + module: + - members id: node.field_file_uploads_members field_name: field_file_uploads_members entity_type: node diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_full_name_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_full_name_members.yml index 6f816a5..2334559 100644 --- a/modules/kalpesh/members/config/install/field.storage.node.field_full_name_members.yml +++ b/modules/kalpesh/members/config/install/field.storage.node.field_full_name_members.yml @@ -4,6 +4,9 @@ dependencies: module: - name - node + enforced: + module: + - members id: node.field_full_name_members field_name: field_full_name_members entity_type: node diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_image_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_image_members.yml index c1e9e4b..84c6baa 100644 --- a/modules/kalpesh/members/config/install/field.storage.node.field_image_members.yml +++ b/modules/kalpesh/members/config/install/field.storage.node.field_image_members.yml @@ -5,6 +5,9 @@ dependencies: - file - image - node + enforced: + module: + - members id: node.field_image_members field_name: field_image_members entity_type: node diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_location_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_location_members.yml index 493d340..1567014 100644 --- a/modules/kalpesh/members/config/install/field.storage.node.field_location_members.yml +++ b/modules/kalpesh/members/config/install/field.storage.node.field_location_members.yml @@ -3,6 +3,9 @@ status: true dependencies: module: - node + enforced: + module: + - members id: node.field_location_members field_name: field_location_members entity_type: node diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_phone_no_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_phone_no_members.yml index 2d37edb..e25b71c 100644 --- a/modules/kalpesh/members/config/install/field.storage.node.field_phone_no_members.yml +++ b/modules/kalpesh/members/config/install/field.storage.node.field_phone_no_members.yml @@ -3,6 +3,9 @@ status: true dependencies: module: - node + enforced: + module: + - members id: node.field_phone_no_members field_name: field_phone_no_members entity_type: node diff --git a/modules/kalpesh/members/config/install/image.style.group_research_area_image.yml b/modules/kalpesh/members/config/install/image.style.group_research_area_image.yml index b4c0f1f..09b645b 100644 --- a/modules/kalpesh/members/config/install/image.style.group_research_area_image.yml +++ b/modules/kalpesh/members/config/install/image.style.group_research_area_image.yml @@ -1,6 +1,9 @@ langcode: en status: true -dependencies: { } +dependencies: + enforced: + module: + - members name: group_research_area_image label: 'Group Research area image' effects: diff --git a/modules/kalpesh/members/config/install/node.type.members.yml b/modules/kalpesh/members/config/install/node.type.members.yml index f3e4e66..acefdd0 100644 --- a/modules/kalpesh/members/config/install/node.type.members.yml +++ b/modules/kalpesh/members/config/install/node.type.members.yml @@ -3,6 +3,9 @@ status: true dependencies: module: - menu_ui + enforced: + module: + - members third_party_settings: menu_ui: available_menus: diff --git a/modules/kalpesh/members/config/install/taxonomy.vocabulary.category.yml b/modules/kalpesh/members/config/install/taxonomy.vocabulary.category.yml index 4eca366..d3d6ad7 100644 --- a/modules/kalpesh/members/config/install/taxonomy.vocabulary.category.yml +++ b/modules/kalpesh/members/config/install/taxonomy.vocabulary.category.yml @@ -1,6 +1,9 @@ langcode: en status: true -dependencies: { } +dependencies: + enforced: + module: + - members name: Category vid: category description: '' -- cgit