From ca127cd25a45247478d8f0bb17b1c63a017fe119 Mon Sep 17 00:00:00 2001 From: David Upton Date: Fri, 16 Aug 2024 16:23:52 -0400 Subject: [PATCH 01/14] DIG-4949 Create basic content type and module. --- ...tity_form_display.node.project.default.yml | 103 ++++++++++++++++++ ....entity_view_display.node.project.card.yml | 31 ++++++ ...tity_view_display.node.project.default.yml | 30 +++++ ...ty_view_display.node.project.grid_item.yml | 31 ++++++ ...tity_view_display.node.project.listing.yml | 31 ++++++ ...ntity_view_display.node.project.teaser.yml | 32 ++++++ config/default/core.extension.yml | 1 + .../default/field.field.node.project.body.yml | 24 ++++ ...language.content_settings.node.project.yml | 11 ++ config/default/node.type.project.yml | 18 +++ ...le.behavior_settings.node_type_project.yml | 14 +++ .../custom/bos_content/bos_content.info.yml | 8 +- .../node_project/node_project.info.yml | 18 +++ .../modules/node_project/node_project.module | 18 +++ .../templates/node--project.html.twig | 102 +++++++++++++++++ 15 files changed, 468 insertions(+), 4 deletions(-) create mode 100644 config/default/core.entity_form_display.node.project.default.yml create mode 100644 config/default/core.entity_view_display.node.project.card.yml create mode 100644 config/default/core.entity_view_display.node.project.default.yml create mode 100644 config/default/core.entity_view_display.node.project.grid_item.yml create mode 100644 config/default/core.entity_view_display.node.project.listing.yml create mode 100644 config/default/core.entity_view_display.node.project.teaser.yml create mode 100644 config/default/field.field.node.project.body.yml create mode 100644 config/default/language.content_settings.node.project.yml create mode 100644 config/default/node.type.project.yml create mode 100644 config/default/rabbit_hole.behavior_settings.node_type_project.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/node_project.module create mode 100644 docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig diff --git a/config/default/core.entity_form_display.node.project.default.yml b/config/default/core.entity_form_display.node.project.default.yml new file mode 100644 index 0000000000..a54aa74f95 --- /dev/null +++ b/config/default/core.entity_form_display.node.project.default.yml @@ -0,0 +1,103 @@ +uuid: 4bc7e423-7b83-4740-ad1d-61536597a1df +langcode: en +status: true +dependencies: + config: + - field.field.node.project.body + - node.type.project + module: + - content_moderation + - path + - publication_date + - text +id: node.project.default +targetEntityType: node +bundle: project +mode: default +content: + body: + type: text_textarea_with_summary + weight: 121 + region: content + settings: + rows: 9 + summary_rows: 3 + placeholder: '' + show_summary: false + third_party_settings: { } + created: + type: datetime_timestamp + weight: 10 + region: content + settings: { } + third_party_settings: { } + langcode: + type: language_select + weight: 2 + region: content + settings: + include_locked: true + third_party_settings: { } + moderation_state: + type: moderation_state_default + weight: 100 + region: content + settings: { } + third_party_settings: { } + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } + promote: + type: boolean_checkbox + weight: 15 + region: content + settings: + display_label: true + third_party_settings: { } + published_at: + type: publication_date_timestamp + weight: 10 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 120 + region: content + settings: + display_label: true + third_party_settings: { } + sticky: + type: boolean_checkbox + weight: 16 + region: content + settings: + display_label: true + 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 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } + url_redirects: + weight: 50 + region: content + settings: { } + third_party_settings: { } +hidden: { } diff --git a/config/default/core.entity_view_display.node.project.card.yml b/config/default/core.entity_view_display.node.project.card.yml new file mode 100644 index 0000000000..ed607035a5 --- /dev/null +++ b/config/default/core.entity_view_display.node.project.card.yml @@ -0,0 +1,31 @@ +uuid: 72ca9865-7439-4b47-a2d7-8ad8664c88b2 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.card + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.card +targetEntityType: node +bundle: project +mode: card +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/config/default/core.entity_view_display.node.project.default.yml b/config/default/core.entity_view_display.node.project.default.yml new file mode 100644 index 0000000000..2036b6f78a --- /dev/null +++ b/config/default/core.entity_view_display.node.project.default.yml @@ -0,0 +1,30 @@ +uuid: 52d707cb-136a-4929-b3b9-f2a3ab677027 +langcode: en +status: true +dependencies: + config: + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.default +targetEntityType: node +bundle: project +mode: default +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/config/default/core.entity_view_display.node.project.grid_item.yml b/config/default/core.entity_view_display.node.project.grid_item.yml new file mode 100644 index 0000000000..3ec420f21f --- /dev/null +++ b/config/default/core.entity_view_display.node.project.grid_item.yml @@ -0,0 +1,31 @@ +uuid: 4634ed71-4095-4977-aea0-ca7d08f72739 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.grid_item + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.grid_item +targetEntityType: node +bundle: project +mode: grid_item +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/config/default/core.entity_view_display.node.project.listing.yml b/config/default/core.entity_view_display.node.project.listing.yml new file mode 100644 index 0000000000..3ea3824f8b --- /dev/null +++ b/config/default/core.entity_view_display.node.project.listing.yml @@ -0,0 +1,31 @@ +uuid: 3166a6fa-1b82-434f-8303-167f487603a7 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.listing + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.listing +targetEntityType: node +bundle: project +mode: listing +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/config/default/core.entity_view_display.node.project.teaser.yml b/config/default/core.entity_view_display.node.project.teaser.yml new file mode 100644 index 0000000000..251b9825b7 --- /dev/null +++ b/config/default/core.entity_view_display.node.project.teaser.yml @@ -0,0 +1,32 @@ +uuid: 49a95ce4-4f82-4d58-abdc-0c6461dfc5cc +langcode: en +status: false +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.teaser +targetEntityType: node +bundle: project +mode: teaser +content: + body: + type: text_summary_or_trimmed + label: hidden + settings: + trim_length: 600 + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/config/default/core.extension.yml b/config/default/core.extension.yml index 634bf8bf53..00bb60e98b 100644 --- a/config/default/core.extension.yml +++ b/config/default/core.extension.yml @@ -234,6 +234,7 @@ module: node_post: 2 node_procurement_advertisement: 2 node_program_initiative_profile: 2 + node_project: 2 node_public_notice: 2 node_rollcall: 2 node_script_page: 2 diff --git a/config/default/field.field.node.project.body.yml b/config/default/field.field.node.project.body.yml new file mode 100644 index 0000000000..b68a58a034 --- /dev/null +++ b/config/default/field.field.node.project.body.yml @@ -0,0 +1,24 @@ +uuid: e02a2251-9f2e-4f7e-bb60-c5a3b04432c4 +langcode: en +status: true +dependencies: + config: + - field.storage.node.body + - node.type.project + module: + - text +id: node.project.body +field_name: body +entity_type: node +bundle: project +label: Body +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + display_summary: true + required_summary: false + allowed_formats: { } +field_type: text_with_summary diff --git a/config/default/language.content_settings.node.project.yml b/config/default/language.content_settings.node.project.yml new file mode 100644 index 0000000000..68a152a473 --- /dev/null +++ b/config/default/language.content_settings.node.project.yml @@ -0,0 +1,11 @@ +uuid: 1ea04c36-0bc0-4fba-b3e2-d6c2fd781fe6 +langcode: en +status: true +dependencies: + config: + - node.type.project +id: node.project +target_entity_type_id: node +target_bundle: project +default_langcode: site_default +language_alterable: false diff --git a/config/default/node.type.project.yml b/config/default/node.type.project.yml new file mode 100644 index 0000000000..02ea9bb771 --- /dev/null +++ b/config/default/node.type.project.yml @@ -0,0 +1,18 @@ +uuid: eb24d2c7-cd85-4d5a-850e-84fc1c826554 +langcode: en +status: true +dependencies: + module: + - menu_ui +third_party_settings: + menu_ui: + available_menus: + - main + parent: 'main:' +name: Project +type: project +description: 'A content type to hold information on a City of Boston Project.' +help: null +new_revision: true +preview_mode: 1 +display_submitted: true diff --git a/config/default/rabbit_hole.behavior_settings.node_type_project.yml b/config/default/rabbit_hole.behavior_settings.node_type_project.yml new file mode 100644 index 0000000000..8f967124f3 --- /dev/null +++ b/config/default/rabbit_hole.behavior_settings.node_type_project.yml @@ -0,0 +1,14 @@ +uuid: 56ff115f-ce0e-45a5-985f-b6b3c7d1caca +langcode: en +status: true +dependencies: + config: + - node.type.project +id: node_type_project +entity_type_id: node_type +entity_id: project +action: display_page +allow_override: 0 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/docroot/modules/custom/bos_content/bos_content.info.yml b/docroot/modules/custom/bos_content/bos_content.info.yml index 312856fdc0..287c4e69ef 100644 --- a/docroot/modules/custom/bos_content/bos_content.info.yml +++ b/docroot/modules/custom/bos_content/bos_content.info.yml @@ -7,12 +7,12 @@ core_version_requirement: ^8 || ^9 || ^10 dependencies: - bos_core - bos_components - - paragraphs - - taxonomy + - drupal:paragraphs + - drupal:taxonomy - content_translation - content_moderation - - node - - user + - drupal:node + - drupal:user config_devel: - field.storage.node.body - field.storage.node.field_additional_information diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml new file mode 100644 index 0000000000..ccaca35081 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml @@ -0,0 +1,18 @@ +name: 'Project' +type: module +description: 'A content type to hold information on a City of Boston Project.' +core_version_requirement: ^10 +package: City of Boston (content) +dependencies: + - bos_content +config_devel: + - core.entity_form_display.node.project.default + - core.entity_view_display.node.project.card + - core.entity_view_display.node.project.default + - core.entity_view_display.node.project.grid_item + - core.entity_view_display.node.project.listing + - core.entity_view_display.node.project.teaser + - field.field.node.project.body + - language.content_settings.node.project + - node.type.project + - rabbit_hole.behavior_settings.node_type_project diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.module b/docroot/modules/custom/bos_content/modules/node_project/node_project.module new file mode 100644 index 0000000000..c32997db1e --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.module @@ -0,0 +1,18 @@ + [ + 'render element' => 'elements', + 'base hook' => 'node', + ], + ]; +} diff --git a/docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig b/docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig new file mode 100644 index 0000000000..84ad5892a7 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig @@ -0,0 +1,102 @@ +{# +/** + * @file + * Default theme implementation to present a component test page entity. + * + * This template is used when viewing a registered component test page's page, + * e.g., /admin/content/component-test-page)/123. 123 being the component test page's ID. + * + * Available variables: + * - content: A list of content items. Use 'content' to print all content, or + * print a subset such as 'content.title'. + * - attributes: HTML attributes for the container element. + * + * @see template_preprocess_component_test_page() + * @see theme's node.html.php + */ +#} + + + +
+ {% if (content.field_updated_date["#items"]) %} + Last updated: {{ content.field_updated_date }} + {% elseif (content.field_published_date["#items"]) %} + Last updated: {{ content.field_published_date }} + {% else %} + Not published yet! + {% endif %} +
+ + +
+
+
+ + {{ title_prefix }} + + {% if title %} + {{ title.0 }} + {% endif %} + + {{ title_suffix }} + + {% if content.field_intro_text %} + {{ content.field_intro_text }} + {% endif %} + + {% include 'themes/custom/bos_theme/templates/snippets/topic-nav.html.twig' %} + +
+ {# We hide the comments and links now so that we can render them later. #} + {#{{ content|without('created', 'uid', 'comments', 'links') }}#} + {{ content.body }} +
+ +
+ +
+
    + {% if content.field_contact["#items"] and (content.field_hide_contact_form['#items'].value == 0 or content.field_contact["#items"] is null) %} +
  • +
    Still have questions? Contact:
    + {{ content.field_contact }} +
  • + {% endif %} + {% if (content.field_sidebar_components) %} + {{ content.field_sidebar_components }} + {% endif %} +
+
+
+
+
+
+ {% if (content.field_components) %} +
+ {{ content.field_components }} +
+ {% endif %} +
+ +
+
    + {% if content.field_contact["#items"] and (content.field_hide_contact_form['#items'].value == 0 or content.field_contact["#items"] is null) %} +
  • +
    Still have questions? Contact:
    + {{ content.field_contact }} +
  • + {% endif %} + {% if (content.field_sidebar_components) %} + {{ content.field_sidebar_components }} + {% endif %} +
+
+
+ + {{ content['links'] }} + {{ content['comments'] }} + + From d3c60a7a8868fea26f292b55418866c92ace8ba9 Mon Sep 17 00:00:00 2001 From: David Upton Date: Fri, 16 Aug 2024 16:23:52 -0400 Subject: [PATCH 02/14] DIG-4968 Create basic content type and module. --- ...tity_form_display.node.project.default.yml | 103 ++++++++++++++++++ ....entity_view_display.node.project.card.yml | 31 ++++++ ...tity_view_display.node.project.default.yml | 30 +++++ ...ty_view_display.node.project.grid_item.yml | 31 ++++++ ...tity_view_display.node.project.listing.yml | 31 ++++++ ...ntity_view_display.node.project.teaser.yml | 32 ++++++ config/default/core.extension.yml | 1 + .../default/field.field.node.project.body.yml | 24 ++++ ...language.content_settings.node.project.yml | 11 ++ config/default/node.type.project.yml | 18 +++ ...le.behavior_settings.node_type_project.yml | 14 +++ .../custom/bos_content/bos_content.info.yml | 8 +- .../node_project/node_project.info.yml | 18 +++ .../modules/node_project/node_project.module | 18 +++ .../templates/node--project.html.twig | 102 +++++++++++++++++ 15 files changed, 468 insertions(+), 4 deletions(-) create mode 100644 config/default/core.entity_form_display.node.project.default.yml create mode 100644 config/default/core.entity_view_display.node.project.card.yml create mode 100644 config/default/core.entity_view_display.node.project.default.yml create mode 100644 config/default/core.entity_view_display.node.project.grid_item.yml create mode 100644 config/default/core.entity_view_display.node.project.listing.yml create mode 100644 config/default/core.entity_view_display.node.project.teaser.yml create mode 100644 config/default/field.field.node.project.body.yml create mode 100644 config/default/language.content_settings.node.project.yml create mode 100644 config/default/node.type.project.yml create mode 100644 config/default/rabbit_hole.behavior_settings.node_type_project.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/node_project.module create mode 100644 docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig diff --git a/config/default/core.entity_form_display.node.project.default.yml b/config/default/core.entity_form_display.node.project.default.yml new file mode 100644 index 0000000000..a54aa74f95 --- /dev/null +++ b/config/default/core.entity_form_display.node.project.default.yml @@ -0,0 +1,103 @@ +uuid: 4bc7e423-7b83-4740-ad1d-61536597a1df +langcode: en +status: true +dependencies: + config: + - field.field.node.project.body + - node.type.project + module: + - content_moderation + - path + - publication_date + - text +id: node.project.default +targetEntityType: node +bundle: project +mode: default +content: + body: + type: text_textarea_with_summary + weight: 121 + region: content + settings: + rows: 9 + summary_rows: 3 + placeholder: '' + show_summary: false + third_party_settings: { } + created: + type: datetime_timestamp + weight: 10 + region: content + settings: { } + third_party_settings: { } + langcode: + type: language_select + weight: 2 + region: content + settings: + include_locked: true + third_party_settings: { } + moderation_state: + type: moderation_state_default + weight: 100 + region: content + settings: { } + third_party_settings: { } + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } + promote: + type: boolean_checkbox + weight: 15 + region: content + settings: + display_label: true + third_party_settings: { } + published_at: + type: publication_date_timestamp + weight: 10 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 120 + region: content + settings: + display_label: true + third_party_settings: { } + sticky: + type: boolean_checkbox + weight: 16 + region: content + settings: + display_label: true + 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 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } + url_redirects: + weight: 50 + region: content + settings: { } + third_party_settings: { } +hidden: { } diff --git a/config/default/core.entity_view_display.node.project.card.yml b/config/default/core.entity_view_display.node.project.card.yml new file mode 100644 index 0000000000..ed607035a5 --- /dev/null +++ b/config/default/core.entity_view_display.node.project.card.yml @@ -0,0 +1,31 @@ +uuid: 72ca9865-7439-4b47-a2d7-8ad8664c88b2 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.card + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.card +targetEntityType: node +bundle: project +mode: card +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/config/default/core.entity_view_display.node.project.default.yml b/config/default/core.entity_view_display.node.project.default.yml new file mode 100644 index 0000000000..2036b6f78a --- /dev/null +++ b/config/default/core.entity_view_display.node.project.default.yml @@ -0,0 +1,30 @@ +uuid: 52d707cb-136a-4929-b3b9-f2a3ab677027 +langcode: en +status: true +dependencies: + config: + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.default +targetEntityType: node +bundle: project +mode: default +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/config/default/core.entity_view_display.node.project.grid_item.yml b/config/default/core.entity_view_display.node.project.grid_item.yml new file mode 100644 index 0000000000..3ec420f21f --- /dev/null +++ b/config/default/core.entity_view_display.node.project.grid_item.yml @@ -0,0 +1,31 @@ +uuid: 4634ed71-4095-4977-aea0-ca7d08f72739 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.grid_item + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.grid_item +targetEntityType: node +bundle: project +mode: grid_item +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/config/default/core.entity_view_display.node.project.listing.yml b/config/default/core.entity_view_display.node.project.listing.yml new file mode 100644 index 0000000000..3ea3824f8b --- /dev/null +++ b/config/default/core.entity_view_display.node.project.listing.yml @@ -0,0 +1,31 @@ +uuid: 3166a6fa-1b82-434f-8303-167f487603a7 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.listing + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.listing +targetEntityType: node +bundle: project +mode: listing +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/config/default/core.entity_view_display.node.project.teaser.yml b/config/default/core.entity_view_display.node.project.teaser.yml new file mode 100644 index 0000000000..251b9825b7 --- /dev/null +++ b/config/default/core.entity_view_display.node.project.teaser.yml @@ -0,0 +1,32 @@ +uuid: 49a95ce4-4f82-4d58-abdc-0c6461dfc5cc +langcode: en +status: false +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.teaser +targetEntityType: node +bundle: project +mode: teaser +content: + body: + type: text_summary_or_trimmed + label: hidden + settings: + trim_length: 600 + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/config/default/core.extension.yml b/config/default/core.extension.yml index 634bf8bf53..00bb60e98b 100644 --- a/config/default/core.extension.yml +++ b/config/default/core.extension.yml @@ -234,6 +234,7 @@ module: node_post: 2 node_procurement_advertisement: 2 node_program_initiative_profile: 2 + node_project: 2 node_public_notice: 2 node_rollcall: 2 node_script_page: 2 diff --git a/config/default/field.field.node.project.body.yml b/config/default/field.field.node.project.body.yml new file mode 100644 index 0000000000..b68a58a034 --- /dev/null +++ b/config/default/field.field.node.project.body.yml @@ -0,0 +1,24 @@ +uuid: e02a2251-9f2e-4f7e-bb60-c5a3b04432c4 +langcode: en +status: true +dependencies: + config: + - field.storage.node.body + - node.type.project + module: + - text +id: node.project.body +field_name: body +entity_type: node +bundle: project +label: Body +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + display_summary: true + required_summary: false + allowed_formats: { } +field_type: text_with_summary diff --git a/config/default/language.content_settings.node.project.yml b/config/default/language.content_settings.node.project.yml new file mode 100644 index 0000000000..68a152a473 --- /dev/null +++ b/config/default/language.content_settings.node.project.yml @@ -0,0 +1,11 @@ +uuid: 1ea04c36-0bc0-4fba-b3e2-d6c2fd781fe6 +langcode: en +status: true +dependencies: + config: + - node.type.project +id: node.project +target_entity_type_id: node +target_bundle: project +default_langcode: site_default +language_alterable: false diff --git a/config/default/node.type.project.yml b/config/default/node.type.project.yml new file mode 100644 index 0000000000..02ea9bb771 --- /dev/null +++ b/config/default/node.type.project.yml @@ -0,0 +1,18 @@ +uuid: eb24d2c7-cd85-4d5a-850e-84fc1c826554 +langcode: en +status: true +dependencies: + module: + - menu_ui +third_party_settings: + menu_ui: + available_menus: + - main + parent: 'main:' +name: Project +type: project +description: 'A content type to hold information on a City of Boston Project.' +help: null +new_revision: true +preview_mode: 1 +display_submitted: true diff --git a/config/default/rabbit_hole.behavior_settings.node_type_project.yml b/config/default/rabbit_hole.behavior_settings.node_type_project.yml new file mode 100644 index 0000000000..8f967124f3 --- /dev/null +++ b/config/default/rabbit_hole.behavior_settings.node_type_project.yml @@ -0,0 +1,14 @@ +uuid: 56ff115f-ce0e-45a5-985f-b6b3c7d1caca +langcode: en +status: true +dependencies: + config: + - node.type.project +id: node_type_project +entity_type_id: node_type +entity_id: project +action: display_page +allow_override: 0 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/docroot/modules/custom/bos_content/bos_content.info.yml b/docroot/modules/custom/bos_content/bos_content.info.yml index 312856fdc0..287c4e69ef 100644 --- a/docroot/modules/custom/bos_content/bos_content.info.yml +++ b/docroot/modules/custom/bos_content/bos_content.info.yml @@ -7,12 +7,12 @@ core_version_requirement: ^8 || ^9 || ^10 dependencies: - bos_core - bos_components - - paragraphs - - taxonomy + - drupal:paragraphs + - drupal:taxonomy - content_translation - content_moderation - - node - - user + - drupal:node + - drupal:user config_devel: - field.storage.node.body - field.storage.node.field_additional_information diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml new file mode 100644 index 0000000000..ccaca35081 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml @@ -0,0 +1,18 @@ +name: 'Project' +type: module +description: 'A content type to hold information on a City of Boston Project.' +core_version_requirement: ^10 +package: City of Boston (content) +dependencies: + - bos_content +config_devel: + - core.entity_form_display.node.project.default + - core.entity_view_display.node.project.card + - core.entity_view_display.node.project.default + - core.entity_view_display.node.project.grid_item + - core.entity_view_display.node.project.listing + - core.entity_view_display.node.project.teaser + - field.field.node.project.body + - language.content_settings.node.project + - node.type.project + - rabbit_hole.behavior_settings.node_type_project diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.module b/docroot/modules/custom/bos_content/modules/node_project/node_project.module new file mode 100644 index 0000000000..c32997db1e --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.module @@ -0,0 +1,18 @@ + [ + 'render element' => 'elements', + 'base hook' => 'node', + ], + ]; +} diff --git a/docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig b/docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig new file mode 100644 index 0000000000..84ad5892a7 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig @@ -0,0 +1,102 @@ +{# +/** + * @file + * Default theme implementation to present a component test page entity. + * + * This template is used when viewing a registered component test page's page, + * e.g., /admin/content/component-test-page)/123. 123 being the component test page's ID. + * + * Available variables: + * - content: A list of content items. Use 'content' to print all content, or + * print a subset such as 'content.title'. + * - attributes: HTML attributes for the container element. + * + * @see template_preprocess_component_test_page() + * @see theme's node.html.php + */ +#} + + + +
+ {% if (content.field_updated_date["#items"]) %} + Last updated: {{ content.field_updated_date }} + {% elseif (content.field_published_date["#items"]) %} + Last updated: {{ content.field_published_date }} + {% else %} + Not published yet! + {% endif %} +
+ + +
+
+
+ + {{ title_prefix }} + + {% if title %} + {{ title.0 }} + {% endif %} + + {{ title_suffix }} + + {% if content.field_intro_text %} + {{ content.field_intro_text }} + {% endif %} + + {% include 'themes/custom/bos_theme/templates/snippets/topic-nav.html.twig' %} + +
+ {# We hide the comments and links now so that we can render them later. #} + {#{{ content|without('created', 'uid', 'comments', 'links') }}#} + {{ content.body }} +
+ +
+ +
+
    + {% if content.field_contact["#items"] and (content.field_hide_contact_form['#items'].value == 0 or content.field_contact["#items"] is null) %} +
  • +
    Still have questions? Contact:
    + {{ content.field_contact }} +
  • + {% endif %} + {% if (content.field_sidebar_components) %} + {{ content.field_sidebar_components }} + {% endif %} +
+
+
+
+
+
+ {% if (content.field_components) %} +
+ {{ content.field_components }} +
+ {% endif %} +
+ +
+
    + {% if content.field_contact["#items"] and (content.field_hide_contact_form['#items'].value == 0 or content.field_contact["#items"] is null) %} +
  • +
    Still have questions? Contact:
    + {{ content.field_contact }} +
  • + {% endif %} + {% if (content.field_sidebar_components) %} + {{ content.field_sidebar_components }} + {% endif %} +
+
+
+ + {{ content['links'] }} + {{ content['comments'] }} + + From 3d783df1dec3a5531b177021edc00a0d7dd13374 Mon Sep 17 00:00:00 2001 From: David Upton Date: Mon, 19 Aug 2024 09:07:08 -0400 Subject: [PATCH 03/14] DIG-4968 Adds installation config files. --- ...tity_form_display.node.project.default.yml | 102 ++++++++++++++++++ ....entity_view_display.node.project.card.yml | 30 ++++++ ...tity_view_display.node.project.default.yml | 29 +++++ ...ty_view_display.node.project.grid_item.yml | 30 ++++++ ...tity_view_display.node.project.listing.yml | 30 ++++++ ...ntity_view_display.node.project.teaser.yml | 31 ++++++ .../install/field.field.node.project.body.yml | 23 ++++ ...language.content_settings.node.project.yml | 10 ++ .../config/install/node.type.project.yml | 17 +++ ...le.behavior_settings.node_type_project.yml | 13 +++ 10 files changed, 315 insertions(+) create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.body.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.node.project.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/node.type.project.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.node_type_project.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml new file mode 100644 index 0000000000..641699692d --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml @@ -0,0 +1,102 @@ +langcode: en +status: true +dependencies: + config: + - field.field.node.project.body + - node.type.project + module: + - content_moderation + - path + - publication_date + - text +id: node.project.default +targetEntityType: node +bundle: project +mode: default +content: + body: + type: text_textarea_with_summary + weight: 121 + region: content + settings: + rows: 9 + summary_rows: 3 + placeholder: '' + show_summary: false + third_party_settings: { } + created: + type: datetime_timestamp + weight: 10 + region: content + settings: { } + third_party_settings: { } + langcode: + type: language_select + weight: 2 + region: content + settings: + include_locked: true + third_party_settings: { } + moderation_state: + type: moderation_state_default + weight: 100 + region: content + settings: { } + third_party_settings: { } + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } + promote: + type: boolean_checkbox + weight: 15 + region: content + settings: + display_label: true + third_party_settings: { } + published_at: + type: publication_date_timestamp + weight: 10 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 120 + region: content + settings: + display_label: true + third_party_settings: { } + sticky: + type: boolean_checkbox + weight: 16 + region: content + settings: + display_label: true + 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 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } + url_redirects: + weight: 50 + region: content + settings: { } + third_party_settings: { } +hidden: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml new file mode 100644 index 0000000000..e844952fa8 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml @@ -0,0 +1,30 @@ +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.card + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.card +targetEntityType: node +bundle: project +mode: card +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml new file mode 100644 index 0000000000..3125bf622e --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml @@ -0,0 +1,29 @@ +langcode: en +status: true +dependencies: + config: + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.default +targetEntityType: node +bundle: project +mode: default +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml new file mode 100644 index 0000000000..20b5f0aa69 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml @@ -0,0 +1,30 @@ +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.grid_item + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.grid_item +targetEntityType: node +bundle: project +mode: grid_item +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml new file mode 100644 index 0000000000..2517d816b2 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml @@ -0,0 +1,30 @@ +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.listing + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.listing +targetEntityType: node +bundle: project +mode: listing +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml new file mode 100644 index 0000000000..a0b41d3946 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml @@ -0,0 +1,31 @@ +langcode: en +status: false +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.project.body + - node.type.project + module: + - text + - user +id: node.project.teaser +targetEntityType: node +bundle: project +mode: teaser +content: + body: + type: text_summary_or_trimmed + label: hidden + settings: + trim_length: 600 + third_party_settings: { } + weight: 101 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + langcode: true + published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.body.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.body.yml new file mode 100644 index 0000000000..ddfa7c4a1f --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.body.yml @@ -0,0 +1,23 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.body + - node.type.project + module: + - text +id: node.project.body +field_name: body +entity_type: node +bundle: project +label: Body +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + display_summary: true + required_summary: false + allowed_formats: { } +field_type: text_with_summary diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.node.project.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.node.project.yml new file mode 100644 index 0000000000..7756a3c53a --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.node.project.yml @@ -0,0 +1,10 @@ +langcode: en +status: true +dependencies: + config: + - node.type.project +id: node.project +target_entity_type_id: node +target_bundle: project +default_langcode: site_default +language_alterable: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/node.type.project.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/node.type.project.yml new file mode 100644 index 0000000000..4c8a8a1565 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/node.type.project.yml @@ -0,0 +1,17 @@ +langcode: en +status: true +dependencies: + module: + - menu_ui +third_party_settings: + menu_ui: + available_menus: + - main + parent: 'main:' +name: Project +type: project +description: 'A content type to hold information on a City of Boston Project.' +help: null +new_revision: true +preview_mode: 1 +display_submitted: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.node_type_project.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.node_type_project.yml new file mode 100644 index 0000000000..27d877d01a --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.node_type_project.yml @@ -0,0 +1,13 @@ +langcode: en +status: true +dependencies: + config: + - node.type.project +id: node_type_project +entity_type_id: node_type +entity_id: project +action: display_page +allow_override: 0 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied From cdc1a4b49b028111b7320f8899f9c2bc4fa9171a Mon Sep 17 00:00:00 2001 From: David Upton Date: Mon, 19 Aug 2024 09:17:24 -0400 Subject: [PATCH 04/14] DIG-4968 Adds missing config changes. --- config/default/user.role.content_author.yml | 7 +++++++ config/default/user.role.content_editor.yml | 4 ++++ .../workflows.workflow.city_of_boston_workflows.yml | 2 ++ .../bos_content/modules/node_project/node_project.module | 2 +- 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/config/default/user.role.content_author.yml b/config/default/user.role.content_author.yml index 491bf86778..260a960bd1 100644 --- a/config/default/user.role.content_author.yml +++ b/config/default/user.role.content_author.yml @@ -20,6 +20,7 @@ dependencies: - node.type.post - node.type.procurement_advertisement - node.type.program_initiative_profile + - node.type.project - node.type.public_notice - node.type.script_page - node.type.site_alert @@ -153,12 +154,14 @@ permissions: - 'create post content' - 'create procurement_advertisement content' - 'create program_initiative_profile content' + - 'create project content' - 'create public_notice content' - 'create script_page content' - 'create tabbed_content content' - 'create topic_page content' - 'create transaction content' - 'date_recur_modular use sierra form' + - 'delete own project content' - 'delete paragraph content 3_column_w_image' - 'delete paragraph content bid' - 'delete paragraph content bos311' @@ -223,6 +226,7 @@ permissions: - 'delete paragraph content transaction_grid' - 'delete paragraph content transactions' - 'delete paragraph content video' + - 'delete project revisions' - 'download any audio files' - 'download any image files' - 'download any video files' @@ -249,6 +253,7 @@ permissions: - 'edit any topic_page content' - 'edit any transaction content' - 'edit any video files' + - 'edit own project content' - 'revert article revisions' - 'revert department_profile revisions' - 'revert emergency_alert revisions' @@ -261,6 +266,7 @@ permissions: - 'revert post revisions' - 'revert procurement_advertisement revisions' - 'revert program_initiative_profile revisions' + - 'revert project revisions' - 'revert public_notice revisions' - 'revert script_page revisions' - 'revert site_alert revisions' @@ -376,6 +382,7 @@ permissions: - 'view post revisions' - 'view procurement_advertisement revisions' - 'view program_initiative_profile revisions' + - 'view project revisions' - 'view public_notice revisions' - 'view script_page revisions' - 'view status_item revisions' diff --git a/config/default/user.role.content_editor.yml b/config/default/user.role.content_editor.yml index 66247ef1ef..9c30e1fdef 100644 --- a/config/default/user.role.content_editor.yml +++ b/config/default/user.role.content_editor.yml @@ -19,6 +19,7 @@ dependencies: - node.type.post - node.type.procurement_advertisement - node.type.program_initiative_profile + - node.type.project - node.type.public_notice - node.type.script_page - node.type.site_alert @@ -142,6 +143,7 @@ permissions: - 'delete any document files' - 'delete any image files' - 'delete any media' + - 'delete any project content' - 'delete any video files' - 'delete own audio files' - 'delete own document files' @@ -164,6 +166,7 @@ permissions: - 'edit any post content' - 'edit any procurement_advertisement content' - 'edit any program_initiative_profile content' + - 'edit any project content' - 'edit any public_notice content' - 'edit any script_page content' - 'edit any site_alert content' @@ -242,6 +245,7 @@ permissions: - 'set post published on date' - 'set procurement_advertisement published on date' - 'set program_initiative_profile published on date' + - 'set project published on date' - 'set public_notice published on date' - 'set topic_page published on date' - 'set transaction published on date' diff --git a/config/default/workflows.workflow.city_of_boston_workflows.yml b/config/default/workflows.workflow.city_of_boston_workflows.yml index 51e2649ec7..c091dc5a2e 100644 --- a/config/default/workflows.workflow.city_of_boston_workflows.yml +++ b/config/default/workflows.workflow.city_of_boston_workflows.yml @@ -15,6 +15,7 @@ dependencies: - node.type.post - node.type.procurement_advertisement - node.type.program_initiative_profile + - node.type.project - node.type.public_notice - node.type.script_page - node.type.site_alert @@ -118,6 +119,7 @@ type_settings: - post - procurement_advertisement - program_initiative_profile + - project - public_notice - script_page - site_alert diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.module b/docroot/modules/custom/bos_content/modules/node_project/node_project.module index c32997db1e..75435fdf88 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/node_project.module +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.module @@ -8,7 +8,7 @@ */ -function node_program_initiative_profile_theme() { +function node_project_theme() { return [ 'node__project' => [ 'render element' => 'elements', From 639c88fac6098cf54e477a5ab40ca915113056dc Mon Sep 17 00:00:00 2001 From: David Upton Date: Mon, 19 Aug 2024 13:20:57 -0400 Subject: [PATCH 05/14] DIG-4968 Adds new taxonomies --- ...tity_form_display.node.project.default.yml | 84 ++++++++++++++++--- ...ay.taxonomy_term.project_stage.default.yml | 75 +++++++++++++++++ ...y.taxonomy_term.project_status.default.yml | 62 ++++++++++++++ ...lay.taxonomy_term.project_type.default.yml | 69 +++++++++++++++ ....entity_view_display.node.project.card.yml | 7 ++ ...tity_view_display.node.project.default.yml | 13 +++ ...ty_view_display.node.project.grid_item.yml | 7 ++ ...tity_view_display.node.project.listing.yml | 7 ++ ...ntity_view_display.node.project.teaser.yml | 7 ++ ...ay.taxonomy_term.project_stage.default.yml | 49 +++++++++++ ...y.taxonomy_term.project_status.default.yml | 40 +++++++++ ...lay.taxonomy_term.project_type.default.yml | 40 +++++++++ ...eld.node.project.field_project_concept.yml | 19 +++++ ...taxonomy_term.project_stage.field_icon.yml | 34 ++++++++ ...erm.project_stage.field_project_status.yml | 33 ++++++++ ...axonomy_term.project_status.field_icon.yml | 29 +++++++ ....taxonomy_term.project_type.field_icon.yml | 29 +++++++ ...eld.storage.node.field_project_concept.yml | 19 +++++ ...age.taxonomy_term.field_project_status.yml | 19 +++++ ...t_settings.taxonomy_term.project_stage.yml | 11 +++ ..._settings.taxonomy_term.project_status.yml | 11 +++ ...nt_settings.taxonomy_term.project_type.yml | 11 +++ ...ings.taxonomy_vocabulary_project_stage.yml | 14 ++++ ...ngs.taxonomy_vocabulary_project_status.yml | 14 ++++ ...tings.taxonomy_vocabulary_project_type.yml | 14 ++++ config/default/shortcut.set.developers.yml | 6 ++ .../taxonomy.vocabulary.project_stage.yml | 9 ++ .../taxonomy.vocabulary.project_status.yml | 9 ++ .../taxonomy.vocabulary.project_type.yml | 9 ++ ...tity_form_display.node.project.default.yml | 84 ++++++++++++++++--- ...ay.taxonomy_term.project_stage.default.yml | 74 ++++++++++++++++ ...y.taxonomy_term.project_status.default.yml | 61 ++++++++++++++ ...lay.taxonomy_term.project_type.default.yml | 68 +++++++++++++++ ....entity_view_display.node.project.card.yml | 7 ++ ...tity_view_display.node.project.default.yml | 13 +++ ...ty_view_display.node.project.grid_item.yml | 7 ++ ...tity_view_display.node.project.listing.yml | 7 ++ ...ntity_view_display.node.project.teaser.yml | 7 ++ ...ay.taxonomy_term.project_stage.default.yml | 48 +++++++++++ ...y.taxonomy_term.project_status.default.yml | 39 +++++++++ ...lay.taxonomy_term.project_type.default.yml | 39 +++++++++ ...eld.node.project.field_project_concept.yml | 18 ++++ ...taxonomy_term.project_stage.field_icon.yml | 33 ++++++++ ...erm.project_stage.field_project_status.yml | 32 +++++++ ...axonomy_term.project_status.field_icon.yml | 28 +++++++ ....taxonomy_term.project_type.field_icon.yml | 28 +++++++ ...eld.storage.node.field_project_concept.yml | 18 ++++ ...age.taxonomy_term.field_project_status.yml | 18 ++++ ...t_settings.taxonomy_term.project_stage.yml | 10 +++ ..._settings.taxonomy_term.project_status.yml | 10 +++ ...nt_settings.taxonomy_term.project_type.yml | 10 +++ ...ings.taxonomy_vocabulary_project_stage.yml | 13 +++ ...ngs.taxonomy_vocabulary_project_status.yml | 13 +++ ...tings.taxonomy_vocabulary_project_type.yml | 13 +++ .../taxonomy.vocabulary.project_stage.yml | 8 ++ .../taxonomy.vocabulary.project_status.yml | 8 ++ .../taxonomy.vocabulary.project_type.yml | 8 ++ .../node_project/node_project.info.yml | 23 +++++ 58 files changed, 1473 insertions(+), 22 deletions(-) create mode 100644 config/default/core.entity_form_display.taxonomy_term.project_stage.default.yml create mode 100644 config/default/core.entity_form_display.taxonomy_term.project_status.default.yml create mode 100644 config/default/core.entity_form_display.taxonomy_term.project_type.default.yml create mode 100644 config/default/core.entity_view_display.taxonomy_term.project_stage.default.yml create mode 100644 config/default/core.entity_view_display.taxonomy_term.project_status.default.yml create mode 100644 config/default/core.entity_view_display.taxonomy_term.project_type.default.yml create mode 100644 config/default/field.field.node.project.field_project_concept.yml create mode 100644 config/default/field.field.taxonomy_term.project_stage.field_icon.yml create mode 100644 config/default/field.field.taxonomy_term.project_stage.field_project_status.yml create mode 100644 config/default/field.field.taxonomy_term.project_status.field_icon.yml create mode 100644 config/default/field.field.taxonomy_term.project_type.field_icon.yml create mode 100644 config/default/field.storage.node.field_project_concept.yml create mode 100644 config/default/field.storage.taxonomy_term.field_project_status.yml create mode 100644 config/default/language.content_settings.taxonomy_term.project_stage.yml create mode 100644 config/default/language.content_settings.taxonomy_term.project_status.yml create mode 100644 config/default/language.content_settings.taxonomy_term.project_type.yml create mode 100644 config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml create mode 100644 config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml create mode 100644 config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type.yml create mode 100644 config/default/shortcut.set.developers.yml create mode 100644 config/default/taxonomy.vocabulary.project_stage.yml create mode 100644 config/default/taxonomy.vocabulary.project_status.yml create mode 100644 config/default/taxonomy.vocabulary.project_type.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_stage.default.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_status.default.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_type.default.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_stage.default.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_status.default.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_type.default.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_concept.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_stage.field_icon.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_stage.field_project_status.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_status.field_icon.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_type.field_icon.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_concept.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.taxonomy_term.field_project_status.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_stage.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_status.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_type.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_stage.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_status.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_type.yml diff --git a/config/default/core.entity_form_display.node.project.default.yml b/config/default/core.entity_form_display.node.project.default.yml index a54aa74f95..637c46b494 100644 --- a/config/default/core.entity_form_display.node.project.default.yml +++ b/config/default/core.entity_form_display.node.project.default.yml @@ -4,12 +4,66 @@ status: true dependencies: config: - field.field.node.project.body + - field.field.node.project.field_project_concept - node.type.project + - workflows.workflow.city_of_boston_workflows module: - content_moderation + - field_group - path - publication_date - text +third_party_settings: + field_group: + group_project: + children: + - group_basic_information + - group_page_metadata + label: Project + region: content + parent_name: '' + weight: 0 + format_type: tabs + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + direction: vertical + width_breakpoint: 640 + group_basic_information: + children: + - title + - body + - sticky + label: 'Basic Information' + region: content + parent_name: group_project + weight: 20 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + formatter: open + description: '' + required_fields: true + group_page_metadata: + children: { } + label: 'Page Metadata' + region: content + parent_name: group_project + weight: 21 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + formatter: closed + description: '' + required_fields: true id: node.project.default targetEntityType: node bundle: project @@ -17,7 +71,7 @@ mode: default content: body: type: text_textarea_with_summary - weight: 121 + weight: 2 region: content settings: rows: 9 @@ -27,10 +81,18 @@ content: third_party_settings: { } created: type: datetime_timestamp - weight: 10 + weight: 4 region: content settings: { } third_party_settings: { } + field_project_concept: + type: string_textarea + weight: 26 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } langcode: type: language_select weight: 2 @@ -40,46 +102,46 @@ content: third_party_settings: { } moderation_state: type: moderation_state_default - weight: 100 + weight: 11 region: content settings: { } third_party_settings: { } path: type: path - weight: 30 + weight: 9 region: content settings: { } third_party_settings: { } promote: type: boolean_checkbox - weight: 15 + weight: 7 region: content settings: display_label: true third_party_settings: { } published_at: type: publication_date_timestamp - weight: 10 + weight: 6 region: content settings: { } third_party_settings: { } status: type: boolean_checkbox - weight: 120 + weight: 12 region: content settings: display_label: true third_party_settings: { } sticky: type: boolean_checkbox - weight: 16 + weight: 3 region: content settings: display_label: true third_party_settings: { } title: type: string_textfield - weight: -5 + weight: 1 region: content settings: size: 60 @@ -87,7 +149,7 @@ content: third_party_settings: { } uid: type: entity_reference_autocomplete - weight: 5 + weight: 3 region: content settings: match_operator: CONTAINS @@ -96,7 +158,7 @@ content: placeholder: '' third_party_settings: { } url_redirects: - weight: 50 + weight: 10 region: content settings: { } third_party_settings: { } diff --git a/config/default/core.entity_form_display.taxonomy_term.project_stage.default.yml b/config/default/core.entity_form_display.taxonomy_term.project_stage.default.yml new file mode 100644 index 0000000000..a253749c73 --- /dev/null +++ b/config/default/core.entity_form_display.taxonomy_term.project_stage.default.yml @@ -0,0 +1,75 @@ +uuid: ef83a78b-b7f9-4a0f-b154-a53828540bbd +langcode: en +status: true +dependencies: + config: + - entity_browser.browser.icon_entity_browser + - field.field.taxonomy_term.project_stage.field_icon + - field.field.taxonomy_term.project_stage.field_project_status + - taxonomy.vocabulary.project_stage + module: + - entity_browser + - path + - text +id: taxonomy_term.project_stage.default +targetEntityType: taxonomy_term +bundle: project_stage +mode: default +content: + description: + type: text_textarea + weight: 1 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + field_icon: + type: entity_browser_entity_reference + weight: 3 + region: content + settings: + entity_browser: icon_entity_browser + field_widget_display: label + field_widget_edit: true + field_widget_remove: true + field_widget_replace: true + open: false + field_widget_display_settings: { } + selection_mode: selection_append + third_party_settings: { } + field_project_status: + type: options_select + weight: 2 + region: content + settings: { } + third_party_settings: { } + langcode: + type: language_select + weight: 4 + 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: { } + status: + type: boolean_checkbox + weight: 6 + region: content + settings: + display_label: true + third_party_settings: { } +hidden: { } diff --git a/config/default/core.entity_form_display.taxonomy_term.project_status.default.yml b/config/default/core.entity_form_display.taxonomy_term.project_status.default.yml new file mode 100644 index 0000000000..085a0198ae --- /dev/null +++ b/config/default/core.entity_form_display.taxonomy_term.project_status.default.yml @@ -0,0 +1,62 @@ +uuid: fab66d7b-4a7e-4e3e-9e4a-fe9947b1251e +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.project_status.field_icon + - taxonomy.vocabulary.project_status + module: + - path + - text +id: taxonomy_term.project_status.default +targetEntityType: taxonomy_term +bundle: project_status +mode: default +content: + description: + type: text_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_icon: + type: entity_reference_autocomplete + weight: 6 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } + langcode: + type: language_select + weight: 2 + region: content + settings: + include_locked: true + third_party_settings: { } + name: + type: string_textfield + weight: -5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 100 + region: content + settings: + display_label: true + third_party_settings: { } +hidden: { } diff --git a/config/default/core.entity_form_display.taxonomy_term.project_type.default.yml b/config/default/core.entity_form_display.taxonomy_term.project_type.default.yml new file mode 100644 index 0000000000..23e923c16e --- /dev/null +++ b/config/default/core.entity_form_display.taxonomy_term.project_type.default.yml @@ -0,0 +1,69 @@ +uuid: 0c2f46fd-246b-4b03-a347-db6c4869100e +langcode: en +status: true +dependencies: + config: + - entity_browser.browser.icon_entity_browser + - field.field.taxonomy_term.project_type.field_icon + - taxonomy.vocabulary.project_type + module: + - entity_browser + - path + - text +id: taxonomy_term.project_type.default +targetEntityType: taxonomy_term +bundle: project_type +mode: default +content: + description: + type: text_textarea + weight: 1 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + field_icon: + type: entity_browser_entity_reference + weight: 2 + region: content + settings: + entity_browser: icon_entity_browser + field_widget_display: rendered_entity + field_widget_edit: true + field_widget_remove: true + field_widget_replace: true + open: false + field_widget_display_settings: + view_mode: thumbnail + selection_mode: selection_append + third_party_settings: { } + 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: 4 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 5 + region: content + settings: + display_label: true + third_party_settings: { } +hidden: { } diff --git a/config/default/core.entity_view_display.node.project.card.yml b/config/default/core.entity_view_display.node.project.card.yml index ed607035a5..7632a9840b 100644 --- a/config/default/core.entity_view_display.node.project.card.yml +++ b/config/default/core.entity_view_display.node.project.card.yml @@ -5,6 +5,7 @@ dependencies: config: - core.entity_view_mode.node.card - field.field.node.project.body + - field.field.node.project.field_project_concept - node.type.project module: - text @@ -21,11 +22,17 @@ content: third_party_settings: { } weight: 101 region: content + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content links: settings: { } third_party_settings: { } weight: 100 region: content hidden: + field_project_concept: true langcode: true published_at: true diff --git a/config/default/core.entity_view_display.node.project.default.yml b/config/default/core.entity_view_display.node.project.default.yml index 2036b6f78a..e88448fda2 100644 --- a/config/default/core.entity_view_display.node.project.default.yml +++ b/config/default/core.entity_view_display.node.project.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.node.project.body + - field.field.node.project.field_project_concept - node.type.project module: - text @@ -20,6 +21,18 @@ content: third_party_settings: { } weight: 101 region: content + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content + field_project_concept: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 102 + region: content links: settings: { } third_party_settings: { } diff --git a/config/default/core.entity_view_display.node.project.grid_item.yml b/config/default/core.entity_view_display.node.project.grid_item.yml index 3ec420f21f..7d7a204037 100644 --- a/config/default/core.entity_view_display.node.project.grid_item.yml +++ b/config/default/core.entity_view_display.node.project.grid_item.yml @@ -5,6 +5,7 @@ dependencies: config: - core.entity_view_mode.node.grid_item - field.field.node.project.body + - field.field.node.project.field_project_concept - node.type.project module: - text @@ -21,11 +22,17 @@ content: third_party_settings: { } weight: 101 region: content + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content links: settings: { } third_party_settings: { } weight: 100 region: content hidden: + field_project_concept: true langcode: true published_at: true diff --git a/config/default/core.entity_view_display.node.project.listing.yml b/config/default/core.entity_view_display.node.project.listing.yml index 3ea3824f8b..1d0b2e49f9 100644 --- a/config/default/core.entity_view_display.node.project.listing.yml +++ b/config/default/core.entity_view_display.node.project.listing.yml @@ -5,6 +5,7 @@ dependencies: config: - core.entity_view_mode.node.listing - field.field.node.project.body + - field.field.node.project.field_project_concept - node.type.project module: - text @@ -21,11 +22,17 @@ content: third_party_settings: { } weight: 101 region: content + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content links: settings: { } third_party_settings: { } weight: 100 region: content hidden: + field_project_concept: true langcode: true published_at: true diff --git a/config/default/core.entity_view_display.node.project.teaser.yml b/config/default/core.entity_view_display.node.project.teaser.yml index 251b9825b7..83ff49908f 100644 --- a/config/default/core.entity_view_display.node.project.teaser.yml +++ b/config/default/core.entity_view_display.node.project.teaser.yml @@ -5,6 +5,7 @@ dependencies: config: - core.entity_view_mode.node.teaser - field.field.node.project.body + - field.field.node.project.field_project_concept - node.type.project module: - text @@ -22,11 +23,17 @@ content: third_party_settings: { } weight: 101 region: content + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content links: settings: { } third_party_settings: { } weight: 100 region: content hidden: + field_project_concept: true langcode: true published_at: true diff --git a/config/default/core.entity_view_display.taxonomy_term.project_stage.default.yml b/config/default/core.entity_view_display.taxonomy_term.project_stage.default.yml new file mode 100644 index 0000000000..08c31bcc27 --- /dev/null +++ b/config/default/core.entity_view_display.taxonomy_term.project_stage.default.yml @@ -0,0 +1,49 @@ +uuid: 870084f3-1d88-4fd2-a136-b5544640b1ec +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.project_stage.field_icon + - field.field.taxonomy_term.project_stage.field_project_status + - taxonomy.vocabulary.project_stage + module: + - fences + - text +id: taxonomy_term.project_stage.default +targetEntityType: taxonomy_term +bundle: project_stage +mode: default +content: + description: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content + field_icon: + type: entity_reference_entity_view + label: hidden + settings: + view_mode: default + link: false + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: '' + fences_field_item_tag: none + fences_field_item_classes: b--g + fences_label_tag: none + fences_label_classes: '' + weight: 1 + region: content + field_project_status: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 2 + region: content +hidden: + langcode: true diff --git a/config/default/core.entity_view_display.taxonomy_term.project_status.default.yml b/config/default/core.entity_view_display.taxonomy_term.project_status.default.yml new file mode 100644 index 0000000000..cb792703a0 --- /dev/null +++ b/config/default/core.entity_view_display.taxonomy_term.project_status.default.yml @@ -0,0 +1,40 @@ +uuid: 0426b423-38d5-4046-98ab-344e67e8a2ee +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.project_status.field_icon + - taxonomy.vocabulary.project_status + module: + - fences + - text +id: taxonomy_term.project_status.default +targetEntityType: taxonomy_term +bundle: project_status +mode: default +content: + description: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content + field_icon: + type: entity_reference_entity_view + label: hidden + settings: + view_mode: default + link: false + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: '' + fences_field_item_tag: none + fences_field_item_classes: b--g + fences_label_tag: none + fences_label_classes: '' + weight: 1 + region: content +hidden: + langcode: true diff --git a/config/default/core.entity_view_display.taxonomy_term.project_type.default.yml b/config/default/core.entity_view_display.taxonomy_term.project_type.default.yml new file mode 100644 index 0000000000..0ba274d932 --- /dev/null +++ b/config/default/core.entity_view_display.taxonomy_term.project_type.default.yml @@ -0,0 +1,40 @@ +uuid: a7af5b34-dd51-43c1-b8e0-675e1b184966 +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.project_type.field_icon + - taxonomy.vocabulary.project_type + module: + - fences + - text +id: taxonomy_term.project_type.default +targetEntityType: taxonomy_term +bundle: project_type +mode: default +content: + description: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content + field_icon: + type: entity_reference_entity_view + label: hidden + settings: + view_mode: default + link: false + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: '' + fences_field_item_tag: none + fences_field_item_classes: b--g + fences_label_tag: none + fences_label_classes: '' + weight: 1 + region: content +hidden: + langcode: true diff --git a/config/default/field.field.node.project.field_project_concept.yml b/config/default/field.field.node.project.field_project_concept.yml new file mode 100644 index 0000000000..4b73b1f1e9 --- /dev/null +++ b/config/default/field.field.node.project.field_project_concept.yml @@ -0,0 +1,19 @@ +uuid: 7b1eb6cc-5731-4674-8bfd-ba30411f62de +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_concept + - node.type.project +id: node.project.field_project_concept +field_name: field_project_concept +entity_type: node +bundle: project +label: 'Project Concept' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string_long diff --git a/config/default/field.field.taxonomy_term.project_stage.field_icon.yml b/config/default/field.field.taxonomy_term.project_stage.field_icon.yml new file mode 100644 index 0000000000..5c3b82bd06 --- /dev/null +++ b/config/default/field.field.taxonomy_term.project_stage.field_icon.yml @@ -0,0 +1,34 @@ +uuid: 6aeb9cdf-35e3-4917-a3d8-9d22f091f8df +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_icon + - media.type.icon + - taxonomy.vocabulary.project_stage + module: + - field_display_label +third_party_settings: + field_display_label: + display_label: 'Stage Icon' +id: taxonomy_term.project_stage.field_icon +field_name: field_icon +entity_type: taxonomy_term +bundle: project_stage +label: Icon +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + icon: icon + sort: + field: name + direction: ASC + auto_create: true + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/default/field.field.taxonomy_term.project_stage.field_project_status.yml b/config/default/field.field.taxonomy_term.project_stage.field_project_status.yml new file mode 100644 index 0000000000..3fe3c7f679 --- /dev/null +++ b/config/default/field.field.taxonomy_term.project_stage.field_project_status.yml @@ -0,0 +1,33 @@ +uuid: 686cef53-cf09-4e45-a6ab-36e040252b24 +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_project_status + - taxonomy.vocabulary.project_stage + - taxonomy.vocabulary.project_status + content: + - 'taxonomy_term:project_status:c1feeaaa-1edc-4804-9c77-93ef42c9b6f3' +id: taxonomy_term.project_stage.field_project_status +field_name: field_project_status +entity_type: taxonomy_term +bundle: project_stage +label: 'Project Status' +description: 'The timeline status for this project stage.' +required: false +translatable: false +default_value: + - + target_uuid: c1feeaaa-1edc-4804-9c77-93ef42c9b6f3 +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + project_status: project_status + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/default/field.field.taxonomy_term.project_status.field_icon.yml b/config/default/field.field.taxonomy_term.project_status.field_icon.yml new file mode 100644 index 0000000000..3947a176eb --- /dev/null +++ b/config/default/field.field.taxonomy_term.project_status.field_icon.yml @@ -0,0 +1,29 @@ +uuid: 556602a1-a753-4f64-a645-61a40c962454 +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_icon + - media.type.icon + - taxonomy.vocabulary.project_status +id: taxonomy_term.project_status.field_icon +field_name: field_icon +entity_type: taxonomy_term +bundle: project_status +label: Icon +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + icon: icon + sort: + field: name + direction: ASC + auto_create: true + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/default/field.field.taxonomy_term.project_type.field_icon.yml b/config/default/field.field.taxonomy_term.project_type.field_icon.yml new file mode 100644 index 0000000000..9341dc7139 --- /dev/null +++ b/config/default/field.field.taxonomy_term.project_type.field_icon.yml @@ -0,0 +1,29 @@ +uuid: 30c9a86d-221f-482a-a475-9eeb91059081 +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_icon + - media.type.icon + - taxonomy.vocabulary.project_type +id: taxonomy_term.project_type.field_icon +field_name: field_icon +entity_type: taxonomy_term +bundle: project_type +label: Icon +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + icon: icon + sort: + field: name + direction: ASC + auto_create: true + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/default/field.storage.node.field_project_concept.yml b/config/default/field.storage.node.field_project_concept.yml new file mode 100644 index 0000000000..646861e7a2 --- /dev/null +++ b/config/default/field.storage.node.field_project_concept.yml @@ -0,0 +1,19 @@ +uuid: 7a87fac4-b74c-48a7-a185-a0cafaa6da53 +langcode: en +status: true +dependencies: + module: + - node +id: node.field_project_concept +field_name: field_project_concept +entity_type: node +type: string_long +settings: + case_sensitive: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/default/field.storage.taxonomy_term.field_project_status.yml b/config/default/field.storage.taxonomy_term.field_project_status.yml new file mode 100644 index 0000000000..684cec3cdd --- /dev/null +++ b/config/default/field.storage.taxonomy_term.field_project_status.yml @@ -0,0 +1,19 @@ +uuid: 190156bb-5bc7-48b8-9e93-a7958915d841 +langcode: en +status: true +dependencies: + module: + - taxonomy +id: taxonomy_term.field_project_status +field_name: field_project_status +entity_type: taxonomy_term +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/config/default/language.content_settings.taxonomy_term.project_stage.yml b/config/default/language.content_settings.taxonomy_term.project_stage.yml new file mode 100644 index 0000000000..829560a74d --- /dev/null +++ b/config/default/language.content_settings.taxonomy_term.project_stage.yml @@ -0,0 +1,11 @@ +uuid: 365ddc54-d415-4dbe-b55b-a1b895c42731 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_stage +id: taxonomy_term.project_stage +target_entity_type_id: taxonomy_term +target_bundle: project_stage +default_langcode: site_default +language_alterable: false diff --git a/config/default/language.content_settings.taxonomy_term.project_status.yml b/config/default/language.content_settings.taxonomy_term.project_status.yml new file mode 100644 index 0000000000..9a4c228ae8 --- /dev/null +++ b/config/default/language.content_settings.taxonomy_term.project_status.yml @@ -0,0 +1,11 @@ +uuid: 7f42bc0c-8ed8-49df-949d-ae209d2015c4 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_status +id: taxonomy_term.project_status +target_entity_type_id: taxonomy_term +target_bundle: project_status +default_langcode: site_default +language_alterable: false diff --git a/config/default/language.content_settings.taxonomy_term.project_type.yml b/config/default/language.content_settings.taxonomy_term.project_type.yml new file mode 100644 index 0000000000..2b4d770a85 --- /dev/null +++ b/config/default/language.content_settings.taxonomy_term.project_type.yml @@ -0,0 +1,11 @@ +uuid: 2c68b57a-e7c3-41a8-a8c0-73377bc5d6b2 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_type +id: taxonomy_term.project_type +target_entity_type_id: taxonomy_term +target_bundle: project_type +default_langcode: site_default +language_alterable: false diff --git a/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml b/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml new file mode 100644 index 0000000000..2cb7053a84 --- /dev/null +++ b/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml @@ -0,0 +1,14 @@ +uuid: c8af5ebf-3240-4816-b043-4db63b2c65aa +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_stage +id: taxonomy_vocabulary_project_stage +entity_type_id: taxonomy_vocabulary +entity_id: project_stage +action: display_page +allow_override: 1 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml b/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml new file mode 100644 index 0000000000..60970ab6db --- /dev/null +++ b/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml @@ -0,0 +1,14 @@ +uuid: 3186b098-0201-4190-8244-ddd3db5080c9 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_status +id: taxonomy_vocabulary_project_status +entity_type_id: taxonomy_vocabulary +entity_id: project_status +action: display_page +allow_override: 1 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type.yml b/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type.yml new file mode 100644 index 0000000000..46053301e5 --- /dev/null +++ b/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type.yml @@ -0,0 +1,14 @@ +uuid: a7ef11aa-4245-477d-9707-a87b4ee6c275 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_type +id: taxonomy_vocabulary_project_type +entity_type_id: taxonomy_vocabulary +entity_id: project_type +action: page_not_found +allow_override: 0 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/config/default/shortcut.set.developers.yml b/config/default/shortcut.set.developers.yml new file mode 100644 index 0000000000..d5eda86687 --- /dev/null +++ b/config/default/shortcut.set.developers.yml @@ -0,0 +1,6 @@ +uuid: 7b0ee605-372b-4afc-be6e-0df8d1b50bc4 +langcode: en +status: true +dependencies: { } +id: developers +label: Developers diff --git a/config/default/taxonomy.vocabulary.project_stage.yml b/config/default/taxonomy.vocabulary.project_stage.yml new file mode 100644 index 0000000000..e5b494df6a --- /dev/null +++ b/config/default/taxonomy.vocabulary.project_stage.yml @@ -0,0 +1,9 @@ +uuid: 0ea98194-6343-4288-8b92-6928598cb5ed +langcode: en +status: true +dependencies: { } +name: 'Project Stage' +vid: project_stage +description: 'The projects Status/Stage.' +weight: 0 +new_revision: false diff --git a/config/default/taxonomy.vocabulary.project_status.yml b/config/default/taxonomy.vocabulary.project_status.yml new file mode 100644 index 0000000000..f3bef743a5 --- /dev/null +++ b/config/default/taxonomy.vocabulary.project_status.yml @@ -0,0 +1,9 @@ +uuid: 2ebbcd5f-264c-417d-bd26-f75c8eb8e3e3 +langcode: en +status: true +dependencies: { } +name: 'Project Status' +vid: project_status +description: 'Project timeline status' +weight: 0 +new_revision: false diff --git a/config/default/taxonomy.vocabulary.project_type.yml b/config/default/taxonomy.vocabulary.project_type.yml new file mode 100644 index 0000000000..f6cd8d58e3 --- /dev/null +++ b/config/default/taxonomy.vocabulary.project_type.yml @@ -0,0 +1,9 @@ +uuid: 049877f6-df03-4c23-bfa1-f89e34dc1311 +langcode: en +status: true +dependencies: { } +name: 'Project Type' +vid: project_type +description: null +weight: 0 +new_revision: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml index 641699692d..09631b021d 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml @@ -3,12 +3,66 @@ status: true dependencies: config: - field.field.node.project.body + - field.field.node.project.field_project_concept - node.type.project + - workflows.workflow.city_of_boston_workflows module: - content_moderation + - field_group - path - publication_date - text +third_party_settings: + field_group: + group_project: + children: + - group_basic_information + - group_page_metadata + label: Project + region: content + parent_name: '' + weight: 0 + format_type: tabs + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + direction: vertical + width_breakpoint: 640 + group_basic_information: + children: + - title + - body + - sticky + label: 'Basic Information' + region: content + parent_name: group_project + weight: 20 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + formatter: open + description: '' + required_fields: true + group_page_metadata: + children: { } + label: 'Page Metadata' + region: content + parent_name: group_project + weight: 21 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + formatter: closed + description: '' + required_fields: true id: node.project.default targetEntityType: node bundle: project @@ -16,7 +70,7 @@ mode: default content: body: type: text_textarea_with_summary - weight: 121 + weight: 2 region: content settings: rows: 9 @@ -26,10 +80,18 @@ content: third_party_settings: { } created: type: datetime_timestamp - weight: 10 + weight: 4 region: content settings: { } third_party_settings: { } + field_project_concept: + type: string_textarea + weight: 26 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } langcode: type: language_select weight: 2 @@ -39,46 +101,46 @@ content: third_party_settings: { } moderation_state: type: moderation_state_default - weight: 100 + weight: 11 region: content settings: { } third_party_settings: { } path: type: path - weight: 30 + weight: 9 region: content settings: { } third_party_settings: { } promote: type: boolean_checkbox - weight: 15 + weight: 7 region: content settings: display_label: true third_party_settings: { } published_at: type: publication_date_timestamp - weight: 10 + weight: 6 region: content settings: { } third_party_settings: { } status: type: boolean_checkbox - weight: 120 + weight: 12 region: content settings: display_label: true third_party_settings: { } sticky: type: boolean_checkbox - weight: 16 + weight: 3 region: content settings: display_label: true third_party_settings: { } title: type: string_textfield - weight: -5 + weight: 1 region: content settings: size: 60 @@ -86,7 +148,7 @@ content: third_party_settings: { } uid: type: entity_reference_autocomplete - weight: 5 + weight: 3 region: content settings: match_operator: CONTAINS @@ -95,7 +157,7 @@ content: placeholder: '' third_party_settings: { } url_redirects: - weight: 50 + weight: 10 region: content settings: { } third_party_settings: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_stage.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_stage.default.yml new file mode 100644 index 0000000000..74407ac0ed --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_stage.default.yml @@ -0,0 +1,74 @@ +langcode: en +status: true +dependencies: + config: + - entity_browser.browser.icon_entity_browser + - field.field.taxonomy_term.project_stage.field_icon + - field.field.taxonomy_term.project_stage.field_project_status + - taxonomy.vocabulary.project_stage + module: + - entity_browser + - path + - text +id: taxonomy_term.project_stage.default +targetEntityType: taxonomy_term +bundle: project_stage +mode: default +content: + description: + type: text_textarea + weight: 1 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + field_icon: + type: entity_browser_entity_reference + weight: 3 + region: content + settings: + entity_browser: icon_entity_browser + field_widget_display: label + field_widget_edit: true + field_widget_remove: true + field_widget_replace: true + open: false + field_widget_display_settings: { } + selection_mode: selection_append + third_party_settings: { } + field_project_status: + type: options_select + weight: 2 + region: content + settings: { } + third_party_settings: { } + langcode: + type: language_select + weight: 4 + 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: { } + status: + type: boolean_checkbox + weight: 6 + region: content + settings: + display_label: true + third_party_settings: { } +hidden: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_status.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_status.default.yml new file mode 100644 index 0000000000..ff0065d71d --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_status.default.yml @@ -0,0 +1,61 @@ +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.project_status.field_icon + - taxonomy.vocabulary.project_status + module: + - path + - text +id: taxonomy_term.project_status.default +targetEntityType: taxonomy_term +bundle: project_status +mode: default +content: + description: + type: text_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_icon: + type: entity_reference_autocomplete + weight: 6 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } + langcode: + type: language_select + weight: 2 + region: content + settings: + include_locked: true + third_party_settings: { } + name: + type: string_textfield + weight: -5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 100 + region: content + settings: + display_label: true + third_party_settings: { } +hidden: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_type.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_type.default.yml new file mode 100644 index 0000000000..b0bae00ae4 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_type.default.yml @@ -0,0 +1,68 @@ +langcode: en +status: true +dependencies: + config: + - entity_browser.browser.icon_entity_browser + - field.field.taxonomy_term.project_type.field_icon + - taxonomy.vocabulary.project_type + module: + - entity_browser + - path + - text +id: taxonomy_term.project_type.default +targetEntityType: taxonomy_term +bundle: project_type +mode: default +content: + description: + type: text_textarea + weight: 1 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + field_icon: + type: entity_browser_entity_reference + weight: 2 + region: content + settings: + entity_browser: icon_entity_browser + field_widget_display: rendered_entity + field_widget_edit: true + field_widget_remove: true + field_widget_replace: true + open: false + field_widget_display_settings: + view_mode: thumbnail + selection_mode: selection_append + third_party_settings: { } + 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: 4 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 5 + region: content + settings: + display_label: true + third_party_settings: { } +hidden: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml index e844952fa8..dcf795cc2f 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml @@ -4,6 +4,7 @@ dependencies: config: - core.entity_view_mode.node.card - field.field.node.project.body + - field.field.node.project.field_project_concept - node.type.project module: - text @@ -20,11 +21,17 @@ content: third_party_settings: { } weight: 101 region: content + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content links: settings: { } third_party_settings: { } weight: 100 region: content hidden: + field_project_concept: true langcode: true published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml index 3125bf622e..b9d8528cb7 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml @@ -3,6 +3,7 @@ status: true dependencies: config: - field.field.node.project.body + - field.field.node.project.field_project_concept - node.type.project module: - text @@ -19,6 +20,18 @@ content: third_party_settings: { } weight: 101 region: content + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content + field_project_concept: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 102 + region: content links: settings: { } third_party_settings: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml index 20b5f0aa69..7987f7b3ff 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml @@ -4,6 +4,7 @@ dependencies: config: - core.entity_view_mode.node.grid_item - field.field.node.project.body + - field.field.node.project.field_project_concept - node.type.project module: - text @@ -20,11 +21,17 @@ content: third_party_settings: { } weight: 101 region: content + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content links: settings: { } third_party_settings: { } weight: 100 region: content hidden: + field_project_concept: true langcode: true published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml index 2517d816b2..80d93023e8 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml @@ -4,6 +4,7 @@ dependencies: config: - core.entity_view_mode.node.listing - field.field.node.project.body + - field.field.node.project.field_project_concept - node.type.project module: - text @@ -20,11 +21,17 @@ content: third_party_settings: { } weight: 101 region: content + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content links: settings: { } third_party_settings: { } weight: 100 region: content hidden: + field_project_concept: true langcode: true published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml index a0b41d3946..f689b4b673 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml @@ -4,6 +4,7 @@ dependencies: config: - core.entity_view_mode.node.teaser - field.field.node.project.body + - field.field.node.project.field_project_concept - node.type.project module: - text @@ -21,11 +22,17 @@ content: third_party_settings: { } weight: 101 region: content + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content links: settings: { } third_party_settings: { } weight: 100 region: content hidden: + field_project_concept: true langcode: true published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_stage.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_stage.default.yml new file mode 100644 index 0000000000..bdbd8137da --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_stage.default.yml @@ -0,0 +1,48 @@ +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.project_stage.field_icon + - field.field.taxonomy_term.project_stage.field_project_status + - taxonomy.vocabulary.project_stage + module: + - fences + - text +id: taxonomy_term.project_stage.default +targetEntityType: taxonomy_term +bundle: project_stage +mode: default +content: + description: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content + field_icon: + type: entity_reference_entity_view + label: hidden + settings: + view_mode: default + link: false + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: '' + fences_field_item_tag: none + fences_field_item_classes: b--g + fences_label_tag: none + fences_label_classes: '' + weight: 1 + region: content + field_project_status: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 2 + region: content +hidden: + langcode: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_status.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_status.default.yml new file mode 100644 index 0000000000..9c8da1a4e8 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_status.default.yml @@ -0,0 +1,39 @@ +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.project_status.field_icon + - taxonomy.vocabulary.project_status + module: + - fences + - text +id: taxonomy_term.project_status.default +targetEntityType: taxonomy_term +bundle: project_status +mode: default +content: + description: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content + field_icon: + type: entity_reference_entity_view + label: hidden + settings: + view_mode: default + link: false + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: '' + fences_field_item_tag: none + fences_field_item_classes: b--g + fences_label_tag: none + fences_label_classes: '' + weight: 1 + region: content +hidden: + langcode: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_type.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_type.default.yml new file mode 100644 index 0000000000..cf6172aafd --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_type.default.yml @@ -0,0 +1,39 @@ +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.project_type.field_icon + - taxonomy.vocabulary.project_type + module: + - fences + - text +id: taxonomy_term.project_type.default +targetEntityType: taxonomy_term +bundle: project_type +mode: default +content: + description: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content + field_icon: + type: entity_reference_entity_view + label: hidden + settings: + view_mode: default + link: false + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: '' + fences_field_item_tag: none + fences_field_item_classes: b--g + fences_label_tag: none + fences_label_classes: '' + weight: 1 + region: content +hidden: + langcode: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_concept.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_concept.yml new file mode 100644 index 0000000000..e8ee7dc1f9 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_concept.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_concept + - node.type.project +id: node.project.field_project_concept +field_name: field_project_concept +entity_type: node +bundle: project +label: 'Project Concept' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string_long diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_stage.field_icon.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_stage.field_icon.yml new file mode 100644 index 0000000000..a90cd6104b --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_stage.field_icon.yml @@ -0,0 +1,33 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_icon + - media.type.icon + - taxonomy.vocabulary.project_stage + module: + - field_display_label +third_party_settings: + field_display_label: + display_label: 'Stage Icon' +id: taxonomy_term.project_stage.field_icon +field_name: field_icon +entity_type: taxonomy_term +bundle: project_stage +label: Icon +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + icon: icon + sort: + field: name + direction: ASC + auto_create: true + auto_create_bundle: '' +field_type: entity_reference diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_stage.field_project_status.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_stage.field_project_status.yml new file mode 100644 index 0000000000..5d995651c0 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_stage.field_project_status.yml @@ -0,0 +1,32 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_project_status + - taxonomy.vocabulary.project_stage + - taxonomy.vocabulary.project_status + content: + - 'taxonomy_term:project_status:c1feeaaa-1edc-4804-9c77-93ef42c9b6f3' +id: taxonomy_term.project_stage.field_project_status +field_name: field_project_status +entity_type: taxonomy_term +bundle: project_stage +label: 'Project Status' +description: 'The timeline status for this project stage.' +required: false +translatable: false +default_value: + - + target_uuid: c1feeaaa-1edc-4804-9c77-93ef42c9b6f3 +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + project_status: project_status + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_status.field_icon.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_status.field_icon.yml new file mode 100644 index 0000000000..c0d0974cd6 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_status.field_icon.yml @@ -0,0 +1,28 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_icon + - media.type.icon + - taxonomy.vocabulary.project_status +id: taxonomy_term.project_status.field_icon +field_name: field_icon +entity_type: taxonomy_term +bundle: project_status +label: Icon +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + icon: icon + sort: + field: name + direction: ASC + auto_create: true + auto_create_bundle: '' +field_type: entity_reference diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_type.field_icon.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_type.field_icon.yml new file mode 100644 index 0000000000..d48b73f09f --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_type.field_icon.yml @@ -0,0 +1,28 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_icon + - media.type.icon + - taxonomy.vocabulary.project_type +id: taxonomy_term.project_type.field_icon +field_name: field_icon +entity_type: taxonomy_term +bundle: project_type +label: Icon +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + icon: icon + sort: + field: name + direction: ASC + auto_create: true + auto_create_bundle: '' +field_type: entity_reference diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_concept.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_concept.yml new file mode 100644 index 0000000000..971d622db5 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_concept.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + module: + - node +id: node.field_project_concept +field_name: field_project_concept +entity_type: node +type: string_long +settings: + case_sensitive: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.taxonomy_term.field_project_status.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.taxonomy_term.field_project_status.yml new file mode 100644 index 0000000000..e2d9d40108 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.taxonomy_term.field_project_status.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + module: + - taxonomy +id: taxonomy_term.field_project_status +field_name: field_project_status +entity_type: taxonomy_term +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/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_stage.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_stage.yml new file mode 100644 index 0000000000..2c8d5b9ea7 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_stage.yml @@ -0,0 +1,10 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_stage +id: taxonomy_term.project_stage +target_entity_type_id: taxonomy_term +target_bundle: project_stage +default_langcode: site_default +language_alterable: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_status.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_status.yml new file mode 100644 index 0000000000..21ebbf8d05 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_status.yml @@ -0,0 +1,10 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_status +id: taxonomy_term.project_status +target_entity_type_id: taxonomy_term +target_bundle: project_status +default_langcode: site_default +language_alterable: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_type.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_type.yml new file mode 100644 index 0000000000..8aabf29a21 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_type.yml @@ -0,0 +1,10 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_type +id: taxonomy_term.project_type +target_entity_type_id: taxonomy_term +target_bundle: project_type +default_langcode: site_default +language_alterable: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml new file mode 100644 index 0000000000..9d779ec9e0 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml @@ -0,0 +1,13 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_stage +id: taxonomy_vocabulary_project_stage +entity_type_id: taxonomy_vocabulary +entity_id: project_stage +action: display_page +allow_override: 1 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml new file mode 100644 index 0000000000..47dd2dba58 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml @@ -0,0 +1,13 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_status +id: taxonomy_vocabulary_project_status +entity_type_id: taxonomy_vocabulary +entity_id: project_status +action: display_page +allow_override: 1 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type.yml new file mode 100644 index 0000000000..3a40ec40af --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type.yml @@ -0,0 +1,13 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_type +id: taxonomy_vocabulary_project_type +entity_type_id: taxonomy_vocabulary +entity_id: project_type +action: page_not_found +allow_override: 0 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_stage.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_stage.yml new file mode 100644 index 0000000000..04cd627a4c --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_stage.yml @@ -0,0 +1,8 @@ +langcode: en +status: true +dependencies: { } +name: 'Project Stage' +vid: project_stage +description: 'The projects Status/Stage.' +weight: 0 +new_revision: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_status.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_status.yml new file mode 100644 index 0000000000..6e6b5959ad --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_status.yml @@ -0,0 +1,8 @@ +langcode: en +status: true +dependencies: { } +name: 'Project Status' +vid: project_status +description: 'Project timeline status' +weight: 0 +new_revision: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_type.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_type.yml new file mode 100644 index 0000000000..3288163474 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_type.yml @@ -0,0 +1,8 @@ +langcode: en +status: true +dependencies: { } +name: 'Project Type' +vid: project_type +description: null +weight: 0 +new_revision: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml index ccaca35081..dd08ebe633 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml @@ -16,3 +16,26 @@ config_devel: - language.content_settings.node.project - node.type.project - rabbit_hole.behavior_settings.node_type_project + - field.storage.node.field_project_concept + - field.field.node.project.field_project_concept + - field.storage.taxonomy_term.field_project_status + - taxonomy.vocabulary.project_stage + - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage + - language.content_settings.taxonomy_term.project_stage + - field.field.taxonomy_term.project_stage.field_icon + - taxonomy.vocabulary.project_status + - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status + - language.content_settings.taxonomy_term.project_status + - field.field.taxonomy_term.project_status.field_icon + - field.field.taxonomy_term.project_stage.field_project_status + - core.entity_view_display.taxonomy_term.project_status.default + - core.entity_view_display.taxonomy_term.project_stage.default + - core.entity_form_display.taxonomy_term.project_status.default + - core.entity_form_display.taxonomy_term.project_stage.default + - core.entity_view_display.node.project.teaser + - taxonomy.vocabulary.project_type + - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type + - language.content_settings.taxonomy_term.project_type + - field.field.taxonomy_term.project_type.field_icon + - core.entity_view_display.taxonomy_term.project_type.default + - core.entity_form_display.taxonomy_term.project_type.default From 5c2b88f95828f0278bff781934200e0f1d0efced Mon Sep 17 00:00:00 2001 From: David Upton Date: Mon, 19 Aug 2024 16:18:37 -0400 Subject: [PATCH 06/14] DIG-4968 Adds fields to node_project + displays --- ...tity_form_display.node.project.default.yml | 233 ++++++++++++++++-- ...tity_view_display.node.project.article.yml | 77 ++++++ ....entity_view_display.node.project.card.yml | 39 +++ ...tity_view_display.node.project.default.yml | 178 +++++++++++++ ...isplay.node.project.department_listing.yml | 70 ++++++ ...iew_display.node.project.featured_item.yml | 84 +++++++ ...ty_view_display.node.project.grid_item.yml | 32 +++ ...tity_view_display.node.project.listing.yml | 61 +++++ ...ntity_view_display.node.project.teaser.yml | 32 +++ ....project.field_bh_project_manager_name.yml | 19 ++ ....project.field_bh_project_manger_phone.yml | 21 ++ ...field.field.node.project.field_contact.yml | 34 +++ .../field.field.node.project.field_cost.yml | 19 ++ .../field.field.node.project.field_email.yml | 24 ++ ....field.node.project.field_phone_number.yml | 24 ++ ...eld.node.project.field_project_address.yml | 48 ++++ ...oject.field_project_address_geo_polygo.yml | 21 ++ ...oject.field_project_address_geolocatio.yml | 21 ++ ....field.node.project.field_project_date.yml | 21 ++ ...ld.node.project.field_project_features.yml | 29 +++ ...field.node.project.field_project_image.yml | 29 +++ ...field.node.project.field_project_stage.yml | 29 +++ ....field.node.project.field_project_type.yml | 29 +++ ....field.node.project.field_project_year.yml | 21 ++ ...node.project.field_single_neighborhood.yml | 29 +++ ...eld.storage.node.field_project_address.yml | 19 ++ ....node.field_project_address_geo_polygo.yml | 19 ++ ....node.field_project_address_geolocatio.yml | 19 ++ .../field.storage.node.field_project_date.yml | 21 ++ ...ld.storage.node.field_project_features.yml | 20 ++ ...field.storage.node.field_project_image.yml | 20 ++ ...field.storage.node.field_project_stage.yml | 20 ++ .../field.storage.node.field_project_type.yml | 20 ++ .../field.storage.node.field_project_year.yml | 45 ++++ ...ettings.taxonomy_term.project_features.yml | 11 + ...s.taxonomy_vocabulary_project_features.yml | 14 ++ ...ings.taxonomy_vocabulary_project_stage.yml | 4 +- ...ngs.taxonomy_vocabulary_project_status.yml | 4 +- .../taxonomy.vocabulary.project_features.yml | 9 + ...tity_form_display.node.project.default.yml | 233 ++++++++++++++++-- ....entity_view_display.node.project.card.yml | 39 +++ ...tity_view_display.node.project.default.yml | 178 +++++++++++++ ...isplay.node.project.department_listing.yml | 69 ++++++ ...iew_display.node.project.featured_item.yml | 83 +++++++ ...ty_view_display.node.project.grid_item.yml | 32 +++ ...tity_view_display.node.project.listing.yml | 61 +++++ ...ntity_view_display.node.project.teaser.yml | 32 +++ ....project.field_bh_project_manager_name.yml | 18 ++ ....project.field_bh_project_manger_phone.yml | 20 ++ ...field.field.node.project.field_contact.yml | 33 +++ .../field.field.node.project.field_cost.yml | 18 ++ .../field.field.node.project.field_email.yml | 23 ++ ....field.node.project.field_phone_number.yml | 23 ++ ...eld.node.project.field_project_address.yml | 47 ++++ ...oject.field_project_address_geo_polygo.yml | 20 ++ ...oject.field_project_address_geolocatio.yml | 20 ++ ....field.node.project.field_project_date.yml | 20 ++ ...ld.node.project.field_project_features.yml | 28 +++ ...field.node.project.field_project_image.yml | 28 +++ ...field.node.project.field_project_stage.yml | 28 +++ ....field.node.project.field_project_type.yml | 28 +++ ....field.node.project.field_project_year.yml | 20 ++ ...node.project.field_single_neighborhood.yml | 28 +++ ...eld.storage.node.field_project_address.yml | 18 ++ ....node.field_project_address_geo_polygo.yml | 18 ++ ....node.field_project_address_geolocatio.yml | 18 ++ .../field.storage.node.field_project_date.yml | 20 ++ ...ld.storage.node.field_project_features.yml | 19 ++ ...field.storage.node.field_project_image.yml | 19 ++ ...field.storage.node.field_project_stage.yml | 19 ++ .../field.storage.node.field_project_type.yml | 19 ++ .../field.storage.node.field_project_year.yml | 44 ++++ ...ettings.taxonomy_term.project_features.yml | 10 + ...s.taxonomy_vocabulary_project_features.yml | 13 + ...ings.taxonomy_vocabulary_project_stage.yml | 4 +- ...ngs.taxonomy_vocabulary_project_status.yml | 4 +- .../taxonomy.vocabulary.project_features.yml | 8 + .../node_project/node_project.info.yml | 61 +++-- .../themes/custom/bos_admin/css/bos_admin.css | 2 +- 79 files changed, 2837 insertions(+), 57 deletions(-) create mode 100644 config/default/core.entity_view_display.node.project.article.yml create mode 100644 config/default/core.entity_view_display.node.project.department_listing.yml create mode 100644 config/default/core.entity_view_display.node.project.featured_item.yml create mode 100644 config/default/field.field.node.project.field_bh_project_manager_name.yml create mode 100644 config/default/field.field.node.project.field_bh_project_manger_phone.yml create mode 100644 config/default/field.field.node.project.field_contact.yml create mode 100644 config/default/field.field.node.project.field_cost.yml create mode 100644 config/default/field.field.node.project.field_email.yml create mode 100644 config/default/field.field.node.project.field_phone_number.yml create mode 100644 config/default/field.field.node.project.field_project_address.yml create mode 100644 config/default/field.field.node.project.field_project_address_geo_polygo.yml create mode 100644 config/default/field.field.node.project.field_project_address_geolocatio.yml create mode 100644 config/default/field.field.node.project.field_project_date.yml create mode 100644 config/default/field.field.node.project.field_project_features.yml create mode 100644 config/default/field.field.node.project.field_project_image.yml create mode 100644 config/default/field.field.node.project.field_project_stage.yml create mode 100644 config/default/field.field.node.project.field_project_type.yml create mode 100644 config/default/field.field.node.project.field_project_year.yml create mode 100644 config/default/field.field.node.project.field_single_neighborhood.yml create mode 100644 config/default/field.storage.node.field_project_address.yml create mode 100644 config/default/field.storage.node.field_project_address_geo_polygo.yml create mode 100644 config/default/field.storage.node.field_project_address_geolocatio.yml create mode 100644 config/default/field.storage.node.field_project_date.yml create mode 100644 config/default/field.storage.node.field_project_features.yml create mode 100644 config/default/field.storage.node.field_project_image.yml create mode 100644 config/default/field.storage.node.field_project_stage.yml create mode 100644 config/default/field.storage.node.field_project_type.yml create mode 100644 config/default/field.storage.node.field_project_year.yml create mode 100644 config/default/language.content_settings.taxonomy_term.project_features.yml create mode 100644 config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features.yml create mode 100644 config/default/taxonomy.vocabulary.project_features.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.department_listing.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manager_name.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manger_phone.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_contact.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_cost.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_email.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_phone_number.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address_geo_polygo.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address_geolocatio.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_date.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_features.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_image.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_stage.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_type.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_year.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_single_neighborhood.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address_geo_polygo.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address_geolocatio.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_date.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_features.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_image.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_stage.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_type.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_year.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_features.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_features.yml diff --git a/config/default/core.entity_form_display.node.project.default.yml b/config/default/core.entity_form_display.node.project.default.yml index 637c46b494..09d125b641 100644 --- a/config/default/core.entity_form_display.node.project.default.yml +++ b/config/default/core.entity_form_display.node.project.default.yml @@ -4,20 +4,43 @@ status: true dependencies: config: - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood - node.type.project - workflows.workflow.city_of_boston_workflows module: + - address - content_moderation + - datetime_range - field_group + - geolocation + - geolocation_geometry + - media_library - path - publication_date + - telephone - text third_party_settings: field_group: group_project: children: - group_basic_information + - group_project_information - group_page_metadata label: Project region: content @@ -34,9 +57,14 @@ third_party_settings: group_basic_information: children: - title + - group_s - body - - sticky - label: 'Basic Information' + - group_additional_contact_details + - field_project_address + - field_single_neighborhood + - field_project_address_geolocatio + - field_project_image + label: 'Project Information' region: content parent_name: group_project weight: 20 @@ -54,7 +82,30 @@ third_party_settings: label: 'Page Metadata' region: content parent_name: group_project - weight: 21 + weight: 24 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + formatter: closed + description: '' + required_fields: true + group_project_information: + children: + - field_project_concept + - field_project_date + - field_project_address_geo_polygo + - field_project_features + - field_cost + - field_bh_project_manager_name + - field_bh_project_manger_phone + - sticky + label: 'Additional Details' + region: content + parent_name: group_project + weight: 23 format_type: tab format_settings: classes: '' @@ -64,6 +115,46 @@ third_party_settings: formatter: closed description: '' required_fields: true + group_s: + children: + - field_project_year + - field_project_stage + - field_project_type + label: Stage/type + region: content + parent_name: group_basic_information + weight: 24 + format_type: html_element + format_settings: + classes: g + show_empty_fields: false + id: '' + label_as_html: false + element: div + show_label: false + label_element: h3 + label_element_classes: '' + attributes: '' + effect: none + speed: fast + required_fields: true + group_additional_contact_details: + children: + - field_contact + - field_email + - field_phone_number + label: 'Additional Contact Details' + region: content + parent_name: group_basic_information + weight: 26 + format_type: fieldset + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + description: '' + required_fields: true id: node.project.default targetEntityType: node bundle: project @@ -71,7 +162,7 @@ mode: default content: body: type: text_textarea_with_summary - weight: 2 + weight: 25 region: content settings: rows: 9 @@ -81,67 +172,177 @@ content: third_party_settings: { } created: type: datetime_timestamp - weight: 4 + weight: 9 + region: content + settings: { } + third_party_settings: { } + field_bh_project_manager_name: + type: string_textfield + weight: 36 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_bh_project_manger_phone: + type: telephone_default + weight: 37 + region: content + settings: + placeholder: '' + third_party_settings: { } + field_contact: + type: entity_reference_autocomplete + weight: 25 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } + field_cost: + type: string_textfield + weight: 35 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_email: + type: string_textfield + weight: 26 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_phone_number: + type: string_textfield + weight: 27 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_project_address: + type: address_default + weight: 27 + region: content + settings: { } + third_party_settings: { } + field_project_address_geo_polygo: + type: geolocation_geometry_wkt + weight: 33 + region: content + settings: { } + third_party_settings: { } + field_project_address_geolocatio: + type: geolocation_latlng + weight: 29 region: content settings: { } third_party_settings: { } field_project_concept: type: string_textarea - weight: 26 + weight: 31 region: content settings: rows: 5 placeholder: '' third_party_settings: { } + field_project_date: + type: daterange_default + weight: 32 + region: content + settings: { } + third_party_settings: { } + field_project_features: + type: options_select + weight: 34 + region: content + settings: { } + third_party_settings: { } + field_project_image: + type: media_library_widget + weight: 30 + region: content + settings: + media_types: { } + third_party_settings: { } + field_project_stage: + type: options_select + weight: 24 + region: content + settings: { } + third_party_settings: { } + field_project_type: + type: options_select + weight: 25 + region: content + settings: { } + third_party_settings: { } + field_project_year: + type: options_select + weight: 23 + region: content + settings: { } + third_party_settings: { } + field_single_neighborhood: + type: options_select + weight: 28 + region: content + settings: { } + third_party_settings: { } langcode: type: language_select - weight: 2 + weight: 10 region: content settings: include_locked: true third_party_settings: { } moderation_state: type: moderation_state_default - weight: 11 + weight: 15 region: content settings: { } third_party_settings: { } path: type: path - weight: 9 + weight: 13 region: content settings: { } third_party_settings: { } promote: type: boolean_checkbox - weight: 7 + weight: 12 region: content settings: display_label: true third_party_settings: { } published_at: type: publication_date_timestamp - weight: 6 + weight: 11 region: content settings: { } third_party_settings: { } status: type: boolean_checkbox - weight: 12 + weight: 16 region: content settings: display_label: true third_party_settings: { } sticky: type: boolean_checkbox - weight: 3 + weight: 38 region: content settings: display_label: true third_party_settings: { } title: type: string_textfield - weight: 1 + weight: 23 region: content settings: size: 60 @@ -149,7 +350,7 @@ content: third_party_settings: { } uid: type: entity_reference_autocomplete - weight: 3 + weight: 8 region: content settings: match_operator: CONTAINS @@ -158,7 +359,7 @@ content: placeholder: '' third_party_settings: { } url_redirects: - weight: 10 + weight: 14 region: content settings: { } third_party_settings: { } diff --git a/config/default/core.entity_view_display.node.project.article.yml b/config/default/core.entity_view_display.node.project.article.yml new file mode 100644 index 0000000000..c7c306d5a0 --- /dev/null +++ b/config/default/core.entity_view_display.node.project.article.yml @@ -0,0 +1,77 @@ +uuid: c244f776-4ef2-437b-ae7e-8226ae5d495f +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.article + - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio + - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood + - node.type.project + module: + - user +id: node.project.article +targetEntityType: node +bundle: project +mode: article +content: + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content + field_email: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 5 + region: content + field_phone_number: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 4 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + body: true + field_bh_project_manager_name: true + field_bh_project_manger_phone: true + field_contact: true + field_cost: true + field_project_address: true + field_project_address_geo_polygo: true + field_project_address_geolocatio: true + field_project_concept: true + field_project_date: true + field_project_features: true + field_project_image: true + field_project_stage: true + field_project_type: true + field_project_year: true + field_single_neighborhood: true + langcode: true + published_at: true diff --git a/config/default/core.entity_view_display.node.project.card.yml b/config/default/core.entity_view_display.node.project.card.yml index 7632a9840b..1e871dab7b 100644 --- a/config/default/core.entity_view_display.node.project.card.yml +++ b/config/default/core.entity_view_display.node.project.card.yml @@ -5,7 +5,23 @@ dependencies: config: - core.entity_view_mode.node.card - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood - node.type.project module: - text @@ -27,12 +43,35 @@ content: third_party_settings: { } weight: -20 region: content + field_phone_number: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 2 + region: content links: settings: { } third_party_settings: { } weight: 100 region: content hidden: + field_bh_project_manager_name: true + field_bh_project_manger_phone: true + field_contact: true + field_cost: true + field_email: true + field_project_address: true + field_project_address_geo_polygo: true + field_project_address_geolocatio: true field_project_concept: true + field_project_date: true + field_project_features: true + field_project_image: true + field_project_stage: true + field_project_type: true + field_project_year: true + field_single_neighborhood: true langcode: true published_at: true diff --git a/config/default/core.entity_view_display.node.project.default.yml b/config/default/core.entity_view_display.node.project.default.yml index e88448fda2..2bf57329cc 100644 --- a/config/default/core.entity_view_display.node.project.default.yml +++ b/config/default/core.entity_view_display.node.project.default.yml @@ -4,9 +4,31 @@ status: true dependencies: config: - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood - node.type.project module: + - address + - datetime_range + - fences + - geolocation + - geolocation_geometry + - options - text - user id: node.project.default @@ -26,6 +48,96 @@ content: third_party_settings: { } weight: -20 region: content + field_bh_project_manager_name: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 110 + region: content + field_bh_project_manger_phone: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 111 + region: content + field_contact: + type: entity_reference_entity_view + label: hidden + settings: + view_mode: article + link: false + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: '' + fences_field_item_tag: div + fences_field_item_classes: '' + fences_label_tag: div + fences_label_classes: '' + weight: 3 + region: content + field_cost: + type: string + label: inline + settings: + link_to_entity: false + third_party_settings: + fences: + fences_field_tag: none + fences_field_classes: '' + fences_field_item_tag: div + fences_field_item_classes: 'detail-item__body detail-item__body--secondary' + fences_label_tag: none + fences_label_classes: '' + weight: 8 + region: content + field_email: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: + fences: + fences_field_tag: none + fences_field_classes: '' + fences_field_item_tag: none + fences_field_item_classes: '' + fences_label_tag: none + fences_label_classes: '' + weight: 6 + region: content + field_phone_number: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 4 + region: content + field_project_address: + type: address_default + label: above + settings: { } + third_party_settings: { } + weight: 105 + region: content + field_project_address_geo_polygo: + type: geolocation_geometry_wkt + label: above + settings: { } + third_party_settings: { } + weight: 107 + region: content + field_project_address_geolocatio: + type: geolocation_latlng + label: above + settings: { } + third_party_settings: { } + weight: 106 + region: content field_project_concept: type: basic_string label: above @@ -33,6 +145,72 @@ content: third_party_settings: { } weight: 102 region: content + field_project_date: + type: daterange_default + label: above + settings: + timezone_override: '' + format_type: medium + from_to: both + separator: '-' + third_party_settings: { } + weight: 108 + region: content + field_project_features: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 113 + region: content + field_project_image: + type: entity_reference_entity_view + label: above + settings: + view_mode: default + link: false + third_party_settings: { } + weight: 112 + region: content + field_project_stage: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 103 + region: content + field_project_type: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 104 + region: content + field_project_year: + type: list_default + label: above + settings: { } + third_party_settings: { } + weight: 109 + region: content + field_single_neighborhood: + type: entity_reference_label + label: inline + settings: + link: false + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: detail-item--secondary + fences_field_item_tag: div + fences_field_item_classes: detail-item__body--secondary + fences_label_tag: div + fences_label_classes: detail-item__left + weight: 8 + region: content links: settings: { } third_party_settings: { } diff --git a/config/default/core.entity_view_display.node.project.department_listing.yml b/config/default/core.entity_view_display.node.project.department_listing.yml new file mode 100644 index 0000000000..8c045763c2 --- /dev/null +++ b/config/default/core.entity_view_display.node.project.department_listing.yml @@ -0,0 +1,70 @@ +uuid: 48ddb527-132a-4dbc-954c-0ef01fb74022 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.department_listing + - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio + - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood + - node.type.project + module: + - user +id: node.project.department_listing +targetEntityType: node +bundle: project +mode: department_listing +content: + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content + field_phone_number: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 1 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + body: true + field_bh_project_manager_name: true + field_bh_project_manger_phone: true + field_contact: true + field_cost: true + field_email: true + field_project_address: true + field_project_address_geo_polygo: true + field_project_address_geolocatio: true + field_project_concept: true + field_project_date: true + field_project_features: true + field_project_image: true + field_project_stage: true + field_project_type: true + field_project_year: true + field_single_neighborhood: true + langcode: true + published_at: true diff --git a/config/default/core.entity_view_display.node.project.featured_item.yml b/config/default/core.entity_view_display.node.project.featured_item.yml new file mode 100644 index 0000000000..1f32b30dfa --- /dev/null +++ b/config/default/core.entity_view_display.node.project.featured_item.yml @@ -0,0 +1,84 @@ +uuid: bb0e4733-a274-4216-b1e8-16d812ccee2a +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.featured_item + - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio + - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood + - node.type.project + module: + - smart_trim + - user +id: node.project.featured_item +targetEntityType: node +bundle: project +mode: featured_item +content: + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content + field_cost: + type: smart_trim + label: above + settings: + trim_length: 600 + trim_type: chars + trim_suffix: '' + wrap_output: false + wrap_class: trimmed + more: + display_link: false + target_blank: false + link_trim_only: false + class: more-link + text: More + aria_label: 'Read more about [node:title]' + summary_handler: full + trim_options: { } + third_party_settings: { } + weight: 7 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + body: true + field_bh_project_manager_name: true + field_bh_project_manger_phone: true + field_contact: true + field_email: true + field_phone_number: true + field_project_address: true + field_project_address_geo_polygo: true + field_project_address_geolocatio: true + field_project_concept: true + field_project_date: true + field_project_features: true + field_project_image: true + field_project_stage: true + field_project_type: true + field_project_year: true + field_single_neighborhood: true + langcode: true + published_at: true diff --git a/config/default/core.entity_view_display.node.project.grid_item.yml b/config/default/core.entity_view_display.node.project.grid_item.yml index 7d7a204037..4d4f82dbdc 100644 --- a/config/default/core.entity_view_display.node.project.grid_item.yml +++ b/config/default/core.entity_view_display.node.project.grid_item.yml @@ -5,7 +5,23 @@ dependencies: config: - core.entity_view_mode.node.grid_item - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood - node.type.project module: - text @@ -33,6 +49,22 @@ content: weight: 100 region: content hidden: + field_bh_project_manager_name: true + field_bh_project_manger_phone: true + field_contact: true + field_cost: true + field_email: true + field_phone_number: true + field_project_address: true + field_project_address_geo_polygo: true + field_project_address_geolocatio: true field_project_concept: true + field_project_date: true + field_project_features: true + field_project_image: true + field_project_stage: true + field_project_type: true + field_project_year: true + field_single_neighborhood: true langcode: true published_at: true diff --git a/config/default/core.entity_view_display.node.project.listing.yml b/config/default/core.entity_view_display.node.project.listing.yml index 1d0b2e49f9..25e952a232 100644 --- a/config/default/core.entity_view_display.node.project.listing.yml +++ b/config/default/core.entity_view_display.node.project.listing.yml @@ -5,9 +5,26 @@ dependencies: config: - core.entity_view_mode.node.listing - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood - node.type.project module: + - fences - text - user id: node.project.listing @@ -27,12 +44,56 @@ content: third_party_settings: { } weight: -20 region: content + field_email: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 5 + region: content + field_phone_number: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 4 + region: content + field_single_neighborhood: + type: entity_reference_label + label: hidden + settings: + link: false + third_party_settings: + fences: + fences_field_tag: none + fences_field_classes: '' + fences_field_item_tag: none + fences_field_item_classes: '' + fences_label_tag: none + fences_label_classes: '' + weight: 2 + region: content links: settings: { } third_party_settings: { } weight: 100 region: content hidden: + field_bh_project_manager_name: true + field_bh_project_manger_phone: true + field_contact: true + field_cost: true + field_project_address: true + field_project_address_geo_polygo: true + field_project_address_geolocatio: true field_project_concept: true + field_project_date: true + field_project_features: true + field_project_image: true + field_project_stage: true + field_project_type: true + field_project_year: true langcode: true published_at: true diff --git a/config/default/core.entity_view_display.node.project.teaser.yml b/config/default/core.entity_view_display.node.project.teaser.yml index 83ff49908f..08cbbdccc3 100644 --- a/config/default/core.entity_view_display.node.project.teaser.yml +++ b/config/default/core.entity_view_display.node.project.teaser.yml @@ -5,7 +5,23 @@ dependencies: config: - core.entity_view_mode.node.teaser - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood - node.type.project module: - text @@ -34,6 +50,22 @@ content: weight: 100 region: content hidden: + field_bh_project_manager_name: true + field_bh_project_manger_phone: true + field_contact: true + field_cost: true + field_email: true + field_phone_number: true + field_project_address: true + field_project_address_geo_polygo: true + field_project_address_geolocatio: true field_project_concept: true + field_project_date: true + field_project_features: true + field_project_image: true + field_project_stage: true + field_project_type: true + field_project_year: true + field_single_neighborhood: true langcode: true published_at: true diff --git a/config/default/field.field.node.project.field_bh_project_manager_name.yml b/config/default/field.field.node.project.field_bh_project_manager_name.yml new file mode 100644 index 0000000000..1adc30f68a --- /dev/null +++ b/config/default/field.field.node.project.field_bh_project_manager_name.yml @@ -0,0 +1,19 @@ +uuid: 5d20de05-4ab9-40f3-939c-ba111c8f71fa +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_bh_project_manager_name + - node.type.project +id: node.project.field_bh_project_manager_name +field_name: field_bh_project_manager_name +entity_type: node +bundle: project +label: 'Project Manager Name' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/default/field.field.node.project.field_bh_project_manger_phone.yml b/config/default/field.field.node.project.field_bh_project_manger_phone.yml new file mode 100644 index 0000000000..23c65f3c8a --- /dev/null +++ b/config/default/field.field.node.project.field_bh_project_manger_phone.yml @@ -0,0 +1,21 @@ +uuid: 4e3effe4-ee32-42ab-b658-229898c7c1f0 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_bh_project_manger_phone + - node.type.project + module: + - telephone +id: node.project.field_bh_project_manger_phone +field_name: field_bh_project_manger_phone +entity_type: node +bundle: project +label: 'Project Manger Phone' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: telephone diff --git a/config/default/field.field.node.project.field_contact.yml b/config/default/field.field.node.project.field_contact.yml new file mode 100644 index 0000000000..1b6bdd5e5f --- /dev/null +++ b/config/default/field.field.node.project.field_contact.yml @@ -0,0 +1,34 @@ +uuid: 7777e093-3ebf-40e2-bc62-b695ee58dda5 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_contact + - node.type.project + - taxonomy.vocabulary.contact + module: + - field_display_label +third_party_settings: + field_display_label: + display_label: Department +id: node.project.field_contact +field_name: field_contact +entity_type: node +bundle: project +label: Contact +description: 'Select department that should be displayed for this article.' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + contact: contact + sort: + field: name + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/default/field.field.node.project.field_cost.yml b/config/default/field.field.node.project.field_cost.yml new file mode 100644 index 0000000000..480e284807 --- /dev/null +++ b/config/default/field.field.node.project.field_cost.yml @@ -0,0 +1,19 @@ +uuid: cb9951b4-50e1-4346-a67f-218853f373fa +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_cost + - node.type.project +id: node.project.field_cost +field_name: field_cost +entity_type: node +bundle: project +label: 'Project Cost' +description: 'Enter the budgeted cost, formatted as you would like on the page (e.g. "$4.5 M")' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/default/field.field.node.project.field_email.yml b/config/default/field.field.node.project.field_email.yml new file mode 100644 index 0000000000..cd52658d99 --- /dev/null +++ b/config/default/field.field.node.project.field_email.yml @@ -0,0 +1,24 @@ +uuid: 009b8963-c4b9-4586-a3a7-ba32c03f0425 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_email + - node.type.project + module: + - field_display_label +third_party_settings: + field_display_label: + display_label: 'Contact Email' +id: node.project.field_email +field_name: field_email +entity_type: node +bundle: project +label: Email +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/default/field.field.node.project.field_phone_number.yml b/config/default/field.field.node.project.field_phone_number.yml new file mode 100644 index 0000000000..af744345ee --- /dev/null +++ b/config/default/field.field.node.project.field_phone_number.yml @@ -0,0 +1,24 @@ +uuid: f00d2ff0-5f59-47be-9c85-0c28ff3f5f8c +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_phone_number + - node.type.project + module: + - field_display_label +third_party_settings: + field_display_label: + display_label: 'Contact Phone' +id: node.project.field_phone_number +field_name: field_phone_number +entity_type: node +bundle: project +label: 'Phone Number' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/default/field.field.node.project.field_project_address.yml b/config/default/field.field.node.project.field_project_address.yml new file mode 100644 index 0000000000..19a82b68d6 --- /dev/null +++ b/config/default/field.field.node.project.field_project_address.yml @@ -0,0 +1,48 @@ +uuid: 977f636f-5ff8-4583-b38f-e043e3306282 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_address + - node.type.project + module: + - address +id: node.project.field_project_address +field_name: field_project_address +entity_type: node +bundle: project +label: 'Project Address' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + available_countries: + US: US + langcode_override: en + field_overrides: + givenName: + override: hidden + additionalName: + override: hidden + familyName: + override: hidden + organization: + override: hidden + addressLine1: + override: required + addressLine2: + override: optional + postalCode: + override: required + sortingCode: + override: hidden + dependentLocality: + override: hidden + locality: + override: hidden + administrativeArea: + override: hidden + fields: { } +field_type: address diff --git a/config/default/field.field.node.project.field_project_address_geo_polygo.yml b/config/default/field.field.node.project.field_project_address_geo_polygo.yml new file mode 100644 index 0000000000..f1ae47d3b9 --- /dev/null +++ b/config/default/field.field.node.project.field_project_address_geo_polygo.yml @@ -0,0 +1,21 @@ +uuid: 384d249e-70ec-4971-8a43-ee2628476d5e +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_address_geo_polygo + - node.type.project + module: + - geolocation_geometry +id: node.project.field_project_address_geo_polygo +field_name: field_project_address_geo_polygo +entity_type: node +bundle: project +label: 'Project Address Geo-polygon' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: geolocation_geometry_multipolygon diff --git a/config/default/field.field.node.project.field_project_address_geolocatio.yml b/config/default/field.field.node.project.field_project_address_geolocatio.yml new file mode 100644 index 0000000000..53f338760a --- /dev/null +++ b/config/default/field.field.node.project.field_project_address_geolocatio.yml @@ -0,0 +1,21 @@ +uuid: 9e0e3386-1f18-44b6-bc52-4724cb328eed +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_address_geolocatio + - node.type.project + module: + - geolocation +id: node.project.field_project_address_geolocatio +field_name: field_project_address_geolocatio +entity_type: node +bundle: project +label: 'Project Address Geolocation' +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: geolocation diff --git a/config/default/field.field.node.project.field_project_date.yml b/config/default/field.field.node.project.field_project_date.yml new file mode 100644 index 0000000000..4e68a05764 --- /dev/null +++ b/config/default/field.field.node.project.field_project_date.yml @@ -0,0 +1,21 @@ +uuid: 4de26ae8-e874-4707-8af6-3635b38b1813 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_date + - node.type.project + module: + - datetime_range +id: node.project.field_project_date +field_name: field_project_date +entity_type: node +bundle: project +label: 'Project Date' +description: 'Start and end date for the project.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: daterange diff --git a/config/default/field.field.node.project.field_project_features.yml b/config/default/field.field.node.project.field_project_features.yml new file mode 100644 index 0000000000..7871db3a35 --- /dev/null +++ b/config/default/field.field.node.project.field_project_features.yml @@ -0,0 +1,29 @@ +uuid: f38d7b90-6375-4a30-acc0-46c85a7e99a0 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_features + - node.type.project + - taxonomy.vocabulary.project_features +id: node.project.field_project_features +field_name: field_project_features +entity_type: node +bundle: project +label: 'Project Features' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + project_features: project_features + sort: + field: name + direction: asc + auto_create: true + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/default/field.field.node.project.field_project_image.yml b/config/default/field.field.node.project.field_project_image.yml new file mode 100644 index 0000000000..64725ec1de --- /dev/null +++ b/config/default/field.field.node.project.field_project_image.yml @@ -0,0 +1,29 @@ +uuid: 543f08fb-5fb2-4fc3-ac7e-7f431631d4fc +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_image + - media.type.image + - node.type.project +id: node.project.field_project_image +field_name: field_project_image +entity_type: node +bundle: project +label: 'Project Image' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + image: image + sort: + field: _none + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/default/field.field.node.project.field_project_stage.yml b/config/default/field.field.node.project.field_project_stage.yml new file mode 100644 index 0000000000..49228bca19 --- /dev/null +++ b/config/default/field.field.node.project.field_project_stage.yml @@ -0,0 +1,29 @@ +uuid: dc190c1f-b293-4b9d-abe0-8ceb7b219682 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_stage + - node.type.project + - taxonomy.vocabulary.project_stage +id: node.project.field_project_stage +field_name: field_project_stage +entity_type: node +bundle: project +label: 'Project Stage' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + project_stage: project_stage + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/default/field.field.node.project.field_project_type.yml b/config/default/field.field.node.project.field_project_type.yml new file mode 100644 index 0000000000..e8910ea103 --- /dev/null +++ b/config/default/field.field.node.project.field_project_type.yml @@ -0,0 +1,29 @@ +uuid: 065ff3d0-9a0c-48f5-b5af-5957a560cf13 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_type + - node.type.project + - taxonomy.vocabulary.project_type +id: node.project.field_project_type +field_name: field_project_type +entity_type: node +bundle: project +label: 'Project Type' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + project_type: project_type + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/default/field.field.node.project.field_project_year.yml b/config/default/field.field.node.project.field_project_year.yml new file mode 100644 index 0000000000..738fb88f66 --- /dev/null +++ b/config/default/field.field.node.project.field_project_year.yml @@ -0,0 +1,21 @@ +uuid: ebf45244-6300-43cb-af9d-b5caec61aa09 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_year + - node.type.project + module: + - options +id: node.project.field_project_year +field_name: field_project_year +entity_type: node +bundle: project +label: 'Project Year' +description: 'Financial year this project is allocated to. Used principally for sporting and filtering.' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/config/default/field.field.node.project.field_single_neighborhood.yml b/config/default/field.field.node.project.field_single_neighborhood.yml new file mode 100644 index 0000000000..fd43835801 --- /dev/null +++ b/config/default/field.field.node.project.field_single_neighborhood.yml @@ -0,0 +1,29 @@ +uuid: f2c0c5aa-1d28-43dc-aa9f-c7872c19bbbb +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_single_neighborhood + - node.type.project + - taxonomy.vocabulary.neighborhoods +id: node.project.field_single_neighborhood +field_name: field_single_neighborhood +entity_type: node +bundle: project +label: Neighborhood +description: 'Please select the Neighborhood for this place.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + neighborhoods: neighborhoods + sort: + field: name + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/default/field.storage.node.field_project_address.yml b/config/default/field.storage.node.field_project_address.yml new file mode 100644 index 0000000000..a1305e163c --- /dev/null +++ b/config/default/field.storage.node.field_project_address.yml @@ -0,0 +1,19 @@ +uuid: a25cb822-4225-49f2-baa1-d46234ec6923 +langcode: en +status: true +dependencies: + module: + - address + - node +id: node.field_project_address +field_name: field_project_address +entity_type: node +type: address +settings: { } +module: address +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/default/field.storage.node.field_project_address_geo_polygo.yml b/config/default/field.storage.node.field_project_address_geo_polygo.yml new file mode 100644 index 0000000000..3d08c77a19 --- /dev/null +++ b/config/default/field.storage.node.field_project_address_geo_polygo.yml @@ -0,0 +1,19 @@ +uuid: 5b5a7adf-fcd3-4169-bb03-d09cff340fcb +langcode: en +status: true +dependencies: + module: + - geolocation_geometry + - node +id: node.field_project_address_geo_polygo +field_name: field_project_address_geo_polygo +entity_type: node +type: geolocation_geometry_multipolygon +settings: { } +module: geolocation_geometry +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/default/field.storage.node.field_project_address_geolocatio.yml b/config/default/field.storage.node.field_project_address_geolocatio.yml new file mode 100644 index 0000000000..bea290e3ab --- /dev/null +++ b/config/default/field.storage.node.field_project_address_geolocatio.yml @@ -0,0 +1,19 @@ +uuid: 73ca6512-3be5-4b06-9d05-e7f082b06055 +langcode: en +status: true +dependencies: + module: + - geolocation + - node +id: node.field_project_address_geolocatio +field_name: field_project_address_geolocatio +entity_type: node +type: geolocation +settings: { } +module: geolocation +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/default/field.storage.node.field_project_date.yml b/config/default/field.storage.node.field_project_date.yml new file mode 100644 index 0000000000..37d32721b5 --- /dev/null +++ b/config/default/field.storage.node.field_project_date.yml @@ -0,0 +1,21 @@ +uuid: b608070c-caad-4776-829f-a416fe757f6d +langcode: en +status: true +dependencies: + module: + - datetime_range + - node +id: node.field_project_date +field_name: field_project_date +entity_type: node +type: daterange +settings: + datetime_type: date + optional_end_date: true +module: datetime_range +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/default/field.storage.node.field_project_features.yml b/config/default/field.storage.node.field_project_features.yml new file mode 100644 index 0000000000..917a7adb1a --- /dev/null +++ b/config/default/field.storage.node.field_project_features.yml @@ -0,0 +1,20 @@ +uuid: d0ac0f49-8f7c-4d6d-8185-ab37ba0f0a4a +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +id: node.field_project_features +field_name: field_project_features +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/config/default/field.storage.node.field_project_image.yml b/config/default/field.storage.node.field_project_image.yml new file mode 100644 index 0000000000..9899e12fca --- /dev/null +++ b/config/default/field.storage.node.field_project_image.yml @@ -0,0 +1,20 @@ +uuid: 36834d35-5d4b-4e80-87ca-4e6525f3884a +langcode: en +status: true +dependencies: + module: + - media + - node +id: node.field_project_image +field_name: field_project_image +entity_type: node +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.node.field_project_stage.yml b/config/default/field.storage.node.field_project_stage.yml new file mode 100644 index 0000000000..eab600781f --- /dev/null +++ b/config/default/field.storage.node.field_project_stage.yml @@ -0,0 +1,20 @@ +uuid: 32c852a2-79d7-4a02-8748-35fd0746cd28 +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +id: node.field_project_stage +field_name: field_project_stage +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/config/default/field.storage.node.field_project_type.yml b/config/default/field.storage.node.field_project_type.yml new file mode 100644 index 0000000000..694a65f6ae --- /dev/null +++ b/config/default/field.storage.node.field_project_type.yml @@ -0,0 +1,20 @@ +uuid: 4157ca54-6585-4bbc-9a53-51e7be6ffa2a +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +id: node.field_project_type +field_name: field_project_type +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/config/default/field.storage.node.field_project_year.yml b/config/default/field.storage.node.field_project_year.yml new file mode 100644 index 0000000000..957d3b4f6e --- /dev/null +++ b/config/default/field.storage.node.field_project_year.yml @@ -0,0 +1,45 @@ +uuid: 3a310f65-97b3-4e58-afe4-84b14aa68087 +langcode: en +status: true +dependencies: + module: + - node + - options +id: node.field_project_year +field_name: field_project_year +entity_type: node +type: list_string +settings: + allowed_values: + - + value: fy2023 + label: FY2023 + - + value: fy2024 + label: FY2024 + - + value: fy2025 + label: FY2025 + - + value: fy2026 + label: FY2026 + - + value: fy2027 + label: FY2027 + - + value: fy2028 + label: FY2028 + - + value: fy2029 + label: FY2029 + - + value: fy2030 + label: FY2030 + allowed_values_function: '' +module: options +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/default/language.content_settings.taxonomy_term.project_features.yml b/config/default/language.content_settings.taxonomy_term.project_features.yml new file mode 100644 index 0000000000..5a1691f2a3 --- /dev/null +++ b/config/default/language.content_settings.taxonomy_term.project_features.yml @@ -0,0 +1,11 @@ +uuid: 547a6e33-1a1c-4081-b986-c849993c9b97 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_features +id: taxonomy_term.project_features +target_entity_type_id: taxonomy_term +target_bundle: project_features +default_langcode: site_default +language_alterable: false diff --git a/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features.yml b/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features.yml new file mode 100644 index 0000000000..68266dad98 --- /dev/null +++ b/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features.yml @@ -0,0 +1,14 @@ +uuid: 2bed2c3b-d9c6-4e7a-a292-f35ef060abc3 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_features +id: taxonomy_vocabulary_project_features +entity_type_id: taxonomy_vocabulary +entity_id: project_features +action: page_not_found +allow_override: 0 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml b/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml index 2cb7053a84..197a4154b5 100644 --- a/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml +++ b/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml @@ -7,8 +7,8 @@ dependencies: id: taxonomy_vocabulary_project_stage entity_type_id: taxonomy_vocabulary entity_id: project_stage -action: display_page -allow_override: 1 +action: page_not_found +allow_override: 0 redirect: '' redirect_code: 301 redirect_fallback_action: access_denied diff --git a/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml b/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml index 60970ab6db..ec6c3c77c6 100644 --- a/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml +++ b/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml @@ -7,8 +7,8 @@ dependencies: id: taxonomy_vocabulary_project_status entity_type_id: taxonomy_vocabulary entity_id: project_status -action: display_page -allow_override: 1 +action: page_not_found +allow_override: 0 redirect: '' redirect_code: 301 redirect_fallback_action: access_denied diff --git a/config/default/taxonomy.vocabulary.project_features.yml b/config/default/taxonomy.vocabulary.project_features.yml new file mode 100644 index 0000000000..e263e42452 --- /dev/null +++ b/config/default/taxonomy.vocabulary.project_features.yml @@ -0,0 +1,9 @@ +uuid: 135d187f-646e-4838-80be-62e01524e72d +langcode: en +status: true +dependencies: { } +name: 'Project Features' +vid: project_features +description: 'Features related to a Project.' +weight: 0 +new_revision: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml index 09631b021d..223a23416f 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml @@ -3,20 +3,43 @@ status: true dependencies: config: - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood - node.type.project - workflows.workflow.city_of_boston_workflows module: + - address - content_moderation + - datetime_range - field_group + - geolocation + - geolocation_geometry + - media_library - path - publication_date + - telephone - text third_party_settings: field_group: group_project: children: - group_basic_information + - group_project_information - group_page_metadata label: Project region: content @@ -33,9 +56,14 @@ third_party_settings: group_basic_information: children: - title + - group_s - body - - sticky - label: 'Basic Information' + - group_additional_contact_details + - field_project_address + - field_single_neighborhood + - field_project_address_geolocatio + - field_project_image + label: 'Project Information' region: content parent_name: group_project weight: 20 @@ -53,7 +81,30 @@ third_party_settings: label: 'Page Metadata' region: content parent_name: group_project - weight: 21 + weight: 24 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + formatter: closed + description: '' + required_fields: true + group_project_information: + children: + - field_project_concept + - field_project_date + - field_project_address_geo_polygo + - field_project_features + - field_cost + - field_bh_project_manager_name + - field_bh_project_manger_phone + - sticky + label: 'Additional Details' + region: content + parent_name: group_project + weight: 23 format_type: tab format_settings: classes: '' @@ -63,6 +114,46 @@ third_party_settings: formatter: closed description: '' required_fields: true + group_s: + children: + - field_project_year + - field_project_stage + - field_project_type + label: Stage/type + region: content + parent_name: group_basic_information + weight: 24 + format_type: html_element + format_settings: + classes: g + show_empty_fields: false + id: '' + label_as_html: false + element: div + show_label: false + label_element: h3 + label_element_classes: '' + attributes: '' + effect: none + speed: fast + required_fields: true + group_additional_contact_details: + children: + - field_contact + - field_email + - field_phone_number + label: 'Additional Contact Details' + region: content + parent_name: group_basic_information + weight: 26 + format_type: fieldset + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + description: '' + required_fields: true id: node.project.default targetEntityType: node bundle: project @@ -70,7 +161,7 @@ mode: default content: body: type: text_textarea_with_summary - weight: 2 + weight: 25 region: content settings: rows: 9 @@ -80,67 +171,177 @@ content: third_party_settings: { } created: type: datetime_timestamp - weight: 4 + weight: 9 + region: content + settings: { } + third_party_settings: { } + field_bh_project_manager_name: + type: string_textfield + weight: 36 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_bh_project_manger_phone: + type: telephone_default + weight: 37 + region: content + settings: + placeholder: '' + third_party_settings: { } + field_contact: + type: entity_reference_autocomplete + weight: 25 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } + field_cost: + type: string_textfield + weight: 35 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_email: + type: string_textfield + weight: 26 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_phone_number: + type: string_textfield + weight: 27 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_project_address: + type: address_default + weight: 27 + region: content + settings: { } + third_party_settings: { } + field_project_address_geo_polygo: + type: geolocation_geometry_wkt + weight: 33 + region: content + settings: { } + third_party_settings: { } + field_project_address_geolocatio: + type: geolocation_latlng + weight: 29 region: content settings: { } third_party_settings: { } field_project_concept: type: string_textarea - weight: 26 + weight: 31 region: content settings: rows: 5 placeholder: '' third_party_settings: { } + field_project_date: + type: daterange_default + weight: 32 + region: content + settings: { } + third_party_settings: { } + field_project_features: + type: options_select + weight: 34 + region: content + settings: { } + third_party_settings: { } + field_project_image: + type: media_library_widget + weight: 30 + region: content + settings: + media_types: { } + third_party_settings: { } + field_project_stage: + type: options_select + weight: 24 + region: content + settings: { } + third_party_settings: { } + field_project_type: + type: options_select + weight: 25 + region: content + settings: { } + third_party_settings: { } + field_project_year: + type: options_select + weight: 23 + region: content + settings: { } + third_party_settings: { } + field_single_neighborhood: + type: options_select + weight: 28 + region: content + settings: { } + third_party_settings: { } langcode: type: language_select - weight: 2 + weight: 10 region: content settings: include_locked: true third_party_settings: { } moderation_state: type: moderation_state_default - weight: 11 + weight: 15 region: content settings: { } third_party_settings: { } path: type: path - weight: 9 + weight: 13 region: content settings: { } third_party_settings: { } promote: type: boolean_checkbox - weight: 7 + weight: 12 region: content settings: display_label: true third_party_settings: { } published_at: type: publication_date_timestamp - weight: 6 + weight: 11 region: content settings: { } third_party_settings: { } status: type: boolean_checkbox - weight: 12 + weight: 16 region: content settings: display_label: true third_party_settings: { } sticky: type: boolean_checkbox - weight: 3 + weight: 38 region: content settings: display_label: true third_party_settings: { } title: type: string_textfield - weight: 1 + weight: 23 region: content settings: size: 60 @@ -148,7 +349,7 @@ content: third_party_settings: { } uid: type: entity_reference_autocomplete - weight: 3 + weight: 8 region: content settings: match_operator: CONTAINS @@ -157,7 +358,7 @@ content: placeholder: '' third_party_settings: { } url_redirects: - weight: 10 + weight: 14 region: content settings: { } third_party_settings: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml index dcf795cc2f..26c08c7e63 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml @@ -4,7 +4,23 @@ dependencies: config: - core.entity_view_mode.node.card - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood - node.type.project module: - text @@ -26,12 +42,35 @@ content: third_party_settings: { } weight: -20 region: content + field_phone_number: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 2 + region: content links: settings: { } third_party_settings: { } weight: 100 region: content hidden: + field_bh_project_manager_name: true + field_bh_project_manger_phone: true + field_contact: true + field_cost: true + field_email: true + field_project_address: true + field_project_address_geo_polygo: true + field_project_address_geolocatio: true field_project_concept: true + field_project_date: true + field_project_features: true + field_project_image: true + field_project_stage: true + field_project_type: true + field_project_year: true + field_single_neighborhood: true langcode: true published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml index b9d8528cb7..63b47d5fd3 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml @@ -3,9 +3,31 @@ status: true dependencies: config: - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood - node.type.project module: + - address + - datetime_range + - fences + - geolocation + - geolocation_geometry + - options - text - user id: node.project.default @@ -25,6 +47,96 @@ content: third_party_settings: { } weight: -20 region: content + field_bh_project_manager_name: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 110 + region: content + field_bh_project_manger_phone: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 111 + region: content + field_contact: + type: entity_reference_entity_view + label: hidden + settings: + view_mode: article + link: false + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: '' + fences_field_item_tag: div + fences_field_item_classes: '' + fences_label_tag: div + fences_label_classes: '' + weight: 3 + region: content + field_cost: + type: string + label: inline + settings: + link_to_entity: false + third_party_settings: + fences: + fences_field_tag: none + fences_field_classes: '' + fences_field_item_tag: div + fences_field_item_classes: 'detail-item__body detail-item__body--secondary' + fences_label_tag: none + fences_label_classes: '' + weight: 8 + region: content + field_email: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: + fences: + fences_field_tag: none + fences_field_classes: '' + fences_field_item_tag: none + fences_field_item_classes: '' + fences_label_tag: none + fences_label_classes: '' + weight: 6 + region: content + field_phone_number: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 4 + region: content + field_project_address: + type: address_default + label: above + settings: { } + third_party_settings: { } + weight: 105 + region: content + field_project_address_geo_polygo: + type: geolocation_geometry_wkt + label: above + settings: { } + third_party_settings: { } + weight: 107 + region: content + field_project_address_geolocatio: + type: geolocation_latlng + label: above + settings: { } + third_party_settings: { } + weight: 106 + region: content field_project_concept: type: basic_string label: above @@ -32,6 +144,72 @@ content: third_party_settings: { } weight: 102 region: content + field_project_date: + type: daterange_default + label: above + settings: + timezone_override: '' + format_type: medium + from_to: both + separator: '-' + third_party_settings: { } + weight: 108 + region: content + field_project_features: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 113 + region: content + field_project_image: + type: entity_reference_entity_view + label: above + settings: + view_mode: default + link: false + third_party_settings: { } + weight: 112 + region: content + field_project_stage: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 103 + region: content + field_project_type: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 104 + region: content + field_project_year: + type: list_default + label: above + settings: { } + third_party_settings: { } + weight: 109 + region: content + field_single_neighborhood: + type: entity_reference_label + label: inline + settings: + link: false + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: detail-item--secondary + fences_field_item_tag: div + fences_field_item_classes: detail-item__body--secondary + fences_label_tag: div + fences_label_classes: detail-item__left + weight: 8 + region: content links: settings: { } third_party_settings: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.department_listing.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.department_listing.yml new file mode 100644 index 0000000000..5b29b83709 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.department_listing.yml @@ -0,0 +1,69 @@ +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.department_listing + - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio + - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood + - node.type.project + module: + - user +id: node.project.department_listing +targetEntityType: node +bundle: project +mode: department_listing +content: + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content + field_phone_number: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 1 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + body: true + field_bh_project_manager_name: true + field_bh_project_manger_phone: true + field_contact: true + field_cost: true + field_email: true + field_project_address: true + field_project_address_geo_polygo: true + field_project_address_geolocatio: true + field_project_concept: true + field_project_date: true + field_project_features: true + field_project_image: true + field_project_stage: true + field_project_type: true + field_project_year: true + field_single_neighborhood: true + langcode: true + published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml new file mode 100644 index 0000000000..2b9efb402d --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml @@ -0,0 +1,83 @@ +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.featured_item + - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio + - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood + - node.type.project + module: + - smart_trim + - user +id: node.project.featured_item +targetEntityType: node +bundle: project +mode: featured_item +content: + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content + field_cost: + type: smart_trim + label: above + settings: + trim_length: 600 + trim_type: chars + trim_suffix: '' + wrap_output: false + wrap_class: trimmed + more: + display_link: false + target_blank: false + link_trim_only: false + class: more-link + text: More + aria_label: 'Read more about [node:title]' + summary_handler: full + trim_options: { } + third_party_settings: { } + weight: 7 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + body: true + field_bh_project_manager_name: true + field_bh_project_manger_phone: true + field_contact: true + field_email: true + field_phone_number: true + field_project_address: true + field_project_address_geo_polygo: true + field_project_address_geolocatio: true + field_project_concept: true + field_project_date: true + field_project_features: true + field_project_image: true + field_project_stage: true + field_project_type: true + field_project_year: true + field_single_neighborhood: true + langcode: true + published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml index 7987f7b3ff..d3ca7e93f1 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml @@ -4,7 +4,23 @@ dependencies: config: - core.entity_view_mode.node.grid_item - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood - node.type.project module: - text @@ -32,6 +48,22 @@ content: weight: 100 region: content hidden: + field_bh_project_manager_name: true + field_bh_project_manger_phone: true + field_contact: true + field_cost: true + field_email: true + field_phone_number: true + field_project_address: true + field_project_address_geo_polygo: true + field_project_address_geolocatio: true field_project_concept: true + field_project_date: true + field_project_features: true + field_project_image: true + field_project_stage: true + field_project_type: true + field_project_year: true + field_single_neighborhood: true langcode: true published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml index 80d93023e8..8356cdd956 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml @@ -4,9 +4,26 @@ dependencies: config: - core.entity_view_mode.node.listing - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood - node.type.project module: + - fences - text - user id: node.project.listing @@ -26,12 +43,56 @@ content: third_party_settings: { } weight: -20 region: content + field_email: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 5 + region: content + field_phone_number: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 4 + region: content + field_single_neighborhood: + type: entity_reference_label + label: hidden + settings: + link: false + third_party_settings: + fences: + fences_field_tag: none + fences_field_classes: '' + fences_field_item_tag: none + fences_field_item_classes: '' + fences_label_tag: none + fences_label_classes: '' + weight: 2 + region: content links: settings: { } third_party_settings: { } weight: 100 region: content hidden: + field_bh_project_manager_name: true + field_bh_project_manger_phone: true + field_contact: true + field_cost: true + field_project_address: true + field_project_address_geo_polygo: true + field_project_address_geolocatio: true field_project_concept: true + field_project_date: true + field_project_features: true + field_project_image: true + field_project_stage: true + field_project_type: true + field_project_year: true langcode: true published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml index f689b4b673..7d7b4dac5f 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml @@ -4,7 +4,23 @@ dependencies: config: - core.entity_view_mode.node.teaser - field.field.node.project.body + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_contact + - field.field.node.project.field_cost + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio - field.field.node.project.field_project_concept + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_single_neighborhood - node.type.project module: - text @@ -33,6 +49,22 @@ content: weight: 100 region: content hidden: + field_bh_project_manager_name: true + field_bh_project_manger_phone: true + field_contact: true + field_cost: true + field_email: true + field_phone_number: true + field_project_address: true + field_project_address_geo_polygo: true + field_project_address_geolocatio: true field_project_concept: true + field_project_date: true + field_project_features: true + field_project_image: true + field_project_stage: true + field_project_type: true + field_project_year: true + field_single_neighborhood: true langcode: true published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manager_name.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manager_name.yml new file mode 100644 index 0000000000..9d26b736e9 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manager_name.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_bh_project_manager_name + - node.type.project +id: node.project.field_bh_project_manager_name +field_name: field_bh_project_manager_name +entity_type: node +bundle: project +label: 'Project Manager Name' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manger_phone.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manger_phone.yml new file mode 100644 index 0000000000..76b8897491 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manger_phone.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_bh_project_manger_phone + - node.type.project + module: + - telephone +id: node.project.field_bh_project_manger_phone +field_name: field_bh_project_manger_phone +entity_type: node +bundle: project +label: 'Project Manger Phone' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: telephone diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_contact.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_contact.yml new file mode 100644 index 0000000000..eb428b2d40 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_contact.yml @@ -0,0 +1,33 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_contact + - node.type.project + - taxonomy.vocabulary.contact + module: + - field_display_label +third_party_settings: + field_display_label: + display_label: Department +id: node.project.field_contact +field_name: field_contact +entity_type: node +bundle: project +label: Contact +description: 'Select department that should be displayed for this article.' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + contact: contact + sort: + field: name + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_cost.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_cost.yml new file mode 100644 index 0000000000..1c75658cc9 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_cost.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_cost + - node.type.project +id: node.project.field_cost +field_name: field_cost +entity_type: node +bundle: project +label: 'Project Cost' +description: 'Enter the budgeted cost, formatted as you would like on the page (e.g. "$4.5 M")' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_email.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_email.yml new file mode 100644 index 0000000000..c1b51a02ce --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_email.yml @@ -0,0 +1,23 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_email + - node.type.project + module: + - field_display_label +third_party_settings: + field_display_label: + display_label: 'Contact Email' +id: node.project.field_email +field_name: field_email +entity_type: node +bundle: project +label: Email +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_phone_number.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_phone_number.yml new file mode 100644 index 0000000000..776d1b8e30 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_phone_number.yml @@ -0,0 +1,23 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_phone_number + - node.type.project + module: + - field_display_label +third_party_settings: + field_display_label: + display_label: 'Contact Phone' +id: node.project.field_phone_number +field_name: field_phone_number +entity_type: node +bundle: project +label: 'Phone Number' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address.yml new file mode 100644 index 0000000000..ac21f6499a --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address.yml @@ -0,0 +1,47 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_address + - node.type.project + module: + - address +id: node.project.field_project_address +field_name: field_project_address +entity_type: node +bundle: project +label: 'Project Address' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + available_countries: + US: US + langcode_override: en + field_overrides: + givenName: + override: hidden + additionalName: + override: hidden + familyName: + override: hidden + organization: + override: hidden + addressLine1: + override: required + addressLine2: + override: optional + postalCode: + override: required + sortingCode: + override: hidden + dependentLocality: + override: hidden + locality: + override: hidden + administrativeArea: + override: hidden + fields: { } +field_type: address diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address_geo_polygo.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address_geo_polygo.yml new file mode 100644 index 0000000000..d6b254fb6c --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address_geo_polygo.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_address_geo_polygo + - node.type.project + module: + - geolocation_geometry +id: node.project.field_project_address_geo_polygo +field_name: field_project_address_geo_polygo +entity_type: node +bundle: project +label: 'Project Address Geo-polygon' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: geolocation_geometry_multipolygon diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address_geolocatio.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address_geolocatio.yml new file mode 100644 index 0000000000..6d46a94d1c --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address_geolocatio.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_address_geolocatio + - node.type.project + module: + - geolocation +id: node.project.field_project_address_geolocatio +field_name: field_project_address_geolocatio +entity_type: node +bundle: project +label: 'Project Address Geolocation' +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: geolocation diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_date.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_date.yml new file mode 100644 index 0000000000..a55e056061 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_date.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_date + - node.type.project + module: + - datetime_range +id: node.project.field_project_date +field_name: field_project_date +entity_type: node +bundle: project +label: 'Project Date' +description: 'Start and end date for the project.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: daterange diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_features.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_features.yml new file mode 100644 index 0000000000..19766721ca --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_features.yml @@ -0,0 +1,28 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_features + - node.type.project + - taxonomy.vocabulary.project_features +id: node.project.field_project_features +field_name: field_project_features +entity_type: node +bundle: project +label: 'Project Features' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + project_features: project_features + sort: + field: name + direction: asc + auto_create: true + auto_create_bundle: '' +field_type: entity_reference diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_image.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_image.yml new file mode 100644 index 0000000000..9c8f7b5faf --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_image.yml @@ -0,0 +1,28 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_image + - media.type.image + - node.type.project +id: node.project.field_project_image +field_name: field_project_image +entity_type: node +bundle: project +label: 'Project Image' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + image: image + sort: + field: _none + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_stage.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_stage.yml new file mode 100644 index 0000000000..d4e2c8d295 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_stage.yml @@ -0,0 +1,28 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_stage + - node.type.project + - taxonomy.vocabulary.project_stage +id: node.project.field_project_stage +field_name: field_project_stage +entity_type: node +bundle: project +label: 'Project Stage' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + project_stage: project_stage + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_type.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_type.yml new file mode 100644 index 0000000000..398d013a39 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_type.yml @@ -0,0 +1,28 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_type + - node.type.project + - taxonomy.vocabulary.project_type +id: node.project.field_project_type +field_name: field_project_type +entity_type: node +bundle: project +label: 'Project Type' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + project_type: project_type + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_year.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_year.yml new file mode 100644 index 0000000000..f335e8d855 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_year.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_year + - node.type.project + module: + - options +id: node.project.field_project_year +field_name: field_project_year +entity_type: node +bundle: project +label: 'Project Year' +description: 'Financial year this project is allocated to. Used principally for sporting and filtering.' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_single_neighborhood.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_single_neighborhood.yml new file mode 100644 index 0000000000..a9361942f0 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_single_neighborhood.yml @@ -0,0 +1,28 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_single_neighborhood + - node.type.project + - taxonomy.vocabulary.neighborhoods +id: node.project.field_single_neighborhood +field_name: field_single_neighborhood +entity_type: node +bundle: project +label: Neighborhood +description: 'Please select the Neighborhood for this place.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + neighborhoods: neighborhoods + sort: + field: name + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address.yml new file mode 100644 index 0000000000..2619140718 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + module: + - address + - node +id: node.field_project_address +field_name: field_project_address +entity_type: node +type: address +settings: { } +module: address +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address_geo_polygo.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address_geo_polygo.yml new file mode 100644 index 0000000000..df9a2d0876 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address_geo_polygo.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + module: + - geolocation_geometry + - node +id: node.field_project_address_geo_polygo +field_name: field_project_address_geo_polygo +entity_type: node +type: geolocation_geometry_multipolygon +settings: { } +module: geolocation_geometry +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address_geolocatio.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address_geolocatio.yml new file mode 100644 index 0000000000..1d31a0f423 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address_geolocatio.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + module: + - geolocation + - node +id: node.field_project_address_geolocatio +field_name: field_project_address_geolocatio +entity_type: node +type: geolocation +settings: { } +module: geolocation +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_date.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_date.yml new file mode 100644 index 0000000000..b2fc82e0bd --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_date.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + module: + - datetime_range + - node +id: node.field_project_date +field_name: field_project_date +entity_type: node +type: daterange +settings: + datetime_type: date + optional_end_date: true +module: datetime_range +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_features.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_features.yml new file mode 100644 index 0000000000..7d665a5b5e --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_features.yml @@ -0,0 +1,19 @@ +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +id: node.field_project_features +field_name: field_project_features +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/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_image.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_image.yml new file mode 100644 index 0000000000..629a5bd44a --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_image.yml @@ -0,0 +1,19 @@ +langcode: en +status: true +dependencies: + module: + - media + - node +id: node.field_project_image +field_name: field_project_image +entity_type: node +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/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_stage.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_stage.yml new file mode 100644 index 0000000000..a6ad7fcfc6 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_stage.yml @@ -0,0 +1,19 @@ +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +id: node.field_project_stage +field_name: field_project_stage +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/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_type.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_type.yml new file mode 100644 index 0000000000..a1e2692b2d --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_type.yml @@ -0,0 +1,19 @@ +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +id: node.field_project_type +field_name: field_project_type +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/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_year.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_year.yml new file mode 100644 index 0000000000..07c8e06d8a --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_year.yml @@ -0,0 +1,44 @@ +langcode: en +status: true +dependencies: + module: + - node + - options +id: node.field_project_year +field_name: field_project_year +entity_type: node +type: list_string +settings: + allowed_values: + - + value: fy2023 + label: FY2023 + - + value: fy2024 + label: FY2024 + - + value: fy2025 + label: FY2025 + - + value: fy2026 + label: FY2026 + - + value: fy2027 + label: FY2027 + - + value: fy2028 + label: FY2028 + - + value: fy2029 + label: FY2029 + - + value: fy2030 + label: FY2030 + allowed_values_function: '' +module: options +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_features.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_features.yml new file mode 100644 index 0000000000..7050fc4fd3 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_features.yml @@ -0,0 +1,10 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_features +id: taxonomy_term.project_features +target_entity_type_id: taxonomy_term +target_bundle: project_features +default_langcode: site_default +language_alterable: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features.yml new file mode 100644 index 0000000000..ae3413b4bf --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features.yml @@ -0,0 +1,13 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_features +id: taxonomy_vocabulary_project_features +entity_type_id: taxonomy_vocabulary +entity_id: project_features +action: page_not_found +allow_override: 0 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml index 9d779ec9e0..5c0c13b8fd 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml @@ -6,8 +6,8 @@ dependencies: id: taxonomy_vocabulary_project_stage entity_type_id: taxonomy_vocabulary entity_id: project_stage -action: display_page -allow_override: 1 +action: page_not_found +allow_override: 0 redirect: '' redirect_code: 301 redirect_fallback_action: access_denied diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml index 47dd2dba58..264fe216f9 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml @@ -6,8 +6,8 @@ dependencies: id: taxonomy_vocabulary_project_status entity_type_id: taxonomy_vocabulary entity_id: project_status -action: display_page -allow_override: 1 +action: page_not_found +allow_override: 0 redirect: '' redirect_code: 301 redirect_fallback_action: access_denied diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_features.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_features.yml new file mode 100644 index 0000000000..a1e0110d0f --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_features.yml @@ -0,0 +1,8 @@ +langcode: en +status: true +dependencies: { } +name: 'Project Features' +vid: project_features +description: 'Features related to a Project.' +weight: 0 +new_revision: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml index dd08ebe633..317bb20253 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml @@ -6,36 +6,65 @@ package: City of Boston (content) dependencies: - bos_content config_devel: + - node.type.project + - field.storage.node.field_project_concept + - field.storage.node.field_project_image + - field.storage.node.field_project_date + - field.storage.node.field_project_address_geo_polygo + - field.storage.node.field_project_address_geolocatio + - field.storage.node.field_project_address + - field.storage.node.field_project_year + - field.storage.node.field_project_type + - field.storage.node.field_project_stage + - field.storage.node.field_project_features + - field.field.node.project.body + - field.field.node.project.field_project_concept + - field.field.node.project.field_project_image + - field.field.node.project.field_project_date + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio + - field.field.node.project.field_project_address + - field.field.node.project.field_phone_number + - field.field.node.project.field_email + - field.field.node.project.field_cost + - field.field.node.project.field_bh_project_manager_name + - field.field.node.project.field_project_year + - field.field.node.project.field_contact + - field.field.node.project.field_single_neighborhood + - field.field.node.project.field_project_features + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_bh_project_manger_phone - core.entity_form_display.node.project.default - core.entity_view_display.node.project.card - - core.entity_view_display.node.project.default - core.entity_view_display.node.project.grid_item - - core.entity_view_display.node.project.listing - - core.entity_view_display.node.project.teaser - - field.field.node.project.body + - core.entity_view_display.node.project.featured_item - language.content_settings.node.project - - node.type.project - rabbit_hole.behavior_settings.node_type_project - - field.storage.node.field_project_concept - - field.field.node.project.field_project_concept - - field.storage.taxonomy_term.field_project_status + - taxonomy.vocabulary.project_stage + - field.storage.taxonomy_term.field_project_status + - field.field.taxonomy_term.project_stage.field_icon + - field.field.taxonomy_term.project_stage.field_project_status + - core.entity_view_display.taxonomy_term.project_stage.default + - core.entity_form_display.taxonomy_term.project_stage.default - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage - language.content_settings.taxonomy_term.project_stage - - field.field.taxonomy_term.project_stage.field_icon + - taxonomy.vocabulary.project_status - - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status - - language.content_settings.taxonomy_term.project_status - field.field.taxonomy_term.project_status.field_icon - - field.field.taxonomy_term.project_stage.field_project_status - core.entity_view_display.taxonomy_term.project_status.default - - core.entity_view_display.taxonomy_term.project_stage.default - core.entity_form_display.taxonomy_term.project_status.default - - core.entity_form_display.taxonomy_term.project_stage.default - - core.entity_view_display.node.project.teaser + - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status + - language.content_settings.taxonomy_term.project_status + - taxonomy.vocabulary.project_type - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type - language.content_settings.taxonomy_term.project_type - field.field.taxonomy_term.project_type.field_icon - - core.entity_view_display.taxonomy_term.project_type.default - core.entity_form_display.taxonomy_term.project_type.default + - core.entity_view_display.taxonomy_term.project_type.default + + - taxonomy.vocabulary.project_features + - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features + - language.content_settings.taxonomy_term.project_features diff --git a/docroot/themes/custom/bos_admin/css/bos_admin.css b/docroot/themes/custom/bos_admin/css/bos_admin.css index f4ff5a125a..765fec1e6f 100644 --- a/docroot/themes/custom/bos_admin/css/bos_admin.css +++ b/docroot/themes/custom/bos_admin/css/bos_admin.css @@ -1167,7 +1167,7 @@ What: Helper for status_display preview - restricts icon sizing. display: -webkit-box; display: -ms-flexbox; -js-display: flex; - display: flex; + display: flex !important; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-flow: row wrap; From 006bcf4a62a39df828109662347cadb972a20e91 Mon Sep 17 00:00:00 2001 From: David Upton Date: Tue, 20 Aug 2024 16:11:24 -0400 Subject: [PATCH 07/14] DIG-4968 Updates fields in node_project + displays --- ...se_field_override.node.project.promote.yml | 22 ++ ...base_field_override.node.project.title.yml | 18 ++ ...tity_form_display.node.project.default.yml | 225 ++++++++++++------ ...taxonomy_term.project_features.default.yml | 24 ++ ...tity_view_display.node.project.article.yml | 10 +- ....entity_view_display.node.project.card.yml | 8 +- ...tity_view_display.node.project.default.yml | 42 ++-- ...isplay.node.project.department_listing.yml | 10 +- ...iew_display.node.project.featured_item.yml | 29 +-- ...ty_view_display.node.project.grid_item.yml | 8 +- ...tity_view_display.node.project.listing.yml | 10 +- ...ntity_view_display.node.project.teaser.yml | 8 +- .../default/field.field.node.project.body.yml | 10 +- ...field.field.node.project.field_contact.yml | 4 +- .../field.field.node.project.field_cost.yml | 19 -- ...eld.node.project.field_project_address.yml | 18 +- ....field.node.project.field_project_cost.yml | 23 ++ ....field.node.project.field_project_date.yml | 4 +- ...ld.node.project.field_project_features.yml | 4 +- ...field.node.project.field_project_image.yml | 11 +- ...de.project.field_project_manager_email.yml | 19 ++ ...field.node.project.field_project_stage.yml | 2 +- ....field.node.project.field_project_type.yml | 2 +- ....field.node.project.field_project_year.yml | 2 +- ...node.project.field_single_neighborhood.yml | 4 +- ...field.storage.node.field_project_cost.yml} | 11 +- ...ld.storage.node.field_project_features.yml | 2 +- .../field.storage.node.field_project_year.yml | 12 + ...se_field_override.node.project.promote.yml | 21 ++ ...base_field_override.node.project.title.yml | 17 ++ ...tity_form_display.node.project.default.yml | 225 ++++++++++++------ ...taxonomy_term.project_features.default.yml | 23 ++ ....entity_view_display.node.project.card.yml | 8 +- ...iew_display.node.project.featured_item.yml | 29 +-- ...ty_view_display.node.project.grid_item.yml | 8 +- .../install/field.field.node.project.body.yml | 10 +- ...field.field.node.project.field_contact.yml | 4 +- ...eld.node.project.field_project_address.yml | 18 +- ....field.node.project.field_project_cost.yml | 22 ++ ....field.node.project.field_project_date.yml | 4 +- ...ld.node.project.field_project_features.yml | 4 +- ...field.node.project.field_project_image.yml | 11 +- ...de.project.field_project_manager_email.yml | 11 +- ...field.node.project.field_project_stage.yml | 2 +- ....field.node.project.field_project_type.yml | 2 +- ....field.node.project.field_project_year.yml | 2 +- ...node.project.field_single_neighborhood.yml | 4 +- ...ld.storage.node.field_project_features.yml | 2 +- .../field.storage.node.field_project_year.yml | 12 + .../node_project/node_project.info.yml | 8 +- .../themes/custom/bos_admin/css/bos_admin.css | 98 ++++++++ 51 files changed, 773 insertions(+), 333 deletions(-) create mode 100644 config/default/core.base_field_override.node.project.promote.yml create mode 100644 config/default/core.base_field_override.node.project.title.yml create mode 100644 config/default/core.entity_form_display.taxonomy_term.project_features.default.yml delete mode 100644 config/default/field.field.node.project.field_cost.yml create mode 100644 config/default/field.field.node.project.field_project_cost.yml create mode 100644 config/default/field.field.node.project.field_project_manager_email.yml rename config/default/{field.storage.node.field_project_concept.yml => field.storage.node.field_project_cost.yml} (59%) create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.base_field_override.node.project.promote.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.base_field_override.node.project.title.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_features.default.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_cost.yml rename config/default/field.field.node.project.field_project_concept.yml => docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_manager_email.yml (51%) diff --git a/config/default/core.base_field_override.node.project.promote.yml b/config/default/core.base_field_override.node.project.promote.yml new file mode 100644 index 0000000000..cd90647c14 --- /dev/null +++ b/config/default/core.base_field_override.node.project.promote.yml @@ -0,0 +1,22 @@ +uuid: 7bde5382-c7f5-415e-939b-cdddc910ba34 +langcode: en +status: true +dependencies: + config: + - node.type.project +id: node.project.promote +field_name: promote +entity_type: node +bundle: project +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/config/default/core.base_field_override.node.project.title.yml b/config/default/core.base_field_override.node.project.title.yml new file mode 100644 index 0000000000..a815b4922a --- /dev/null +++ b/config/default/core.base_field_override.node.project.title.yml @@ -0,0 +1,18 @@ +uuid: 4caac611-8361-4ca8-9113-14861a5db57f +langcode: en +status: true +dependencies: + config: + - node.type.project +id: node.project.title +field_name: title +entity_type: node +bundle: project +label: 'Project Name' +description: '' +required: true +translatable: true +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/default/core.entity_form_display.node.project.default.yml b/config/default/core.entity_form_display.node.project.default.yml index 09d125b641..0b02be04fa 100644 --- a/config/default/core.entity_form_display.node.project.default.yml +++ b/config/default/core.entity_form_display.node.project.default.yml @@ -7,16 +7,16 @@ dependencies: - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_bh_project_manger_phone - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept + - field.field.node.project.field_project_cost - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -25,6 +25,8 @@ dependencies: - workflows.workflow.city_of_boston_workflows module: - address + - advanced_text_formatter + - bos_core - content_moderation - datetime_range - field_group @@ -40,8 +42,9 @@ third_party_settings: group_project: children: - group_basic_information - - group_project_information + - group_project_location - group_page_metadata + - group_project_information label: Project region: content parent_name: '' @@ -57,14 +60,11 @@ third_party_settings: group_basic_information: children: - title - - group_s + - field_contact + - field_project_image - body - group_additional_contact_details - - field_project_address - - field_single_neighborhood - - field_project_address_geolocatio - - field_project_image - label: 'Project Information' + label: 'Project Page' region: content parent_name: group_project weight: 20 @@ -78,11 +78,13 @@ third_party_settings: description: '' required_fields: true group_page_metadata: - children: { } - label: 'Page Metadata' + children: + - group_s + - field_project_date + label: 'Project Information' region: content parent_name: group_project - weight: 24 + weight: 22 format_type: tab format_settings: classes: '' @@ -94,14 +96,8 @@ third_party_settings: required_fields: true group_project_information: children: - - field_project_concept - - field_project_date - - field_project_address_geo_polygo - - field_project_features - - field_cost - - field_bh_project_manager_name - - field_bh_project_manger_phone - sticky + - group_project_manager label: 'Additional Details' region: content parent_name: group_project @@ -117,36 +113,82 @@ third_party_settings: required_fields: true group_s: children: - - field_project_year - field_project_stage - field_project_type - label: Stage/type + - field_project_year + - field_project_features + - field_project_cost + label: 'Search Fields' region: content - parent_name: group_basic_information - weight: 24 - format_type: html_element + parent_name: group_page_metadata + weight: 26 + format_type: fieldset format_settings: - classes: g + classes: project-type-grid show_empty_fields: false id: '' label_as_html: false - element: div - show_label: false - label_element: h3 - label_element_classes: '' - attributes: '' - effect: none - speed: fast - required_fields: true + description: "These fields are used principally for sorting and filtering by users.
\r\nRemember to come back and update the Stage as the Project progresses." + required_fields: false group_additional_contact_details: children: - - field_contact - field_email - field_phone_number - label: 'Additional Contact Details' + label: 'Contact Details' region: content parent_name: group_basic_information - weight: 26 + weight: 27 + format_type: fieldset + format_settings: + classes: project-contact-grid + show_empty_fields: false + id: '' + label_as_html: false + description: 'The City of Boston person, or group, to contact for additional information related to this Project.' + required_fields: true + group_project_location: + children: + - field_single_neighborhood + - field_project_address + - group_mapping_data + label: 'Project Location' + region: content + parent_name: group_project + weight: 21 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + formatter: closed + description: '' + required_fields: true + group_mapping_data: + children: + - field_project_address_geolocatio + - field_project_address_geo_polygo + label: 'Mapping Data / GIS' + region: content + parent_name: group_project_location + weight: 31 + format_type: details + format_settings: + classes: project-gis-wrapper + show_empty_fields: false + id: '' + label_as_html: false + open: false + description: "This section is auto-completed using City-originated GIS data. \r\nOnly override this if the property's location is not displayed correctly on maps." + required_fields: true + group_project_manager: + children: + - field_bh_project_manager_name + - group_pmcontact + label: '' + region: content + parent_name: group_project_information + weight: 40 format_type: fieldset format_settings: classes: '' @@ -154,6 +196,28 @@ third_party_settings: id: '' label_as_html: false description: '' + required_fields: false + group_pmcontact: + children: + - field_project_manager_email + - field_bh_project_manger_phone + label: PMContact + region: content + parent_name: group_project_manager + weight: 43 + format_type: html_element + format_settings: + classes: project-manager-contact-grid + show_empty_fields: false + id: '' + label_as_html: false + element: div + show_label: false + label_element: h3 + label_element_classes: '' + attributes: '' + effect: none + speed: fast required_fields: true id: node.project.default targetEntityType: node @@ -162,7 +226,7 @@ mode: default content: body: type: text_textarea_with_summary - weight: 25 + weight: 26 region: content settings: rows: 9 @@ -172,13 +236,13 @@ content: third_party_settings: { } created: type: datetime_timestamp - weight: 9 + weight: 3 region: content settings: { } third_party_settings: { } field_bh_project_manager_name: type: string_textfield - weight: 36 + weight: 40 region: content settings: size: 60 @@ -186,28 +250,20 @@ content: third_party_settings: { } field_bh_project_manger_phone: type: telephone_default - weight: 37 + weight: 42 region: content settings: placeholder: '' third_party_settings: { } field_contact: type: entity_reference_autocomplete - weight: 25 + weight: 24 region: content settings: match_operator: CONTAINS match_limit: 10 size: 60 - placeholder: '' - third_party_settings: { } - field_cost: - type: string_textfield - weight: 35 - region: content - settings: - size: 60 - placeholder: '' + placeholder: 'Start typing the Department name' third_party_settings: { } field_email: type: string_textfield @@ -215,19 +271,27 @@ content: region: content settings: size: 60 - placeholder: '' - third_party_settings: { } + placeholder: 'e.g. someone@boston.gov' + third_party_settings: + advanced_text_formatter: + show_token_tree: 0 + bos_core: + show_token_tree: 0 field_phone_number: type: string_textfield weight: 27 region: content settings: size: 60 - placeholder: '' - third_party_settings: { } + placeholder: 'e.g. 781 123 4560' + third_party_settings: + advanced_text_formatter: + show_token_tree: 0 + bos_core: + show_token_tree: 0 field_project_address: type: address_default - weight: 27 + weight: 30 region: content settings: { } third_party_settings: { } @@ -239,37 +303,44 @@ content: third_party_settings: { } field_project_address_geolocatio: type: geolocation_latlng - weight: 29 + weight: 32 region: content settings: { } third_party_settings: { } - field_project_concept: - type: string_textarea - weight: 31 + field_project_cost: + type: number + weight: 29 region: content settings: - rows: 5 placeholder: '' third_party_settings: { } field_project_date: type: daterange_default - weight: 32 + weight: 27 region: content settings: { } third_party_settings: { } field_project_features: type: options_select - weight: 34 + weight: 27 region: content settings: { } third_party_settings: { } field_project_image: type: media_library_widget - weight: 30 + weight: 25 region: content settings: media_types: { } third_party_settings: { } + field_project_manager_email: + type: email_default + weight: 41 + region: content + settings: + placeholder: '' + size: 60 + third_party_settings: { } field_project_stage: type: options_select weight: 24 @@ -284,51 +355,51 @@ content: third_party_settings: { } field_project_year: type: options_select - weight: 23 + weight: 26 region: content settings: { } third_party_settings: { } field_single_neighborhood: type: options_select - weight: 28 + weight: 29 region: content settings: { } third_party_settings: { } langcode: type: language_select - weight: 10 + weight: 4 region: content settings: include_locked: true third_party_settings: { } moderation_state: type: moderation_state_default - weight: 15 + weight: 9 region: content settings: { } third_party_settings: { } path: type: path - weight: 13 + weight: 7 region: content settings: { } third_party_settings: { } promote: type: boolean_checkbox - weight: 12 + weight: 6 region: content settings: display_label: true third_party_settings: { } published_at: type: publication_date_timestamp - weight: 11 + weight: 5 region: content settings: { } third_party_settings: { } status: type: boolean_checkbox - weight: 16 + weight: 10 region: content settings: display_label: true @@ -346,11 +417,15 @@ content: region: content settings: size: 60 - placeholder: '' - third_party_settings: { } + placeholder: 'Project Name' + third_party_settings: + advanced_text_formatter: + show_token_tree: 0 + bos_core: + show_token_tree: 0 uid: type: entity_reference_autocomplete - weight: 8 + weight: 1 region: content settings: match_operator: CONTAINS @@ -359,7 +434,7 @@ content: placeholder: '' third_party_settings: { } url_redirects: - weight: 14 + weight: 8 region: content settings: { } third_party_settings: { } diff --git a/config/default/core.entity_form_display.taxonomy_term.project_features.default.yml b/config/default/core.entity_form_display.taxonomy_term.project_features.default.yml new file mode 100644 index 0000000000..13cd3c0da7 --- /dev/null +++ b/config/default/core.entity_form_display.taxonomy_term.project_features.default.yml @@ -0,0 +1,24 @@ +uuid: dacee110-82d2-43a1-b521-6ddaa48462db +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_features +id: taxonomy_term.project_features.default +targetEntityType: taxonomy_term +bundle: project_features +mode: default +content: + name: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + description: true + langcode: true + path: true + status: true diff --git a/config/default/core.entity_view_display.node.project.article.yml b/config/default/core.entity_view_display.node.project.article.yml index c7c306d5a0..67ce442842 100644 --- a/config/default/core.entity_view_display.node.project.article.yml +++ b/config/default/core.entity_view_display.node.project.article.yml @@ -1,6 +1,6 @@ uuid: c244f776-4ef2-437b-ae7e-8226ae5d495f langcode: en -status: true +status: false dependencies: config: - core.entity_view_mode.node.article @@ -8,16 +8,16 @@ dependencies: - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_bh_project_manger_phone - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept + - field.field.node.project.field_project_cost - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -61,14 +61,14 @@ hidden: field_bh_project_manager_name: true field_bh_project_manger_phone: true field_contact: true - field_cost: true field_project_address: true field_project_address_geo_polygo: true field_project_address_geolocatio: true - field_project_concept: true + field_project_cost: true field_project_date: true field_project_features: true field_project_image: true + field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/config/default/core.entity_view_display.node.project.card.yml b/config/default/core.entity_view_display.node.project.card.yml index 1e871dab7b..ee2a501d2e 100644 --- a/config/default/core.entity_view_display.node.project.card.yml +++ b/config/default/core.entity_view_display.node.project.card.yml @@ -8,16 +8,16 @@ dependencies: - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_bh_project_manger_phone - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept + - field.field.node.project.field_project_cost - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -60,15 +60,15 @@ hidden: field_bh_project_manager_name: true field_bh_project_manger_phone: true field_contact: true - field_cost: true field_email: true field_project_address: true field_project_address_geo_polygo: true field_project_address_geolocatio: true - field_project_concept: true + field_project_cost: true field_project_date: true field_project_features: true field_project_image: true + field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/config/default/core.entity_view_display.node.project.default.yml b/config/default/core.entity_view_display.node.project.default.yml index 2bf57329cc..c2de0e08be 100644 --- a/config/default/core.entity_view_display.node.project.default.yml +++ b/config/default/core.entity_view_display.node.project.default.yml @@ -7,16 +7,16 @@ dependencies: - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_bh_project_manger_phone - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept + - field.field.node.project.field_project_cost - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -29,6 +29,7 @@ dependencies: - geolocation - geolocation_geometry - options + - telephone - text - user id: node.project.default @@ -57,9 +58,10 @@ content: weight: 110 region: content field_bh_project_manger_phone: - type: basic_string + type: telephone_link label: above - settings: { } + settings: + title: '' third_party_settings: { } weight: 111 region: content @@ -79,21 +81,6 @@ content: fences_label_classes: '' weight: 3 region: content - field_cost: - type: string - label: inline - settings: - link_to_entity: false - third_party_settings: - fences: - fences_field_tag: none - fences_field_classes: '' - fences_field_item_tag: div - fences_field_item_classes: 'detail-item__body detail-item__body--secondary' - fences_label_tag: none - fences_label_classes: '' - weight: 8 - region: content field_email: type: string label: hidden @@ -138,12 +125,14 @@ content: third_party_settings: { } weight: 106 region: content - field_project_concept: - type: basic_string + field_project_cost: + type: number_integer label: above - settings: { } + settings: + thousand_separator: '' + prefix_suffix: true third_party_settings: { } - weight: 102 + weight: 114 region: content field_project_date: type: daterange_default @@ -173,6 +162,13 @@ content: third_party_settings: { } weight: 112 region: content + field_project_manager_email: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 115 + region: content field_project_stage: type: entity_reference_label label: above diff --git a/config/default/core.entity_view_display.node.project.department_listing.yml b/config/default/core.entity_view_display.node.project.department_listing.yml index 8c045763c2..d49390f1da 100644 --- a/config/default/core.entity_view_display.node.project.department_listing.yml +++ b/config/default/core.entity_view_display.node.project.department_listing.yml @@ -1,6 +1,6 @@ uuid: 48ddb527-132a-4dbc-954c-0ef01fb74022 langcode: en -status: true +status: false dependencies: config: - core.entity_view_mode.node.department_listing @@ -8,16 +8,16 @@ dependencies: - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_bh_project_manger_phone - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept + - field.field.node.project.field_project_cost - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -53,15 +53,15 @@ hidden: field_bh_project_manager_name: true field_bh_project_manger_phone: true field_contact: true - field_cost: true field_email: true field_project_address: true field_project_address_geo_polygo: true field_project_address_geolocatio: true - field_project_concept: true + field_project_cost: true field_project_date: true field_project_features: true field_project_image: true + field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/config/default/core.entity_view_display.node.project.featured_item.yml b/config/default/core.entity_view_display.node.project.featured_item.yml index 1f32b30dfa..6eb1b4fc29 100644 --- a/config/default/core.entity_view_display.node.project.featured_item.yml +++ b/config/default/core.entity_view_display.node.project.featured_item.yml @@ -8,23 +8,22 @@ dependencies: - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_bh_project_manger_phone - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept + - field.field.node.project.field_project_cost - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year - field.field.node.project.field_single_neighborhood - node.type.project module: - - smart_trim - user id: node.project.featured_item targetEntityType: node @@ -36,27 +35,6 @@ content: third_party_settings: { } weight: -20 region: content - field_cost: - type: smart_trim - label: above - settings: - trim_length: 600 - trim_type: chars - trim_suffix: '' - wrap_output: false - wrap_class: trimmed - more: - display_link: false - target_blank: false - link_trim_only: false - class: more-link - text: More - aria_label: 'Read more about [node:title]' - summary_handler: full - trim_options: { } - third_party_settings: { } - weight: 7 - region: content links: settings: { } third_party_settings: { } @@ -72,10 +50,11 @@ hidden: field_project_address: true field_project_address_geo_polygo: true field_project_address_geolocatio: true - field_project_concept: true + field_project_cost: true field_project_date: true field_project_features: true field_project_image: true + field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/config/default/core.entity_view_display.node.project.grid_item.yml b/config/default/core.entity_view_display.node.project.grid_item.yml index 4d4f82dbdc..8a52d7806b 100644 --- a/config/default/core.entity_view_display.node.project.grid_item.yml +++ b/config/default/core.entity_view_display.node.project.grid_item.yml @@ -8,16 +8,16 @@ dependencies: - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_bh_project_manger_phone - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept + - field.field.node.project.field_project_cost - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -52,16 +52,16 @@ hidden: field_bh_project_manager_name: true field_bh_project_manger_phone: true field_contact: true - field_cost: true field_email: true field_phone_number: true field_project_address: true field_project_address_geo_polygo: true field_project_address_geolocatio: true - field_project_concept: true + field_project_cost: true field_project_date: true field_project_features: true field_project_image: true + field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/config/default/core.entity_view_display.node.project.listing.yml b/config/default/core.entity_view_display.node.project.listing.yml index 25e952a232..4bece1b669 100644 --- a/config/default/core.entity_view_display.node.project.listing.yml +++ b/config/default/core.entity_view_display.node.project.listing.yml @@ -1,6 +1,6 @@ uuid: 3166a6fa-1b82-434f-8303-167f487603a7 langcode: en -status: true +status: false dependencies: config: - core.entity_view_mode.node.listing @@ -8,16 +8,16 @@ dependencies: - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_bh_project_manger_phone - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept + - field.field.node.project.field_project_cost - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -84,14 +84,14 @@ hidden: field_bh_project_manager_name: true field_bh_project_manger_phone: true field_contact: true - field_cost: true field_project_address: true field_project_address_geo_polygo: true field_project_address_geolocatio: true - field_project_concept: true + field_project_cost: true field_project_date: true field_project_features: true field_project_image: true + field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/config/default/core.entity_view_display.node.project.teaser.yml b/config/default/core.entity_view_display.node.project.teaser.yml index 08cbbdccc3..408cbc3583 100644 --- a/config/default/core.entity_view_display.node.project.teaser.yml +++ b/config/default/core.entity_view_display.node.project.teaser.yml @@ -8,16 +8,16 @@ dependencies: - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_bh_project_manger_phone - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept + - field.field.node.project.field_project_cost - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -53,16 +53,16 @@ hidden: field_bh_project_manager_name: true field_bh_project_manger_phone: true field_contact: true - field_cost: true field_email: true field_phone_number: true field_project_address: true field_project_address_geo_polygo: true field_project_address_geolocatio: true - field_project_concept: true + field_project_cost: true field_project_date: true field_project_features: true field_project_image: true + field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/config/default/field.field.node.project.body.yml b/config/default/field.field.node.project.body.yml index b68a58a034..37c3bdb2b3 100644 --- a/config/default/field.field.node.project.body.yml +++ b/config/default/field.field.node.project.body.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.storage.node.body + - filter.format.filtered_html - node.type.project module: - text @@ -11,14 +12,15 @@ id: node.project.body field_name: body entity_type: node bundle: project -label: Body -description: '' -required: false +label: 'Project Description' +description: 'Overview of the Projects objectives, background and any other relevant information.' +required: true translatable: true default_value: { } default_value_callback: '' settings: display_summary: true required_summary: false - allowed_formats: { } + allowed_formats: + - filtered_html field_type: text_with_summary diff --git a/config/default/field.field.node.project.field_contact.yml b/config/default/field.field.node.project.field_contact.yml index 1b6bdd5e5f..074a8c13d3 100644 --- a/config/default/field.field.node.project.field_contact.yml +++ b/config/default/field.field.node.project.field_contact.yml @@ -15,8 +15,8 @@ id: node.project.field_contact field_name: field_contact entity_type: node bundle: project -label: Contact -description: 'Select department that should be displayed for this article.' +label: Department +description: 'Start typing, then select the Department from the autocomplete dropdown.' required: true translatable: false default_value: { } diff --git a/config/default/field.field.node.project.field_cost.yml b/config/default/field.field.node.project.field_cost.yml deleted file mode 100644 index 480e284807..0000000000 --- a/config/default/field.field.node.project.field_cost.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: cb9951b4-50e1-4346-a67f-218853f373fa -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_cost - - node.type.project -id: node.project.field_cost -field_name: field_cost -entity_type: node -bundle: project -label: 'Project Cost' -description: 'Enter the budgeted cost, formatted as you would like on the page (e.g. "$4.5 M")' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/config/default/field.field.node.project.field_project_address.yml b/config/default/field.field.node.project.field_project_address.yml index 19a82b68d6..ba28733aa8 100644 --- a/config/default/field.field.node.project.field_project_address.yml +++ b/config/default/field.field.node.project.field_project_address.yml @@ -12,10 +12,24 @@ field_name: field_project_address entity_type: node bundle: project label: 'Project Address' -description: '' +description: 'The physical address for this project, preferably a street address.' required: false translatable: false -default_value: { } +default_value: + - + langcode: en + country_code: US + administrative_area: null + locality: null + dependent_locality: null + postal_code: '' + sorting_code: null + address_line1: '' + address_line2: '' + organization: null + given_name: null + additional_name: null + family_name: null default_value_callback: '' settings: available_countries: diff --git a/config/default/field.field.node.project.field_project_cost.yml b/config/default/field.field.node.project.field_project_cost.yml new file mode 100644 index 0000000000..a547b5ebe0 --- /dev/null +++ b/config/default/field.field.node.project.field_project_cost.yml @@ -0,0 +1,23 @@ +uuid: aa746a1b-316b-49eb-920b-985058d5aa44 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_cost + - node.type.project +id: node.project.field_project_cost +field_name: field_project_cost +entity_type: node +bundle: project +label: 'Project Cost' +description: 'Enter the forecast, budgeted or actual cost.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + min: 0 + max: null + prefix: $ + suffix: '' +field_type: integer diff --git a/config/default/field.field.node.project.field_project_date.yml b/config/default/field.field.node.project.field_project_date.yml index 4e68a05764..a7f81865b0 100644 --- a/config/default/field.field.node.project.field_project_date.yml +++ b/config/default/field.field.node.project.field_project_date.yml @@ -11,8 +11,8 @@ id: node.project.field_project_date field_name: field_project_date entity_type: node bundle: project -label: 'Project Date' -description: 'Start and end date for the project.' +label: 'Project Dates' +description: 'When known, add the start and end dates for the project.' required: false translatable: false default_value: { } diff --git a/config/default/field.field.node.project.field_project_features.yml b/config/default/field.field.node.project.field_project_features.yml index 7871db3a35..4a91f2a9b4 100644 --- a/config/default/field.field.node.project.field_project_features.yml +++ b/config/default/field.field.node.project.field_project_features.yml @@ -11,7 +11,7 @@ field_name: field_project_features entity_type: node bundle: project label: 'Project Features' -description: '' +description: "Select as many features as required.
\r\nUse ctrl/cmd+click to select multiple." required: false translatable: false default_value: { } @@ -24,6 +24,6 @@ settings: sort: field: name direction: asc - auto_create: true + auto_create: false auto_create_bundle: '' field_type: entity_reference diff --git a/config/default/field.field.node.project.field_project_image.yml b/config/default/field.field.node.project.field_project_image.yml index 64725ec1de..d048bbad10 100644 --- a/config/default/field.field.node.project.field_project_image.yml +++ b/config/default/field.field.node.project.field_project_image.yml @@ -6,13 +6,18 @@ dependencies: - field.storage.node.field_project_image - media.type.image - node.type.project + module: + - field_display_label +third_party_settings: + field_display_label: + display_label: 'Project Hero Image' id: node.project.field_project_image field_name: field_project_image entity_type: node bundle: project -label: 'Project Image' -description: '' -required: false +label: 'Project Hero Image' +description: "Click add media and then select or upload image.
\r\nThis image is used on the top of the project page, and in all cards across the website." +required: true translatable: false default_value: { } default_value_callback: '' diff --git a/config/default/field.field.node.project.field_project_manager_email.yml b/config/default/field.field.node.project.field_project_manager_email.yml new file mode 100644 index 0000000000..d11537be31 --- /dev/null +++ b/config/default/field.field.node.project.field_project_manager_email.yml @@ -0,0 +1,19 @@ +uuid: 4c849ec7-d390-47bb-9a51-dcaa6252caed +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_manager_email + - node.type.project +id: node.project.field_project_manager_email +field_name: field_project_manager_email +entity_type: node +bundle: project +label: 'Project Manager Email' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: email diff --git a/config/default/field.field.node.project.field_project_stage.yml b/config/default/field.field.node.project.field_project_stage.yml index 49228bca19..f557c823f2 100644 --- a/config/default/field.field.node.project.field_project_stage.yml +++ b/config/default/field.field.node.project.field_project_stage.yml @@ -11,7 +11,7 @@ field_name: field_project_stage entity_type: node bundle: project label: 'Project Stage' -description: '' +description: 'Select the current Project Stage.
(maps to a Status on the Project Timeline)' required: false translatable: false default_value: { } diff --git a/config/default/field.field.node.project.field_project_type.yml b/config/default/field.field.node.project.field_project_type.yml index e8910ea103..8d32faa3fd 100644 --- a/config/default/field.field.node.project.field_project_type.yml +++ b/config/default/field.field.node.project.field_project_type.yml @@ -11,7 +11,7 @@ field_name: field_project_type entity_type: node bundle: project label: 'Project Type' -description: '' +description: 'Select the most relevant classification for this Project' required: false translatable: false default_value: { } diff --git a/config/default/field.field.node.project.field_project_year.yml b/config/default/field.field.node.project.field_project_year.yml index 738fb88f66..55a24e4660 100644 --- a/config/default/field.field.node.project.field_project_year.yml +++ b/config/default/field.field.node.project.field_project_year.yml @@ -12,7 +12,7 @@ field_name: field_project_year entity_type: node bundle: project label: 'Project Year' -description: 'Financial year this project is allocated to. Used principally for sporting and filtering.' +description: 'Financial year this project is allocated to. ' required: true translatable: false default_value: { } diff --git a/config/default/field.field.node.project.field_single_neighborhood.yml b/config/default/field.field.node.project.field_single_neighborhood.yml index fd43835801..87c1c6e458 100644 --- a/config/default/field.field.node.project.field_single_neighborhood.yml +++ b/config/default/field.field.node.project.field_single_neighborhood.yml @@ -11,8 +11,8 @@ field_name: field_single_neighborhood entity_type: node bundle: project label: Neighborhood -description: 'Please select the Neighborhood for this place.' -required: false +description: 'Please select the Neighborhood for this project.' +required: true translatable: false default_value: { } default_value_callback: '' diff --git a/config/default/field.storage.node.field_project_concept.yml b/config/default/field.storage.node.field_project_cost.yml similarity index 59% rename from config/default/field.storage.node.field_project_concept.yml rename to config/default/field.storage.node.field_project_cost.yml index 646861e7a2..406fc4ce50 100644 --- a/config/default/field.storage.node.field_project_concept.yml +++ b/config/default/field.storage.node.field_project_cost.yml @@ -1,15 +1,16 @@ -uuid: 7a87fac4-b74c-48a7-a185-a0cafaa6da53 +uuid: 76ef5360-21df-4a3a-97d3-df693eade6d4 langcode: en status: true dependencies: module: - node -id: node.field_project_concept -field_name: field_project_concept +id: node.field_project_cost +field_name: field_project_cost entity_type: node -type: string_long +type: integer settings: - case_sensitive: false + unsigned: false + size: normal module: core locked: false cardinality: 1 diff --git a/config/default/field.storage.node.field_project_features.yml b/config/default/field.storage.node.field_project_features.yml index 917a7adb1a..2b251e04b9 100644 --- a/config/default/field.storage.node.field_project_features.yml +++ b/config/default/field.storage.node.field_project_features.yml @@ -13,7 +13,7 @@ settings: target_type: taxonomy_term module: core locked: false -cardinality: 1 +cardinality: -1 translatable: true indexes: { } persist_with_no_fields: false diff --git a/config/default/field.storage.node.field_project_year.yml b/config/default/field.storage.node.field_project_year.yml index 957d3b4f6e..7b37323f44 100644 --- a/config/default/field.storage.node.field_project_year.yml +++ b/config/default/field.storage.node.field_project_year.yml @@ -11,6 +11,18 @@ entity_type: node type: list_string settings: allowed_values: + - + value: fy_2019 + label: 'FY 2019' + - + value: fy2020 + label: FY2020 + - + value: fy2021 + label: FY2021 + - + value: fy2022 + label: FY2022 - value: fy2023 label: FY2023 diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.base_field_override.node.project.promote.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.base_field_override.node.project.promote.yml new file mode 100644 index 0000000000..9ec9b81d31 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.base_field_override.node.project.promote.yml @@ -0,0 +1,21 @@ +langcode: en +status: true +dependencies: + config: + - node.type.project +id: node.project.promote +field_name: promote +entity_type: node +bundle: project +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/docroot/modules/custom/bos_content/modules/node_project/config/install/core.base_field_override.node.project.title.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.base_field_override.node.project.title.yml new file mode 100644 index 0000000000..914b1fa629 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.base_field_override.node.project.title.yml @@ -0,0 +1,17 @@ +langcode: en +status: true +dependencies: + config: + - node.type.project +id: node.project.title +field_name: title +entity_type: node +bundle: project +label: 'Project Name' +description: '' +required: true +translatable: true +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml index 223a23416f..a1f88026d8 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml @@ -6,16 +6,16 @@ dependencies: - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_bh_project_manger_phone - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept + - field.field.node.project.field_project_cost - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -24,6 +24,8 @@ dependencies: - workflows.workflow.city_of_boston_workflows module: - address + - advanced_text_formatter + - bos_core - content_moderation - datetime_range - field_group @@ -39,8 +41,9 @@ third_party_settings: group_project: children: - group_basic_information - - group_project_information + - group_project_location - group_page_metadata + - group_project_information label: Project region: content parent_name: '' @@ -56,14 +59,11 @@ third_party_settings: group_basic_information: children: - title - - group_s + - field_contact + - field_project_image - body - group_additional_contact_details - - field_project_address - - field_single_neighborhood - - field_project_address_geolocatio - - field_project_image - label: 'Project Information' + label: 'Project Page' region: content parent_name: group_project weight: 20 @@ -77,11 +77,13 @@ third_party_settings: description: '' required_fields: true group_page_metadata: - children: { } - label: 'Page Metadata' + children: + - group_s + - field_project_date + label: 'Project Information' region: content parent_name: group_project - weight: 24 + weight: 22 format_type: tab format_settings: classes: '' @@ -93,14 +95,8 @@ third_party_settings: required_fields: true group_project_information: children: - - field_project_concept - - field_project_date - - field_project_address_geo_polygo - - field_project_features - - field_cost - - field_bh_project_manager_name - - field_bh_project_manger_phone - sticky + - group_project_manager label: 'Additional Details' region: content parent_name: group_project @@ -116,36 +112,82 @@ third_party_settings: required_fields: true group_s: children: - - field_project_year - field_project_stage - field_project_type - label: Stage/type + - field_project_year + - field_project_features + - field_project_cost + label: 'Search Fields' region: content - parent_name: group_basic_information - weight: 24 - format_type: html_element + parent_name: group_page_metadata + weight: 26 + format_type: fieldset format_settings: - classes: g + classes: project-type-grid show_empty_fields: false id: '' label_as_html: false - element: div - show_label: false - label_element: h3 - label_element_classes: '' - attributes: '' - effect: none - speed: fast - required_fields: true + description: "These fields are used principally for sorting and filtering by users.
\r\nRemember to come back and update the Stage as the Project progresses." + required_fields: false group_additional_contact_details: children: - - field_contact - field_email - field_phone_number - label: 'Additional Contact Details' + label: 'Contact Details' region: content parent_name: group_basic_information - weight: 26 + weight: 27 + format_type: fieldset + format_settings: + classes: project-contact-grid + show_empty_fields: false + id: '' + label_as_html: false + description: 'The City of Boston person, or group, to contact for additional information related to this Project.' + required_fields: true + group_project_location: + children: + - field_single_neighborhood + - field_project_address + - group_mapping_data + label: 'Project Location' + region: content + parent_name: group_project + weight: 21 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + formatter: closed + description: '' + required_fields: true + group_mapping_data: + children: + - field_project_address_geolocatio + - field_project_address_geo_polygo + label: 'Mapping Data / GIS' + region: content + parent_name: group_project_location + weight: 31 + format_type: details + format_settings: + classes: project-gis-wrapper + show_empty_fields: false + id: '' + label_as_html: false + open: false + description: "This section is auto-completed using City-originated GIS data. \r\nOnly override this if the property's location is not displayed correctly on maps." + required_fields: true + group_project_manager: + children: + - field_bh_project_manager_name + - group_pmcontact + label: '' + region: content + parent_name: group_project_information + weight: 40 format_type: fieldset format_settings: classes: '' @@ -153,6 +195,28 @@ third_party_settings: id: '' label_as_html: false description: '' + required_fields: false + group_pmcontact: + children: + - field_project_manager_email + - field_bh_project_manger_phone + label: PMContact + region: content + parent_name: group_project_manager + weight: 43 + format_type: html_element + format_settings: + classes: project-manager-contact-grid + show_empty_fields: false + id: '' + label_as_html: false + element: div + show_label: false + label_element: h3 + label_element_classes: '' + attributes: '' + effect: none + speed: fast required_fields: true id: node.project.default targetEntityType: node @@ -161,7 +225,7 @@ mode: default content: body: type: text_textarea_with_summary - weight: 25 + weight: 26 region: content settings: rows: 9 @@ -171,13 +235,13 @@ content: third_party_settings: { } created: type: datetime_timestamp - weight: 9 + weight: 3 region: content settings: { } third_party_settings: { } field_bh_project_manager_name: type: string_textfield - weight: 36 + weight: 40 region: content settings: size: 60 @@ -185,28 +249,20 @@ content: third_party_settings: { } field_bh_project_manger_phone: type: telephone_default - weight: 37 + weight: 42 region: content settings: placeholder: '' third_party_settings: { } field_contact: type: entity_reference_autocomplete - weight: 25 + weight: 24 region: content settings: match_operator: CONTAINS match_limit: 10 size: 60 - placeholder: '' - third_party_settings: { } - field_cost: - type: string_textfield - weight: 35 - region: content - settings: - size: 60 - placeholder: '' + placeholder: 'Start typing the Department name' third_party_settings: { } field_email: type: string_textfield @@ -214,19 +270,27 @@ content: region: content settings: size: 60 - placeholder: '' - third_party_settings: { } + placeholder: 'e.g. someone@boston.gov' + third_party_settings: + advanced_text_formatter: + show_token_tree: 0 + bos_core: + show_token_tree: 0 field_phone_number: type: string_textfield weight: 27 region: content settings: size: 60 - placeholder: '' - third_party_settings: { } + placeholder: 'e.g. 781 123 4560' + third_party_settings: + advanced_text_formatter: + show_token_tree: 0 + bos_core: + show_token_tree: 0 field_project_address: type: address_default - weight: 27 + weight: 30 region: content settings: { } third_party_settings: { } @@ -238,37 +302,44 @@ content: third_party_settings: { } field_project_address_geolocatio: type: geolocation_latlng - weight: 29 + weight: 32 region: content settings: { } third_party_settings: { } - field_project_concept: - type: string_textarea - weight: 31 + field_project_cost: + type: number + weight: 29 region: content settings: - rows: 5 placeholder: '' third_party_settings: { } field_project_date: type: daterange_default - weight: 32 + weight: 27 region: content settings: { } third_party_settings: { } field_project_features: type: options_select - weight: 34 + weight: 27 region: content settings: { } third_party_settings: { } field_project_image: type: media_library_widget - weight: 30 + weight: 25 region: content settings: media_types: { } third_party_settings: { } + field_project_manager_email: + type: email_default + weight: 41 + region: content + settings: + placeholder: '' + size: 60 + third_party_settings: { } field_project_stage: type: options_select weight: 24 @@ -283,51 +354,51 @@ content: third_party_settings: { } field_project_year: type: options_select - weight: 23 + weight: 26 region: content settings: { } third_party_settings: { } field_single_neighborhood: type: options_select - weight: 28 + weight: 29 region: content settings: { } third_party_settings: { } langcode: type: language_select - weight: 10 + weight: 4 region: content settings: include_locked: true third_party_settings: { } moderation_state: type: moderation_state_default - weight: 15 + weight: 9 region: content settings: { } third_party_settings: { } path: type: path - weight: 13 + weight: 7 region: content settings: { } third_party_settings: { } promote: type: boolean_checkbox - weight: 12 + weight: 6 region: content settings: display_label: true third_party_settings: { } published_at: type: publication_date_timestamp - weight: 11 + weight: 5 region: content settings: { } third_party_settings: { } status: type: boolean_checkbox - weight: 16 + weight: 10 region: content settings: display_label: true @@ -345,11 +416,15 @@ content: region: content settings: size: 60 - placeholder: '' - third_party_settings: { } + placeholder: 'Project Name' + third_party_settings: + advanced_text_formatter: + show_token_tree: 0 + bos_core: + show_token_tree: 0 uid: type: entity_reference_autocomplete - weight: 8 + weight: 1 region: content settings: match_operator: CONTAINS @@ -358,7 +433,7 @@ content: placeholder: '' third_party_settings: { } url_redirects: - weight: 14 + weight: 8 region: content settings: { } third_party_settings: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_features.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_features.default.yml new file mode 100644 index 0000000000..e8010c9456 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_features.default.yml @@ -0,0 +1,23 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_features +id: taxonomy_term.project_features.default +targetEntityType: taxonomy_term +bundle: project_features +mode: default +content: + name: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + description: true + langcode: true + path: true + status: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml index 26c08c7e63..5e113392be 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml @@ -7,16 +7,16 @@ dependencies: - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_bh_project_manger_phone - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept + - field.field.node.project.field_project_cost - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -59,15 +59,15 @@ hidden: field_bh_project_manager_name: true field_bh_project_manger_phone: true field_contact: true - field_cost: true field_email: true field_project_address: true field_project_address_geo_polygo: true field_project_address_geolocatio: true - field_project_concept: true + field_project_cost: true field_project_date: true field_project_features: true field_project_image: true + field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml index 2b9efb402d..aeaa373101 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml @@ -7,23 +7,22 @@ dependencies: - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_bh_project_manger_phone - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept + - field.field.node.project.field_project_cost - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year - field.field.node.project.field_single_neighborhood - node.type.project module: - - smart_trim - user id: node.project.featured_item targetEntityType: node @@ -35,27 +34,6 @@ content: third_party_settings: { } weight: -20 region: content - field_cost: - type: smart_trim - label: above - settings: - trim_length: 600 - trim_type: chars - trim_suffix: '' - wrap_output: false - wrap_class: trimmed - more: - display_link: false - target_blank: false - link_trim_only: false - class: more-link - text: More - aria_label: 'Read more about [node:title]' - summary_handler: full - trim_options: { } - third_party_settings: { } - weight: 7 - region: content links: settings: { } third_party_settings: { } @@ -71,10 +49,11 @@ hidden: field_project_address: true field_project_address_geo_polygo: true field_project_address_geolocatio: true - field_project_concept: true + field_project_cost: true field_project_date: true field_project_features: true field_project_image: true + field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml index d3ca7e93f1..36c707ed62 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml @@ -7,16 +7,16 @@ dependencies: - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_bh_project_manger_phone - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept + - field.field.node.project.field_project_cost - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -51,16 +51,16 @@ hidden: field_bh_project_manager_name: true field_bh_project_manger_phone: true field_contact: true - field_cost: true field_email: true field_phone_number: true field_project_address: true field_project_address_geo_polygo: true field_project_address_geolocatio: true - field_project_concept: true + field_project_cost: true field_project_date: true field_project_features: true field_project_image: true + field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.body.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.body.yml index ddfa7c4a1f..ad375f70dd 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.body.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.body.yml @@ -3,6 +3,7 @@ status: true dependencies: config: - field.storage.node.body + - filter.format.filtered_html - node.type.project module: - text @@ -10,14 +11,15 @@ id: node.project.body field_name: body entity_type: node bundle: project -label: Body -description: '' -required: false +label: 'Project Description' +description: 'Overview of the Projects objectives, background and any other relevant information.' +required: true translatable: true default_value: { } default_value_callback: '' settings: display_summary: true required_summary: false - allowed_formats: { } + allowed_formats: + - filtered_html field_type: text_with_summary diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_contact.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_contact.yml index eb428b2d40..72dee760e6 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_contact.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_contact.yml @@ -14,8 +14,8 @@ id: node.project.field_contact field_name: field_contact entity_type: node bundle: project -label: Contact -description: 'Select department that should be displayed for this article.' +label: Department +description: 'Start typing, then select the Department from the autocomplete dropdown.' required: true translatable: false default_value: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address.yml index ac21f6499a..75dc13e8f2 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address.yml @@ -11,10 +11,24 @@ field_name: field_project_address entity_type: node bundle: project label: 'Project Address' -description: '' +description: 'The physical address for this project, preferably a street address.' required: false translatable: false -default_value: { } +default_value: + - + langcode: en + country_code: US + administrative_area: null + locality: null + dependent_locality: null + postal_code: '' + sorting_code: null + address_line1: '' + address_line2: '' + organization: null + given_name: null + additional_name: null + family_name: null default_value_callback: '' settings: available_countries: diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_cost.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_cost.yml new file mode 100644 index 0000000000..0839e2b91d --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_cost.yml @@ -0,0 +1,22 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_project_cost + - node.type.project +id: node.project.field_project_cost +field_name: field_project_cost +entity_type: node +bundle: project +label: 'Project Cost' +description: 'Enter the forecast, budgeted or actual cost.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + min: 0 + max: null + prefix: $ + suffix: '' +field_type: integer diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_date.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_date.yml index a55e056061..02c3d68f15 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_date.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_date.yml @@ -10,8 +10,8 @@ id: node.project.field_project_date field_name: field_project_date entity_type: node bundle: project -label: 'Project Date' -description: 'Start and end date for the project.' +label: 'Project Dates' +description: 'When known, add the start and end dates for the project.' required: false translatable: false default_value: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_features.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_features.yml index 19766721ca..86042fdf4e 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_features.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_features.yml @@ -10,7 +10,7 @@ field_name: field_project_features entity_type: node bundle: project label: 'Project Features' -description: '' +description: "Select as many features as required.
\r\nUse ctrl/cmd+click to select multiple." required: false translatable: false default_value: { } @@ -23,6 +23,6 @@ settings: sort: field: name direction: asc - auto_create: true + auto_create: false auto_create_bundle: '' field_type: entity_reference diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_image.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_image.yml index 9c8f7b5faf..984fe864b3 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_image.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_image.yml @@ -5,13 +5,18 @@ dependencies: - field.storage.node.field_project_image - media.type.image - node.type.project + module: + - field_display_label +third_party_settings: + field_display_label: + display_label: 'Project Hero Image' id: node.project.field_project_image field_name: field_project_image entity_type: node bundle: project -label: 'Project Image' -description: '' -required: false +label: 'Project Hero Image' +description: "Click add media and then select or upload image.
\r\nThis image is used on the top of the project page, and in all cards across the website." +required: true translatable: false default_value: { } default_value_callback: '' diff --git a/config/default/field.field.node.project.field_project_concept.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_manager_email.yml similarity index 51% rename from config/default/field.field.node.project.field_project_concept.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_manager_email.yml index 4b73b1f1e9..cf88cbe580 100644 --- a/config/default/field.field.node.project.field_project_concept.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_manager_email.yml @@ -1,19 +1,18 @@ -uuid: 7b1eb6cc-5731-4674-8bfd-ba30411f62de langcode: en status: true dependencies: config: - - field.storage.node.field_project_concept + - field.storage.node.field_project_manager_email - node.type.project -id: node.project.field_project_concept -field_name: field_project_concept +id: node.project.field_project_manager_email +field_name: field_project_manager_email entity_type: node bundle: project -label: 'Project Concept' +label: 'Project Manager Email' description: '' required: false translatable: false default_value: { } default_value_callback: '' settings: { } -field_type: string_long +field_type: email diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_stage.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_stage.yml index d4e2c8d295..388db5cdfb 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_stage.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_stage.yml @@ -10,7 +10,7 @@ field_name: field_project_stage entity_type: node bundle: project label: 'Project Stage' -description: '' +description: 'Select the current Project Stage.
(maps to a Status on the Project Timeline)' required: false translatable: false default_value: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_type.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_type.yml index 398d013a39..53f4ce7fbd 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_type.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_type.yml @@ -10,7 +10,7 @@ field_name: field_project_type entity_type: node bundle: project label: 'Project Type' -description: '' +description: 'Select the most relevant classification for this Project' required: false translatable: false default_value: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_year.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_year.yml index f335e8d855..03a6357ab7 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_year.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_year.yml @@ -11,7 +11,7 @@ field_name: field_project_year entity_type: node bundle: project label: 'Project Year' -description: 'Financial year this project is allocated to. Used principally for sporting and filtering.' +description: 'Financial year this project is allocated to. ' required: true translatable: false default_value: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_single_neighborhood.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_single_neighborhood.yml index a9361942f0..76a2544f28 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_single_neighborhood.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_single_neighborhood.yml @@ -10,8 +10,8 @@ field_name: field_single_neighborhood entity_type: node bundle: project label: Neighborhood -description: 'Please select the Neighborhood for this place.' -required: false +description: 'Please select the Neighborhood for this project.' +required: true translatable: false default_value: { } default_value_callback: '' diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_features.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_features.yml index 7d665a5b5e..b2f9ac35f4 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_features.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_features.yml @@ -12,7 +12,7 @@ settings: target_type: taxonomy_term module: core locked: false -cardinality: 1 +cardinality: -1 translatable: true indexes: { } persist_with_no_fields: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_year.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_year.yml index 07c8e06d8a..a158e6b2c6 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_year.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_year.yml @@ -10,6 +10,18 @@ entity_type: node type: list_string settings: allowed_values: + - + value: fy_2019 + label: 'FY 2019' + - + value: fy2020 + label: FY2020 + - + value: fy2021 + label: FY2021 + - + value: fy2022 + label: FY2022 - value: fy2023 label: FY2023 diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml index 317bb20253..e69f6498db 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml @@ -7,7 +7,6 @@ dependencies: - bos_content config_devel: - node.type.project - - field.storage.node.field_project_concept - field.storage.node.field_project_image - field.storage.node.field_project_date - field.storage.node.field_project_address_geo_polygo @@ -18,7 +17,6 @@ config_devel: - field.storage.node.field_project_stage - field.storage.node.field_project_features - field.field.node.project.body - - field.field.node.project.field_project_concept - field.field.node.project.field_project_image - field.field.node.project.field_project_date - field.field.node.project.field_project_address_geo_polygo @@ -26,7 +24,6 @@ config_devel: - field.field.node.project.field_project_address - field.field.node.project.field_phone_number - field.field.node.project.field_email - - field.field.node.project.field_cost - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_project_year - field.field.node.project.field_contact @@ -35,6 +32,11 @@ config_devel: - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_project_manager_email + - field.field.node.project.field_project_cost + - core.base_field_override.node.project.title + - core.base_field_override.node.project.promote + - core.entity_form_display.taxonomy_term.project_features.default - core.entity_form_display.node.project.default - core.entity_view_display.node.project.card - core.entity_view_display.node.project.grid_item diff --git a/docroot/themes/custom/bos_admin/css/bos_admin.css b/docroot/themes/custom/bos_admin/css/bos_admin.css index 765fec1e6f..6074a78062 100644 --- a/docroot/themes/custom/bos_admin/css/bos_admin.css +++ b/docroot/themes/custom/bos_admin/css/bos_admin.css @@ -1592,3 +1592,101 @@ Hide default contact info vertical-align: auto; } } + +@media screen and (min-width: 780px), (orientation: landscape) and (min-device-height: 780px) { + /* Make the content editor layout more responsive */ + .bos_admin .layout-node-form { + display:flex; + flex-wrap: wrap; + } + .bos_admin .layout-node-form .layout-region-node-main { + width: 70%; + } + .bos_admin .layout-node-form .layout-region-node-secondary { + width: 30%; + margin-top: 10px; + } + .bos_admin .layout-node-form .layout-region-node-footer { + width: 100%; + } + .bos_admin .layout-region-node-main .vertical-tabs { + display: flex; + } + .bos_admin .layout-region-node-main .vertical-tabs .vertical-tabs__menu { + width: 40%; + margin: 0; + max-width: fit-content; + } + .bos_admin .layout-region-node-main .vertical-tabs .vertical-tabs__panes { + width: fit-content; + width: -webkit-fill-available; + margin: 0; + } +} + +/** Date Range Component (daterange) **/ +.bos_admin .layout-region-node-main .field--type-daterange .fieldset-wrapper { + display: flex; + flex-wrap: wrap; + gap: 0 15px; + align-items: center; +} +.bos_admin .layout-region-node-main .field--type-daterange .fieldset-wrapper .description { + width: 100%; +} +/** Geolocation component (geolocation) **/ +.bos_admin .field--type-geolocation .form-wrapper .fieldset-wrapper { + display: flex; + flex-wrap: wrap; + margin: 0; + gap: 20px; +} +.bos_admin .field--type-geolocation .form-wrapper .form-item { + width : calc(50% - 20px); +} +/** Fieldset Labels (legends) **/ +.bos_admin .seven-details summary :not(.before), +.bos_admin .form-wrapper .form-item label :not(label.option), +.bos_admin legend .fieldset-legend { + font-size: 1.5rem; + padding: .5rem 0; + font-variant: all-small-caps; + letter-spacing: normal; +} +.bos_admin .layout-region-node-main .description { + font-style: italic; +} + +/** PROJECT content-type specific **/ +.bos_admin .project-type-grid .fieldset-wrapper { + display: flex; + flex-wrap: wrap; + width: 100%; + margin: 0; +} +.bos_admin .project-type-grid .fieldset-wrapper .form-wrapper { + width: 33%; + max-width: 33%; +} +.bos_admin .project-contact-grid .fieldset-wrapper { + display: flex; + flex-wrap: wrap; + width: 100%; + margin: 0; + gap: 0 10px; +} +.bos_admin .project-contact-grid .fieldset-wrapper .form-wrapper { + width: calc(33% - 10px); +} +.bos_admin .field--name-field-project-address [id*=address-country-code] { + display: none; +} +.bos_admin .project-manager-contact-grid { + display: flex; + flex-wrap: wrap; + margin: 0; + gap: 0 20px; +} +.bos_admin .project-manager-contact-grid .form-wrapper{ + width : calc(50% - 20px); +} From b6032f7cc9a9069670403a74e353e6425cde501d Mon Sep 17 00:00:00 2001 From: David Upton Date: Thu, 22 Aug 2024 13:29:42 -0400 Subject: [PATCH 08/14] DIG-4968 Updates fields in node_project + displays --- ...tity_form_display.node.project.default.yml | 106 ++++--- ...display.paragraph.contact_role.default.yml | 85 +++++ ...lay.taxonomy_term.project_role.default.yml | 24 ++ ...tity_view_display.node.project.article.yml | 10 +- ....entity_view_display.node.project.card.yml | 10 +- ...tity_view_display.node.project.default.yml | 42 ++- ...isplay.node.project.department_listing.yml | 10 +- ...iew_display.node.project.featured_item.yml | 10 +- ...ty_view_display.node.project.grid_item.yml | 10 +- ...tity_view_display.node.project.listing.yml | 10 +- ...ntity_view_display.node.project.teaser.yml | 10 +- ...display.paragraph.contact_role.default.yml | 46 +++ ....project.field_bh_project_manager_name.yml | 19 -- ....project.field_bh_project_manger_phone.yml | 21 -- ...ld.field.node.project.field_components.yml | 295 ++++++++++++++++++ ...de.project.field_project_manager_email.yml | 19 -- ....field.node.project.field_role_contact.yml | 259 +++++++++++++++ ...agraph.contact_role.field_company_name.yml | 19 ++ ...eld.paragraph.contact_role.field_email.yml | 19 ++ ...eld.paragraph.contact_role.field_phone.yml | 21 ++ ...ield.paragraph.contact_role.field_role.yml | 29 ++ .../field.storage.node.field_role_contact.yml | 21 ++ .../field.storage.paragraph.field_email.yml | 18 ++ .../field.storage.paragraph.field_phone.yml | 19 ++ .../field.storage.paragraph.field_role.yml | 20 ++ ...nt_settings.taxonomy_term.project_role.yml | 11 + ...aragraphs.paragraphs_type.contact_role.yml | 10 + ...tings.taxonomy_vocabulary_project_role.yml | 14 + .../taxonomy.vocabulary.project_role.yml | 9 + .../modules/bos_geocoder/readme.md | 35 +++ ...tity_form_display.node.project.default.yml | 106 ++++--- ...display.paragraph.contact_role.default.yml | 84 +++++ ...lay.taxonomy_term.project_role.default.yml | 23 ++ ....entity_view_display.node.project.card.yml | 10 +- ...iew_display.node.project.featured_item.yml | 10 +- ...ty_view_display.node.project.grid_item.yml | 10 +- ...display.paragraph.contact_role.default.yml | 45 +++ ....project.field_bh_project_manager_name.yml | 18 -- ....project.field_bh_project_manger_phone.yml | 20 -- ...ld.field.node.project.field_components.yml | 294 +++++++++++++++++ ....field.node.project.field_role_contact.yml | 258 +++++++++++++++ ...agraph.contact_role.field_company_name.yml | 18 ++ ...eld.paragraph.contact_role.field_email.yml | 18 ++ ...eld.paragraph.contact_role.field_phone.yml | 20 ++ ...ield.paragraph.contact_role.field_role.yml | 28 ++ .../field.storage.node.field_role_contact.yml | 20 ++ .../field.storage.paragraph.field_email.yml | 17 + .../field.storage.paragraph.field_phone.yml | 18 ++ .../field.storage.paragraph.field_role.yml | 19 ++ ...nt_settings.taxonomy_term.project_role.yml | 10 + ...aragraphs.paragraphs_type.contact_role.yml | 9 + ...tings.taxonomy_vocabulary_project_role.yml | 13 + .../taxonomy.vocabulary.project_role.yml | 8 + .../node_project/node_project.info.yml | 26 +- .../modules/node_project/node_project.module | 75 +++++ .../themes/custom/bos_admin/css/bos_admin.css | 166 +++++----- 56 files changed, 2219 insertions(+), 355 deletions(-) create mode 100644 config/default/core.entity_form_display.paragraph.contact_role.default.yml create mode 100644 config/default/core.entity_form_display.taxonomy_term.project_role.default.yml create mode 100644 config/default/core.entity_view_display.paragraph.contact_role.default.yml delete mode 100644 config/default/field.field.node.project.field_bh_project_manager_name.yml delete mode 100644 config/default/field.field.node.project.field_bh_project_manger_phone.yml create mode 100644 config/default/field.field.node.project.field_components.yml delete mode 100644 config/default/field.field.node.project.field_project_manager_email.yml create mode 100644 config/default/field.field.node.project.field_role_contact.yml create mode 100644 config/default/field.field.paragraph.contact_role.field_company_name.yml create mode 100644 config/default/field.field.paragraph.contact_role.field_email.yml create mode 100644 config/default/field.field.paragraph.contact_role.field_phone.yml create mode 100644 config/default/field.field.paragraph.contact_role.field_role.yml create mode 100644 config/default/field.storage.node.field_role_contact.yml create mode 100644 config/default/field.storage.paragraph.field_email.yml create mode 100644 config/default/field.storage.paragraph.field_phone.yml create mode 100644 config/default/field.storage.paragraph.field_role.yml create mode 100644 config/default/language.content_settings.taxonomy_term.project_role.yml create mode 100644 config/default/paragraphs.paragraphs_type.contact_role.yml create mode 100644 config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role.yml create mode 100644 config/default/taxonomy.vocabulary.project_role.yml create mode 100644 docroot/modules/custom/bos_components/modules/bos_geocoder/readme.md create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.paragraph.contact_role.default.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_role.default.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.paragraph.contact_role.default.yml delete mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manager_name.yml delete mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manger_phone.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_components.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_role_contact.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_company_name.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_email.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_phone.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_role.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_role_contact.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_email.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_phone.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_role.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_role.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/paragraphs.paragraphs_type.contact_role.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_role.yml diff --git a/config/default/core.entity_form_display.node.project.default.yml b/config/default/core.entity_form_display.node.project.default.yml index 0b02be04fa..0cf52bcdd7 100644 --- a/config/default/core.entity_form_display.node.project.default.yml +++ b/config/default/core.entity_form_display.node.project.default.yml @@ -4,8 +4,7 @@ status: true dependencies: config: - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email - field.field.node.project.field_phone_number @@ -16,10 +15,10 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood - node.type.project - workflows.workflow.city_of_boston_workflows @@ -33,9 +32,9 @@ dependencies: - geolocation - geolocation_geometry - media_library + - paragraphs - path - publication_date - - telephone - text third_party_settings: field_group: @@ -96,8 +95,9 @@ third_party_settings: required_fields: true group_project_information: children: - - sticky - - group_project_manager + - group_promote + - group_contactroles_wrapper + - field_components label: 'Additional Details' region: content parent_name: group_project @@ -181,43 +181,35 @@ third_party_settings: open: false description: "This section is auto-completed using City-originated GIS data. \r\nOnly override this if the property's location is not displayed correctly on maps." required_fields: true - group_project_manager: + group_promote: children: - - field_bh_project_manager_name - - group_pmcontact - label: '' + - sticky + label: Promote region: content parent_name: group_project_information - weight: 40 + weight: 20 format_type: fieldset format_settings: classes: '' show_empty_fields: false id: '' label_as_html: false - description: '' - required_fields: false - group_pmcontact: + description: 'Options to promote this Project on the site.' + required_fields: true + group_contactroles_wrapper: children: - - field_project_manager_email - - field_bh_project_manger_phone - label: PMContact + - field_role_contact + label: 'Role Contacts' region: content - parent_name: group_project_manager - weight: 43 - format_type: html_element + parent_name: group_project_information + weight: 21 + format_type: fieldset format_settings: - classes: project-manager-contact-grid + classes: 'rolecontacts-wrapper no-title' show_empty_fields: false id: '' label_as_html: false - element: div - show_label: false - label_element: h3 - label_element_classes: '' - attributes: '' - effect: none - speed: fast + description: '' required_fields: true id: node.project.default targetEntityType: node @@ -240,20 +232,24 @@ content: region: content settings: { } third_party_settings: { } - field_bh_project_manager_name: - type: string_textfield - weight: 40 - region: content - settings: - size: 60 - placeholder: '' - third_party_settings: { } - field_bh_project_manger_phone: - type: telephone_default - weight: 42 + field_components: + type: paragraphs + weight: 23 region: content settings: - placeholder: '' + title: 'Article Component' + title_plural: 'Article Components' + edit_mode: closed + closed_mode: summary + autocollapse: all + closed_mode_threshold: 0 + add_mode: dropdown + form_display_mode: default + default_paragraph_type: _none + features: + add_above: '0' + collapse_edit_all: collapse_edit_all + duplicate: duplicate third_party_settings: { } field_contact: type: entity_reference_autocomplete @@ -333,14 +329,6 @@ content: settings: media_types: { } third_party_settings: { } - field_project_manager_email: - type: email_default - weight: 41 - region: content - settings: - placeholder: '' - size: 60 - third_party_settings: { } field_project_stage: type: options_select weight: 24 @@ -359,6 +347,26 @@ content: region: content settings: { } third_party_settings: { } + field_role_contact: + type: paragraphs + weight: 22 + region: content + settings: + title: Contact + title_plural: Contacts + edit_mode: closed + closed_mode: summary + autocollapse: none + closed_mode_threshold: 0 + add_mode: button + form_display_mode: default + default_paragraph_type: _none + features: + add_above: '0' + collapse_edit_all: collapse_edit_all + convert: '0' + duplicate: duplicate + third_party_settings: { } field_single_neighborhood: type: options_select weight: 29 @@ -406,7 +414,7 @@ content: third_party_settings: { } sticky: type: boolean_checkbox - weight: 38 + weight: 21 region: content settings: display_label: true diff --git a/config/default/core.entity_form_display.paragraph.contact_role.default.yml b/config/default/core.entity_form_display.paragraph.contact_role.default.yml new file mode 100644 index 0000000000..c302c0bfb0 --- /dev/null +++ b/config/default/core.entity_form_display.paragraph.contact_role.default.yml @@ -0,0 +1,85 @@ +uuid: 16be68ae-d2e5-45c7-84b5-f06fed8fd87c +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.contact_role.field_company_name + - field.field.paragraph.contact_role.field_email + - field.field.paragraph.contact_role.field_phone + - field.field.paragraph.contact_role.field_role + - paragraphs.paragraphs_type.contact_role + module: + - field_group + - telephone +third_party_settings: + field_group: + group_contact_method: + children: + - field_email + - field_phone + label: 'Contact Method' + region: content + parent_name: group_role + weight: 3 + format_type: fieldset + format_settings: + classes: rolecontact-details-grid + show_empty_fields: false + id: '' + label_as_html: false + description: '' + required_fields: true + group_role: + children: + - field_company_name + - field_role + - group_contact_method + label: '' + region: content + parent_name: '' + weight: 0 + format_type: fieldset + format_settings: + classes: rolecontact-wrapper + show_empty_fields: false + id: '' + label_as_html: false + description: '' + required_fields: true +id: paragraph.contact_role.default +targetEntityType: paragraph +bundle: contact_role +mode: default +content: + field_company_name: + type: string_textfield + weight: 1 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_email: + type: email_default + weight: 3 + region: content + settings: + placeholder: '' + size: 60 + third_party_settings: { } + field_phone: + type: telephone_default + weight: 4 + region: content + settings: + placeholder: '' + third_party_settings: { } + field_role: + type: options_select + weight: 2 + region: content + settings: { } + third_party_settings: { } +hidden: + created: true + status: true diff --git a/config/default/core.entity_form_display.taxonomy_term.project_role.default.yml b/config/default/core.entity_form_display.taxonomy_term.project_role.default.yml new file mode 100644 index 0000000000..2f2cc4f02f --- /dev/null +++ b/config/default/core.entity_form_display.taxonomy_term.project_role.default.yml @@ -0,0 +1,24 @@ +uuid: 4a9fab78-0c9e-464d-a67d-2f484a310ae3 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_role +id: taxonomy_term.project_role.default +targetEntityType: taxonomy_term +bundle: project_role +mode: default +content: + name: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + description: true + langcode: true + path: true + status: true diff --git a/config/default/core.entity_view_display.node.project.article.yml b/config/default/core.entity_view_display.node.project.article.yml index 67ce442842..e016d9a1d0 100644 --- a/config/default/core.entity_view_display.node.project.article.yml +++ b/config/default/core.entity_view_display.node.project.article.yml @@ -5,8 +5,7 @@ dependencies: config: - core.entity_view_mode.node.article - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email - field.field.node.project.field_phone_number @@ -17,10 +16,10 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood - node.type.project module: @@ -58,8 +57,7 @@ content: region: content hidden: body: true - field_bh_project_manager_name: true - field_bh_project_manger_phone: true + field_components: true field_contact: true field_project_address: true field_project_address_geo_polygo: true @@ -68,10 +66,10 @@ hidden: field_project_date: true field_project_features: true field_project_image: true - field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true + field_role_contact: true field_single_neighborhood: true langcode: true published_at: true diff --git a/config/default/core.entity_view_display.node.project.card.yml b/config/default/core.entity_view_display.node.project.card.yml index ee2a501d2e..c9b9c1e93b 100644 --- a/config/default/core.entity_view_display.node.project.card.yml +++ b/config/default/core.entity_view_display.node.project.card.yml @@ -5,8 +5,7 @@ dependencies: config: - core.entity_view_mode.node.card - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email - field.field.node.project.field_phone_number @@ -17,10 +16,10 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood - node.type.project module: @@ -57,8 +56,7 @@ content: weight: 100 region: content hidden: - field_bh_project_manager_name: true - field_bh_project_manger_phone: true + field_components: true field_contact: true field_email: true field_project_address: true @@ -68,10 +66,10 @@ hidden: field_project_date: true field_project_features: true field_project_image: true - field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true + field_role_contact: true field_single_neighborhood: true langcode: true published_at: true diff --git a/config/default/core.entity_view_display.node.project.default.yml b/config/default/core.entity_view_display.node.project.default.yml index c2de0e08be..09f19f77a7 100644 --- a/config/default/core.entity_view_display.node.project.default.yml +++ b/config/default/core.entity_view_display.node.project.default.yml @@ -4,8 +4,7 @@ status: true dependencies: config: - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email - field.field.node.project.field_phone_number @@ -16,20 +15,20 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood - node.type.project module: - address - datetime_range + - entity_reference_revisions - fences - geolocation - geolocation_geometry - options - - telephone - text - user id: node.project.default @@ -49,21 +48,14 @@ content: third_party_settings: { } weight: -20 region: content - field_bh_project_manager_name: - type: string - label: above - settings: - link_to_entity: false - third_party_settings: { } - weight: 110 - region: content - field_bh_project_manger_phone: - type: telephone_link - label: above + field_components: + type: entity_reference_revisions_entity_view + label: hidden settings: - title: '' + view_mode: full + link: '' third_party_settings: { } - weight: 111 + weight: 4 region: content field_contact: type: entity_reference_entity_view @@ -162,13 +154,6 @@ content: third_party_settings: { } weight: 112 region: content - field_project_manager_email: - type: basic_string - label: above - settings: { } - third_party_settings: { } - weight: 115 - region: content field_project_stage: type: entity_reference_label label: above @@ -192,6 +177,15 @@ content: third_party_settings: { } weight: 109 region: content + field_role_contact: + type: entity_reference_revisions_entity_view + label: above + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 116 + region: content field_single_neighborhood: type: entity_reference_label label: inline diff --git a/config/default/core.entity_view_display.node.project.department_listing.yml b/config/default/core.entity_view_display.node.project.department_listing.yml index d49390f1da..a3fe1939a3 100644 --- a/config/default/core.entity_view_display.node.project.department_listing.yml +++ b/config/default/core.entity_view_display.node.project.department_listing.yml @@ -5,8 +5,7 @@ dependencies: config: - core.entity_view_mode.node.department_listing - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email - field.field.node.project.field_phone_number @@ -17,10 +16,10 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood - node.type.project module: @@ -50,8 +49,7 @@ content: region: content hidden: body: true - field_bh_project_manager_name: true - field_bh_project_manger_phone: true + field_components: true field_contact: true field_email: true field_project_address: true @@ -61,10 +59,10 @@ hidden: field_project_date: true field_project_features: true field_project_image: true - field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true + field_role_contact: true field_single_neighborhood: true langcode: true published_at: true diff --git a/config/default/core.entity_view_display.node.project.featured_item.yml b/config/default/core.entity_view_display.node.project.featured_item.yml index 6eb1b4fc29..b4decf52d3 100644 --- a/config/default/core.entity_view_display.node.project.featured_item.yml +++ b/config/default/core.entity_view_display.node.project.featured_item.yml @@ -5,8 +5,7 @@ dependencies: config: - core.entity_view_mode.node.featured_item - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email - field.field.node.project.field_phone_number @@ -17,10 +16,10 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood - node.type.project module: @@ -42,8 +41,7 @@ content: region: content hidden: body: true - field_bh_project_manager_name: true - field_bh_project_manger_phone: true + field_components: true field_contact: true field_email: true field_phone_number: true @@ -54,10 +52,10 @@ hidden: field_project_date: true field_project_features: true field_project_image: true - field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true + field_role_contact: true field_single_neighborhood: true langcode: true published_at: true diff --git a/config/default/core.entity_view_display.node.project.grid_item.yml b/config/default/core.entity_view_display.node.project.grid_item.yml index 8a52d7806b..e381024a3c 100644 --- a/config/default/core.entity_view_display.node.project.grid_item.yml +++ b/config/default/core.entity_view_display.node.project.grid_item.yml @@ -5,8 +5,7 @@ dependencies: config: - core.entity_view_mode.node.grid_item - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email - field.field.node.project.field_phone_number @@ -17,10 +16,10 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood - node.type.project module: @@ -49,8 +48,7 @@ content: weight: 100 region: content hidden: - field_bh_project_manager_name: true - field_bh_project_manger_phone: true + field_components: true field_contact: true field_email: true field_phone_number: true @@ -61,10 +59,10 @@ hidden: field_project_date: true field_project_features: true field_project_image: true - field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true + field_role_contact: true field_single_neighborhood: true langcode: true published_at: true diff --git a/config/default/core.entity_view_display.node.project.listing.yml b/config/default/core.entity_view_display.node.project.listing.yml index 4bece1b669..9f7b9bc395 100644 --- a/config/default/core.entity_view_display.node.project.listing.yml +++ b/config/default/core.entity_view_display.node.project.listing.yml @@ -5,8 +5,7 @@ dependencies: config: - core.entity_view_mode.node.listing - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email - field.field.node.project.field_phone_number @@ -17,10 +16,10 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood - node.type.project module: @@ -81,8 +80,7 @@ content: weight: 100 region: content hidden: - field_bh_project_manager_name: true - field_bh_project_manger_phone: true + field_components: true field_contact: true field_project_address: true field_project_address_geo_polygo: true @@ -91,9 +89,9 @@ hidden: field_project_date: true field_project_features: true field_project_image: true - field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true + field_role_contact: true langcode: true published_at: true diff --git a/config/default/core.entity_view_display.node.project.teaser.yml b/config/default/core.entity_view_display.node.project.teaser.yml index 408cbc3583..64b8a8c0e3 100644 --- a/config/default/core.entity_view_display.node.project.teaser.yml +++ b/config/default/core.entity_view_display.node.project.teaser.yml @@ -5,8 +5,7 @@ dependencies: config: - core.entity_view_mode.node.teaser - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email - field.field.node.project.field_phone_number @@ -17,10 +16,10 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood - node.type.project module: @@ -50,8 +49,7 @@ content: weight: 100 region: content hidden: - field_bh_project_manager_name: true - field_bh_project_manger_phone: true + field_components: true field_contact: true field_email: true field_phone_number: true @@ -62,10 +60,10 @@ hidden: field_project_date: true field_project_features: true field_project_image: true - field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true + field_role_contact: true field_single_neighborhood: true langcode: true published_at: true diff --git a/config/default/core.entity_view_display.paragraph.contact_role.default.yml b/config/default/core.entity_view_display.paragraph.contact_role.default.yml new file mode 100644 index 0000000000..9497b04093 --- /dev/null +++ b/config/default/core.entity_view_display.paragraph.contact_role.default.yml @@ -0,0 +1,46 @@ +uuid: be17a09f-83e5-462b-b7d4-376a3bff6baf +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.contact_role.field_company_name + - field.field.paragraph.contact_role.field_email + - field.field.paragraph.contact_role.field_phone + - field.field.paragraph.contact_role.field_role + - paragraphs.paragraphs_type.contact_role +id: paragraph.contact_role.default +targetEntityType: paragraph +bundle: contact_role +mode: default +content: + field_company_name: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 0 + region: content + field_email: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 2 + region: content + field_phone: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 3 + region: content + field_role: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 1 + region: content +hidden: { } diff --git a/config/default/field.field.node.project.field_bh_project_manager_name.yml b/config/default/field.field.node.project.field_bh_project_manager_name.yml deleted file mode 100644 index 1adc30f68a..0000000000 --- a/config/default/field.field.node.project.field_bh_project_manager_name.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: 5d20de05-4ab9-40f3-939c-ba111c8f71fa -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_bh_project_manager_name - - node.type.project -id: node.project.field_bh_project_manager_name -field_name: field_bh_project_manager_name -entity_type: node -bundle: project -label: 'Project Manager Name' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/config/default/field.field.node.project.field_bh_project_manger_phone.yml b/config/default/field.field.node.project.field_bh_project_manger_phone.yml deleted file mode 100644 index 23c65f3c8a..0000000000 --- a/config/default/field.field.node.project.field_bh_project_manger_phone.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: 4e3effe4-ee32-42ab-b658-229898c7c1f0 -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_bh_project_manger_phone - - node.type.project - module: - - telephone -id: node.project.field_bh_project_manger_phone -field_name: field_bh_project_manger_phone -entity_type: node -bundle: project -label: 'Project Manger Phone' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: telephone diff --git a/config/default/field.field.node.project.field_components.yml b/config/default/field.field.node.project.field_components.yml new file mode 100644 index 0000000000..269dfd0114 --- /dev/null +++ b/config/default/field.field.node.project.field_components.yml @@ -0,0 +1,295 @@ +uuid: 2d7633f1-2f33-4df2-a4ab-9a788c3b973d +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_components + - node.type.project + - paragraphs.paragraphs_type.branded_links + - paragraphs.paragraphs_type.cabinet + - paragraphs.paragraphs_type.charts + - paragraphs.paragraphs_type.drawers + - paragraphs.paragraphs_type.events_and_notices + - paragraphs.paragraphs_type.fyi + - paragraphs.paragraphs_type.grid_of_cards + - paragraphs.paragraphs_type.grid_of_people + - paragraphs.paragraphs_type.group_of_links_grid + - paragraphs.paragraphs_type.group_of_links_list + - paragraphs.paragraphs_type.group_of_links_mini_grid + - paragraphs.paragraphs_type.group_of_links_quick_links + - paragraphs.paragraphs_type.list + - paragraphs.paragraphs_type.news_and_announcements + - paragraphs.paragraphs_type.newsletter + - paragraphs.paragraphs_type.photo + - paragraphs.paragraphs_type.text + - paragraphs.paragraphs_type.transaction_grid + - paragraphs.paragraphs_type.video + module: + - entity_reference_revisions +id: node.project.field_components +field_name: field_components +entity_type: node +bundle: project +label: 'Additional Page Components' +description: 'Add additional components to display Project related information (will show below the main Project Information).' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + branded_links: branded_links + cabinet: cabinet + charts: charts + drawers: drawers + events_and_notices: events_and_notices + text: text + fyi: fyi + grid_of_cards: grid_of_cards + grid_of_people: grid_of_people + group_of_links_grid: group_of_links_grid + group_of_links_list: group_of_links_list + group_of_links_mini_grid: group_of_links_mini_grid + group_of_links_quick_links: group_of_links_quick_links + list: list + news_and_announcements: news_and_announcements + newsletter: newsletter + photo: photo + transaction_grid: transaction_grid + video: video + negate: 0 + target_bundles_drag_drop: + 3_column_w_image: + weight: -96 + enabled: false + bid: + weight: -95 + enabled: false + bos311: + weight: -94 + enabled: false + bos_chart: + weight: -90 + enabled: false + bos_node_search: + weight: -37 + enabled: false + bos_signup_emergency_alerts: + weight: -34 + enabled: false + branded_links: + weight: -93 + enabled: true + cabinet: + weight: -92 + enabled: true + card: + weight: -91 + enabled: false + charts: + weight: -89 + enabled: true + city_score_dashboard: + weight: -90 + enabled: false + columns: + weight: -29 + enabled: false + commission_contact_info: + weight: -89 + enabled: false + commission_members: + weight: -88 + enabled: false + commission_search: + weight: -87 + enabled: false + commission_summary: + weight: -86 + enabled: false + custom_hours_text: + weight: -85 + enabled: false + daily_hours: + weight: -84 + enabled: false + discussion_topic: + weight: -83 + enabled: false + document: + weight: -82 + enabled: false + drawer: + weight: -81 + enabled: false + drawers: + weight: -80 + enabled: true + election_area_results: + weight: -79 + enabled: false + election_candidate_results: + weight: -78 + enabled: false + election_card: + weight: -77 + enabled: false + election_contest_results: + weight: -76 + enabled: false + election_results: + weight: -75 + enabled: false + embed_view: + weight: -74 + enabled: false + events_and_notices: + weight: -73 + enabled: true + external_link: + weight: -72 + enabled: false + featured_topics: + weight: -71 + enabled: false + from_library: + weight: -69 + enabled: false + fyi: + weight: -68 + enabled: true + gol_list_links: + weight: -47 + enabled: false + grid_links: + weight: -67 + enabled: false + grid_of_cards: + weight: -66 + enabled: true + grid_of_people: + weight: -64 + enabled: true + grid_of_places: + weight: -63 + enabled: false + grid_of_programs_initiatives: + weight: -62 + enabled: false + grid_of_quotes: + weight: -61 + enabled: false + grid_of_topics: + weight: -65 + enabled: false + group_of_links_grid: + weight: -60 + enabled: true + group_of_links_list: + weight: -59 + enabled: true + group_of_links_mini_grid: + weight: -58 + enabled: true + group_of_links_quick_links: + weight: -57 + enabled: true + header_text: + weight: -56 + enabled: false + hero_image: + weight: -53 + enabled: false + how_to_contact_step: + weight: -54 + enabled: false + how_to_tab: + weight: -53 + enabled: false + how_to_text_step: + weight: -52 + enabled: false + iframe: + weight: -51 + enabled: false + internal_link: + weight: -50 + enabled: false + lightbox_link: + weight: -49 + enabled: false + list: + weight: -48 + enabled: true + map: + weight: -46 + enabled: false + message_for_the_day: + weight: -45 + enabled: false + news_and_announcements: + weight: -44 + enabled: true + newsletter: + weight: -43 + enabled: true + photo: + weight: -41 + enabled: true + project_contact: + weight: 137 + enabled: false + quote: + weight: -40 + enabled: false + roll_call_vote: + weight: -39 + enabled: false + seamless_doc: + weight: -38 + enabled: false + sidebar_item: + weight: -36 + enabled: false + sidebar_item_w_icon: + weight: -35 + enabled: false + social_media_links: + weight: -31 + enabled: false + social_networking: + weight: -33 + enabled: false + status_overrides: + weight: -32 + enabled: false + tabbed_content_tab: + weight: -30 + enabled: false + text: + weight: -70 + enabled: true + text_one_column: + weight: -42 + enabled: false + text_three_column: + weight: -28 + enabled: false + text_two_column: + weight: -25 + enabled: false + transaction_grid: + weight: -26 + enabled: true + transactions: + weight: -25 + enabled: false + video: + weight: -24 + enabled: true + web_app: + weight: -23 + enabled: false +field_type: entity_reference_revisions diff --git a/config/default/field.field.node.project.field_project_manager_email.yml b/config/default/field.field.node.project.field_project_manager_email.yml deleted file mode 100644 index d11537be31..0000000000 --- a/config/default/field.field.node.project.field_project_manager_email.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: 4c849ec7-d390-47bb-9a51-dcaa6252caed -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_project_manager_email - - node.type.project -id: node.project.field_project_manager_email -field_name: field_project_manager_email -entity_type: node -bundle: project -label: 'Project Manager Email' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: email diff --git a/config/default/field.field.node.project.field_role_contact.yml b/config/default/field.field.node.project.field_role_contact.yml new file mode 100644 index 0000000000..acc3e592f1 --- /dev/null +++ b/config/default/field.field.node.project.field_role_contact.yml @@ -0,0 +1,259 @@ +uuid: b3560cd9-202d-438e-9b36-8707012d20a6 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_role_contact + - node.type.project + - paragraphs.paragraphs_type.contact_role + module: + - entity_reference_revisions +id: node.project.field_role_contact +field_name: field_role_contact +entity_type: node +bundle: project +label: 'Project Roles' +description: 'Create up to 5 Role-based contacts for this Project.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + contact_role: contact_role + negate: 0 + target_bundles_drag_drop: + 3_column_w_image: + weight: 78 + enabled: false + bid: + weight: 79 + enabled: false + bos311: + weight: 80 + enabled: false + bos_chart: + weight: 81 + enabled: false + bos_node_search: + weight: 140 + enabled: false + bos_signup_emergency_alerts: + weight: 143 + enabled: false + branded_links: + weight: 82 + enabled: false + cabinet: + weight: 83 + enabled: false + card: + weight: 84 + enabled: false + charts: + weight: 85 + enabled: false + city_score_dashboard: + weight: 86 + enabled: false + columns: + weight: 148 + enabled: false + commission_contact_info: + weight: 87 + enabled: false + commission_members: + weight: 88 + enabled: false + commission_search: + weight: 89 + enabled: false + commission_summary: + weight: 90 + enabled: false + contact_role: + weight: 91 + enabled: true + custom_hours_text: + weight: 92 + enabled: false + daily_hours: + weight: 93 + enabled: false + discussion_topic: + weight: 94 + enabled: false + document: + weight: 95 + enabled: false + drawer: + weight: 96 + enabled: false + drawers: + weight: 97 + enabled: false + election_area_results: + weight: 98 + enabled: false + election_candidate_results: + weight: 99 + enabled: false + election_card: + weight: 100 + enabled: false + election_contest_results: + weight: 101 + enabled: false + election_results: + weight: 102 + enabled: false + embed_view: + weight: 103 + enabled: false + events_and_notices: + weight: 104 + enabled: false + external_link: + weight: 105 + enabled: false + featured_topics: + weight: 106 + enabled: false + from_library: + weight: 108 + enabled: false + fyi: + weight: 109 + enabled: false + gol_list_links: + weight: 110 + enabled: false + grid_links: + weight: 111 + enabled: false + grid_of_cards: + weight: 112 + enabled: false + grid_of_people: + weight: 113 + enabled: false + grid_of_places: + weight: 114 + enabled: false + grid_of_programs_initiatives: + weight: 115 + enabled: false + grid_of_quotes: + weight: 116 + enabled: false + grid_of_topics: + weight: 117 + enabled: false + group_of_links_grid: + weight: 118 + enabled: false + group_of_links_list: + weight: 119 + enabled: false + group_of_links_mini_grid: + weight: 120 + enabled: false + group_of_links_quick_links: + weight: 121 + enabled: false + header_text: + weight: 122 + enabled: false + hero_image: + weight: 123 + enabled: false + how_to_contact_step: + weight: 124 + enabled: false + how_to_tab: + weight: 125 + enabled: false + how_to_text_step: + weight: 126 + enabled: false + iframe: + weight: 127 + enabled: false + internal_link: + weight: 128 + enabled: false + lightbox_link: + weight: 129 + enabled: false + list: + weight: 130 + enabled: false + map: + weight: 131 + enabled: false + message_for_the_day: + weight: 132 + enabled: false + news_and_announcements: + weight: 134 + enabled: false + newsletter: + weight: 133 + enabled: false + photo: + weight: 136 + enabled: false + quote: + weight: 137 + enabled: false + roll_call_vote: + weight: 138 + enabled: false + seamless_doc: + weight: 139 + enabled: false + sidebar_item: + weight: 141 + enabled: false + sidebar_item_w_icon: + weight: 142 + enabled: false + social_media_links: + weight: 144 + enabled: false + social_networking: + weight: 145 + enabled: false + status_overrides: + weight: 146 + enabled: false + tabbed_content_tab: + weight: 147 + enabled: false + text: + weight: 107 + enabled: false + text_one_column: + weight: 135 + enabled: false + text_three_column: + weight: 149 + enabled: false + text_two_column: + weight: 150 + enabled: false + transaction_grid: + weight: 152 + enabled: false + transactions: + weight: 151 + enabled: false + video: + weight: 153 + enabled: false + web_app: + weight: 154 + enabled: false +field_type: entity_reference_revisions diff --git a/config/default/field.field.paragraph.contact_role.field_company_name.yml b/config/default/field.field.paragraph.contact_role.field_company_name.yml new file mode 100644 index 0000000000..a8b4d0d336 --- /dev/null +++ b/config/default/field.field.paragraph.contact_role.field_company_name.yml @@ -0,0 +1,19 @@ +uuid: 23c8b43f-1da6-4517-916d-4d68781c1c59 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_company_name + - paragraphs.paragraphs_type.contact_role +id: paragraph.contact_role.field_company_name +field_name: field_company_name +entity_type: paragraph +bundle: contact_role +label: 'Contact Name' +description: 'The full name of the contact person (first name + last name) or company.' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/default/field.field.paragraph.contact_role.field_email.yml b/config/default/field.field.paragraph.contact_role.field_email.yml new file mode 100644 index 0000000000..3ca0120a8a --- /dev/null +++ b/config/default/field.field.paragraph.contact_role.field_email.yml @@ -0,0 +1,19 @@ +uuid: 689bbc4c-b6ae-4da4-ae19-70f7ee2db870 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_email + - paragraphs.paragraphs_type.contact_role +id: paragraph.contact_role.field_email +field_name: field_email +entity_type: paragraph +bundle: contact_role +label: Email +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: email diff --git a/config/default/field.field.paragraph.contact_role.field_phone.yml b/config/default/field.field.paragraph.contact_role.field_phone.yml new file mode 100644 index 0000000000..46c0070b11 --- /dev/null +++ b/config/default/field.field.paragraph.contact_role.field_phone.yml @@ -0,0 +1,21 @@ +uuid: 316dbfbb-b0ea-4912-b46f-3e957c0cd5db +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_phone + - paragraphs.paragraphs_type.contact_role + module: + - telephone +id: paragraph.contact_role.field_phone +field_name: field_phone +entity_type: paragraph +bundle: contact_role +label: Phone +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: telephone diff --git a/config/default/field.field.paragraph.contact_role.field_role.yml b/config/default/field.field.paragraph.contact_role.field_role.yml new file mode 100644 index 0000000000..95d2aeeb5a --- /dev/null +++ b/config/default/field.field.paragraph.contact_role.field_role.yml @@ -0,0 +1,29 @@ +uuid: 24e88914-d53d-4be3-b168-c628a880da50 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_role + - paragraphs.paragraphs_type.contact_role + - taxonomy.vocabulary.project_role +id: paragraph.contact_role.field_role +field_name: field_role +entity_type: paragraph +bundle: contact_role +label: Role +description: 'Select the Role for this contact' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + project_role: project_role + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/default/field.storage.node.field_role_contact.yml b/config/default/field.storage.node.field_role_contact.yml new file mode 100644 index 0000000000..ec4ec87783 --- /dev/null +++ b/config/default/field.storage.node.field_role_contact.yml @@ -0,0 +1,21 @@ +uuid: 248932b1-aa6a-412d-9884-385b1ee8d8e6 +langcode: en +status: true +dependencies: + module: + - entity_reference_revisions + - node + - paragraphs +id: node.field_role_contact +field_name: field_role_contact +entity_type: node +type: entity_reference_revisions +settings: + target_type: paragraph +module: entity_reference_revisions +locked: false +cardinality: 5 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/default/field.storage.paragraph.field_email.yml b/config/default/field.storage.paragraph.field_email.yml new file mode 100644 index 0000000000..3d5eb337de --- /dev/null +++ b/config/default/field.storage.paragraph.field_email.yml @@ -0,0 +1,18 @@ +uuid: c2f459c3-eefe-4b66-9b16-df6004a38f57 +langcode: en +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_email +field_name: field_email +entity_type: paragraph +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.paragraph.field_phone.yml b/config/default/field.storage.paragraph.field_phone.yml new file mode 100644 index 0000000000..e1594704c6 --- /dev/null +++ b/config/default/field.storage.paragraph.field_phone.yml @@ -0,0 +1,19 @@ +uuid: d96c36b3-e05c-4555-9926-a1a15c865035 +langcode: en +status: true +dependencies: + module: + - paragraphs + - telephone +id: paragraph.field_phone +field_name: field_phone +entity_type: paragraph +type: telephone +settings: { } +module: telephone +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/default/field.storage.paragraph.field_role.yml b/config/default/field.storage.paragraph.field_role.yml new file mode 100644 index 0000000000..7255558577 --- /dev/null +++ b/config/default/field.storage.paragraph.field_role.yml @@ -0,0 +1,20 @@ +uuid: d40f5a92-61c8-4db0-a0b0-c5c2ff86a788 +langcode: en +status: true +dependencies: + module: + - paragraphs + - taxonomy +id: paragraph.field_role +field_name: field_role +entity_type: paragraph +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/config/default/language.content_settings.taxonomy_term.project_role.yml b/config/default/language.content_settings.taxonomy_term.project_role.yml new file mode 100644 index 0000000000..3b977f5274 --- /dev/null +++ b/config/default/language.content_settings.taxonomy_term.project_role.yml @@ -0,0 +1,11 @@ +uuid: cd6c49e4-1e5c-4f3b-bbd4-80b5f0431a24 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_role +id: taxonomy_term.project_role +target_entity_type_id: taxonomy_term +target_bundle: project_role +default_langcode: site_default +language_alterable: false diff --git a/config/default/paragraphs.paragraphs_type.contact_role.yml b/config/default/paragraphs.paragraphs_type.contact_role.yml new file mode 100644 index 0000000000..2504e91933 --- /dev/null +++ b/config/default/paragraphs.paragraphs_type.contact_role.yml @@ -0,0 +1,10 @@ +uuid: ed735985-3414-478a-9976-5911eaf228a8 +langcode: en +status: true +dependencies: { } +id: contact_role +label: 'Contact Role' +icon_uuid: null +icon_default: null +description: 'Component to track an individual or company and link to some other component or entity.' +behavior_plugins: { } diff --git a/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role.yml b/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role.yml new file mode 100644 index 0000000000..f261eacb74 --- /dev/null +++ b/config/default/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role.yml @@ -0,0 +1,14 @@ +uuid: d456547e-a0cb-4a3e-8e67-7305293caca4 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_role +id: taxonomy_vocabulary_project_role +entity_type_id: taxonomy_vocabulary +entity_id: project_role +action: page_not_found +allow_override: 0 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/config/default/taxonomy.vocabulary.project_role.yml b/config/default/taxonomy.vocabulary.project_role.yml new file mode 100644 index 0000000000..82b5040da2 --- /dev/null +++ b/config/default/taxonomy.vocabulary.project_role.yml @@ -0,0 +1,9 @@ +uuid: 6354c7ab-2909-453d-83d9-da5f67c73f61 +langcode: en +status: true +dependencies: { } +name: 'Project Role' +vid: project_role +description: 'List of roles that are related to Project personnel or vendors.' +weight: 0 +new_revision: false diff --git a/docroot/modules/custom/bos_components/modules/bos_geocoder/readme.md b/docroot/modules/custom/bos_components/modules/bos_geocoder/readme.md new file mode 100644 index 0000000000..3a92439037 --- /dev/null +++ b/docroot/modules/custom/bos_components/modules/bos_geocoder/readme.md @@ -0,0 +1,35 @@ +# Geocoder Utility +This module allows forward (address->co-ords) and reverse (co-ords->address) lookups +for addresses from the CoB ArcGIS and/or from Google (GCP) Geocoders. + +The module can be configured to use either service, or set up to query ArcGIS +first, and use Google as a fall-back. + +## Use + +The query of the geocoders is performed in Drupal services. Drupal (PHP) code +can utilize these services (classes) and perform server-side processes to +query address information directly. +- To use the ArcGIS geocoder only, use the class `Drupal\bos_geocoder\Services\ArcGisGeocoder`. +- To use the GCP geocoder only, use the class `Drupal\bos_google_cloud\Services\GcGeocoder` (bos_google_cloud service) +- To use the ArcGis with fallback to GCP, use `Drupal\bos_geocoder\Controller\BosGeocodeController` + +### REST +This utility configured as an endpoint/microservice, to make geocoding available +to front-end (javascript) Ajax calls. However, the server-side can also leverage this +using Curl/Guzzle from a pre-process/validation hook/callback or an entity event. + +# Geocoder Services +## ArcGIS +CoB maintain a directory of Geocode information which can be accessed by: +- Street Address (inc postcode) -> Map Co-ords +- Parcel # -> Map Co-ords +- Map Co-ordinates -> Street Address + +_This service only operates for addresses in the City of Boston metropolitan area._ +## Google +The Google geocode service allows +- US_wide (& global?) Street Address (inc postcode) -> Map Co-ords +- Map Co-ordinates -> Street Address +_This service is paid-for and there is a small cost per lookup._ + diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml index a1f88026d8..02329c2c37 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml @@ -3,8 +3,7 @@ status: true dependencies: config: - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email - field.field.node.project.field_phone_number @@ -15,10 +14,10 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood - node.type.project - workflows.workflow.city_of_boston_workflows @@ -32,9 +31,9 @@ dependencies: - geolocation - geolocation_geometry - media_library + - paragraphs - path - publication_date - - telephone - text third_party_settings: field_group: @@ -95,8 +94,9 @@ third_party_settings: required_fields: true group_project_information: children: - - sticky - - group_project_manager + - group_promote + - group_contactroles_wrapper + - field_components label: 'Additional Details' region: content parent_name: group_project @@ -180,43 +180,35 @@ third_party_settings: open: false description: "This section is auto-completed using City-originated GIS data. \r\nOnly override this if the property's location is not displayed correctly on maps." required_fields: true - group_project_manager: + group_promote: children: - - field_bh_project_manager_name - - group_pmcontact - label: '' + - sticky + label: Promote region: content parent_name: group_project_information - weight: 40 + weight: 20 format_type: fieldset format_settings: classes: '' show_empty_fields: false id: '' label_as_html: false - description: '' - required_fields: false - group_pmcontact: + description: 'Options to promote this Project on the site.' + required_fields: true + group_contactroles_wrapper: children: - - field_project_manager_email - - field_bh_project_manger_phone - label: PMContact + - field_role_contact + label: 'Role Contacts' region: content - parent_name: group_project_manager - weight: 43 - format_type: html_element + parent_name: group_project_information + weight: 21 + format_type: fieldset format_settings: - classes: project-manager-contact-grid + classes: 'rolecontacts-wrapper no-title' show_empty_fields: false id: '' label_as_html: false - element: div - show_label: false - label_element: h3 - label_element_classes: '' - attributes: '' - effect: none - speed: fast + description: '' required_fields: true id: node.project.default targetEntityType: node @@ -239,20 +231,24 @@ content: region: content settings: { } third_party_settings: { } - field_bh_project_manager_name: - type: string_textfield - weight: 40 - region: content - settings: - size: 60 - placeholder: '' - third_party_settings: { } - field_bh_project_manger_phone: - type: telephone_default - weight: 42 + field_components: + type: paragraphs + weight: 23 region: content settings: - placeholder: '' + title: 'Article Component' + title_plural: 'Article Components' + edit_mode: closed + closed_mode: summary + autocollapse: all + closed_mode_threshold: 0 + add_mode: dropdown + form_display_mode: default + default_paragraph_type: _none + features: + add_above: '0' + collapse_edit_all: collapse_edit_all + duplicate: duplicate third_party_settings: { } field_contact: type: entity_reference_autocomplete @@ -332,14 +328,6 @@ content: settings: media_types: { } third_party_settings: { } - field_project_manager_email: - type: email_default - weight: 41 - region: content - settings: - placeholder: '' - size: 60 - third_party_settings: { } field_project_stage: type: options_select weight: 24 @@ -358,6 +346,26 @@ content: region: content settings: { } third_party_settings: { } + field_role_contact: + type: paragraphs + weight: 22 + region: content + settings: + title: Contact + title_plural: Contacts + edit_mode: closed + closed_mode: summary + autocollapse: none + closed_mode_threshold: 0 + add_mode: button + form_display_mode: default + default_paragraph_type: _none + features: + add_above: '0' + collapse_edit_all: collapse_edit_all + convert: '0' + duplicate: duplicate + third_party_settings: { } field_single_neighborhood: type: options_select weight: 29 @@ -405,7 +413,7 @@ content: third_party_settings: { } sticky: type: boolean_checkbox - weight: 38 + weight: 21 region: content settings: display_label: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.paragraph.contact_role.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.paragraph.contact_role.default.yml new file mode 100644 index 0000000000..404670b80a --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.paragraph.contact_role.default.yml @@ -0,0 +1,84 @@ +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.contact_role.field_company_name + - field.field.paragraph.contact_role.field_email + - field.field.paragraph.contact_role.field_phone + - field.field.paragraph.contact_role.field_role + - paragraphs.paragraphs_type.contact_role + module: + - field_group + - telephone +third_party_settings: + field_group: + group_contact_method: + children: + - field_email + - field_phone + label: 'Contact Method' + region: content + parent_name: group_role + weight: 3 + format_type: fieldset + format_settings: + classes: rolecontact-details-grid + show_empty_fields: false + id: '' + label_as_html: false + description: '' + required_fields: true + group_role: + children: + - field_company_name + - field_role + - group_contact_method + label: '' + region: content + parent_name: '' + weight: 0 + format_type: fieldset + format_settings: + classes: rolecontact-wrapper + show_empty_fields: false + id: '' + label_as_html: false + description: '' + required_fields: true +id: paragraph.contact_role.default +targetEntityType: paragraph +bundle: contact_role +mode: default +content: + field_company_name: + type: string_textfield + weight: 1 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_email: + type: email_default + weight: 3 + region: content + settings: + placeholder: '' + size: 60 + third_party_settings: { } + field_phone: + type: telephone_default + weight: 4 + region: content + settings: + placeholder: '' + third_party_settings: { } + field_role: + type: options_select + weight: 2 + region: content + settings: { } + third_party_settings: { } +hidden: + created: true + status: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_role.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_role.default.yml new file mode 100644 index 0000000000..1f36e28b2a --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_role.default.yml @@ -0,0 +1,23 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_role +id: taxonomy_term.project_role.default +targetEntityType: taxonomy_term +bundle: project_role +mode: default +content: + name: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + description: true + langcode: true + path: true + status: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml index 5e113392be..deacec516f 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml @@ -4,8 +4,7 @@ dependencies: config: - core.entity_view_mode.node.card - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email - field.field.node.project.field_phone_number @@ -16,10 +15,10 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood - node.type.project module: @@ -56,8 +55,7 @@ content: weight: 100 region: content hidden: - field_bh_project_manager_name: true - field_bh_project_manger_phone: true + field_components: true field_contact: true field_email: true field_project_address: true @@ -67,10 +65,10 @@ hidden: field_project_date: true field_project_features: true field_project_image: true - field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true + field_role_contact: true field_single_neighborhood: true langcode: true published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml index aeaa373101..2e0a7fc52b 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml @@ -4,8 +4,7 @@ dependencies: config: - core.entity_view_mode.node.featured_item - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email - field.field.node.project.field_phone_number @@ -16,10 +15,10 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood - node.type.project module: @@ -41,8 +40,7 @@ content: region: content hidden: body: true - field_bh_project_manager_name: true - field_bh_project_manger_phone: true + field_components: true field_contact: true field_email: true field_phone_number: true @@ -53,10 +51,10 @@ hidden: field_project_date: true field_project_features: true field_project_image: true - field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true + field_role_contact: true field_single_neighborhood: true langcode: true published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml index 36c707ed62..8cad261b12 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml @@ -4,8 +4,7 @@ dependencies: config: - core.entity_view_mode.node.grid_item - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email - field.field.node.project.field_phone_number @@ -16,10 +15,10 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood - node.type.project module: @@ -48,8 +47,7 @@ content: weight: 100 region: content hidden: - field_bh_project_manager_name: true - field_bh_project_manger_phone: true + field_components: true field_contact: true field_email: true field_phone_number: true @@ -60,10 +58,10 @@ hidden: field_project_date: true field_project_features: true field_project_image: true - field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true + field_role_contact: true field_single_neighborhood: true langcode: true published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.paragraph.contact_role.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.paragraph.contact_role.default.yml new file mode 100644 index 0000000000..1ed11ec681 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.paragraph.contact_role.default.yml @@ -0,0 +1,45 @@ +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.contact_role.field_company_name + - field.field.paragraph.contact_role.field_email + - field.field.paragraph.contact_role.field_phone + - field.field.paragraph.contact_role.field_role + - paragraphs.paragraphs_type.contact_role +id: paragraph.contact_role.default +targetEntityType: paragraph +bundle: contact_role +mode: default +content: + field_company_name: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 0 + region: content + field_email: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 2 + region: content + field_phone: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 3 + region: content + field_role: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 1 + region: content +hidden: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manager_name.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manager_name.yml deleted file mode 100644 index 9d26b736e9..0000000000 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manager_name.yml +++ /dev/null @@ -1,18 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_bh_project_manager_name - - node.type.project -id: node.project.field_bh_project_manager_name -field_name: field_bh_project_manager_name -entity_type: node -bundle: project -label: 'Project Manager Name' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manger_phone.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manger_phone.yml deleted file mode 100644 index 76b8897491..0000000000 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_bh_project_manger_phone.yml +++ /dev/null @@ -1,20 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_bh_project_manger_phone - - node.type.project - module: - - telephone -id: node.project.field_bh_project_manger_phone -field_name: field_bh_project_manger_phone -entity_type: node -bundle: project -label: 'Project Manger Phone' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: telephone diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_components.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_components.yml new file mode 100644 index 0000000000..c9dad1fb3d --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_components.yml @@ -0,0 +1,294 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_components + - node.type.project + - paragraphs.paragraphs_type.branded_links + - paragraphs.paragraphs_type.cabinet + - paragraphs.paragraphs_type.charts + - paragraphs.paragraphs_type.drawers + - paragraphs.paragraphs_type.events_and_notices + - paragraphs.paragraphs_type.fyi + - paragraphs.paragraphs_type.grid_of_cards + - paragraphs.paragraphs_type.grid_of_people + - paragraphs.paragraphs_type.group_of_links_grid + - paragraphs.paragraphs_type.group_of_links_list + - paragraphs.paragraphs_type.group_of_links_mini_grid + - paragraphs.paragraphs_type.group_of_links_quick_links + - paragraphs.paragraphs_type.list + - paragraphs.paragraphs_type.news_and_announcements + - paragraphs.paragraphs_type.newsletter + - paragraphs.paragraphs_type.photo + - paragraphs.paragraphs_type.text + - paragraphs.paragraphs_type.transaction_grid + - paragraphs.paragraphs_type.video + module: + - entity_reference_revisions +id: node.project.field_components +field_name: field_components +entity_type: node +bundle: project +label: 'Additional Page Components' +description: 'Add additional components to display Project related information (will show below the main Project Information).' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + branded_links: branded_links + cabinet: cabinet + charts: charts + drawers: drawers + events_and_notices: events_and_notices + text: text + fyi: fyi + grid_of_cards: grid_of_cards + grid_of_people: grid_of_people + group_of_links_grid: group_of_links_grid + group_of_links_list: group_of_links_list + group_of_links_mini_grid: group_of_links_mini_grid + group_of_links_quick_links: group_of_links_quick_links + list: list + news_and_announcements: news_and_announcements + newsletter: newsletter + photo: photo + transaction_grid: transaction_grid + video: video + negate: 0 + target_bundles_drag_drop: + 3_column_w_image: + weight: -96 + enabled: false + bid: + weight: -95 + enabled: false + bos311: + weight: -94 + enabled: false + bos_chart: + weight: -90 + enabled: false + bos_node_search: + weight: -37 + enabled: false + bos_signup_emergency_alerts: + weight: -34 + enabled: false + branded_links: + weight: -93 + enabled: true + cabinet: + weight: -92 + enabled: true + card: + weight: -91 + enabled: false + charts: + weight: -89 + enabled: true + city_score_dashboard: + weight: -90 + enabled: false + columns: + weight: -29 + enabled: false + commission_contact_info: + weight: -89 + enabled: false + commission_members: + weight: -88 + enabled: false + commission_search: + weight: -87 + enabled: false + commission_summary: + weight: -86 + enabled: false + custom_hours_text: + weight: -85 + enabled: false + daily_hours: + weight: -84 + enabled: false + discussion_topic: + weight: -83 + enabled: false + document: + weight: -82 + enabled: false + drawer: + weight: -81 + enabled: false + drawers: + weight: -80 + enabled: true + election_area_results: + weight: -79 + enabled: false + election_candidate_results: + weight: -78 + enabled: false + election_card: + weight: -77 + enabled: false + election_contest_results: + weight: -76 + enabled: false + election_results: + weight: -75 + enabled: false + embed_view: + weight: -74 + enabled: false + events_and_notices: + weight: -73 + enabled: true + external_link: + weight: -72 + enabled: false + featured_topics: + weight: -71 + enabled: false + from_library: + weight: -69 + enabled: false + fyi: + weight: -68 + enabled: true + gol_list_links: + weight: -47 + enabled: false + grid_links: + weight: -67 + enabled: false + grid_of_cards: + weight: -66 + enabled: true + grid_of_people: + weight: -64 + enabled: true + grid_of_places: + weight: -63 + enabled: false + grid_of_programs_initiatives: + weight: -62 + enabled: false + grid_of_quotes: + weight: -61 + enabled: false + grid_of_topics: + weight: -65 + enabled: false + group_of_links_grid: + weight: -60 + enabled: true + group_of_links_list: + weight: -59 + enabled: true + group_of_links_mini_grid: + weight: -58 + enabled: true + group_of_links_quick_links: + weight: -57 + enabled: true + header_text: + weight: -56 + enabled: false + hero_image: + weight: -53 + enabled: false + how_to_contact_step: + weight: -54 + enabled: false + how_to_tab: + weight: -53 + enabled: false + how_to_text_step: + weight: -52 + enabled: false + iframe: + weight: -51 + enabled: false + internal_link: + weight: -50 + enabled: false + lightbox_link: + weight: -49 + enabled: false + list: + weight: -48 + enabled: true + map: + weight: -46 + enabled: false + message_for_the_day: + weight: -45 + enabled: false + news_and_announcements: + weight: -44 + enabled: true + newsletter: + weight: -43 + enabled: true + photo: + weight: -41 + enabled: true + project_contact: + weight: 137 + enabled: false + quote: + weight: -40 + enabled: false + roll_call_vote: + weight: -39 + enabled: false + seamless_doc: + weight: -38 + enabled: false + sidebar_item: + weight: -36 + enabled: false + sidebar_item_w_icon: + weight: -35 + enabled: false + social_media_links: + weight: -31 + enabled: false + social_networking: + weight: -33 + enabled: false + status_overrides: + weight: -32 + enabled: false + tabbed_content_tab: + weight: -30 + enabled: false + text: + weight: -70 + enabled: true + text_one_column: + weight: -42 + enabled: false + text_three_column: + weight: -28 + enabled: false + text_two_column: + weight: -25 + enabled: false + transaction_grid: + weight: -26 + enabled: true + transactions: + weight: -25 + enabled: false + video: + weight: -24 + enabled: true + web_app: + weight: -23 + enabled: false +field_type: entity_reference_revisions diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_role_contact.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_role_contact.yml new file mode 100644 index 0000000000..602c606c5d --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_role_contact.yml @@ -0,0 +1,258 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_role_contact + - node.type.project + - paragraphs.paragraphs_type.contact_role + module: + - entity_reference_revisions +id: node.project.field_role_contact +field_name: field_role_contact +entity_type: node +bundle: project +label: 'Project Roles' +description: 'Create up to 5 Role-based contacts for this Project.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + contact_role: contact_role + negate: 0 + target_bundles_drag_drop: + 3_column_w_image: + weight: 78 + enabled: false + bid: + weight: 79 + enabled: false + bos311: + weight: 80 + enabled: false + bos_chart: + weight: 81 + enabled: false + bos_node_search: + weight: 140 + enabled: false + bos_signup_emergency_alerts: + weight: 143 + enabled: false + branded_links: + weight: 82 + enabled: false + cabinet: + weight: 83 + enabled: false + card: + weight: 84 + enabled: false + charts: + weight: 85 + enabled: false + city_score_dashboard: + weight: 86 + enabled: false + columns: + weight: 148 + enabled: false + commission_contact_info: + weight: 87 + enabled: false + commission_members: + weight: 88 + enabled: false + commission_search: + weight: 89 + enabled: false + commission_summary: + weight: 90 + enabled: false + contact_role: + weight: 91 + enabled: true + custom_hours_text: + weight: 92 + enabled: false + daily_hours: + weight: 93 + enabled: false + discussion_topic: + weight: 94 + enabled: false + document: + weight: 95 + enabled: false + drawer: + weight: 96 + enabled: false + drawers: + weight: 97 + enabled: false + election_area_results: + weight: 98 + enabled: false + election_candidate_results: + weight: 99 + enabled: false + election_card: + weight: 100 + enabled: false + election_contest_results: + weight: 101 + enabled: false + election_results: + weight: 102 + enabled: false + embed_view: + weight: 103 + enabled: false + events_and_notices: + weight: 104 + enabled: false + external_link: + weight: 105 + enabled: false + featured_topics: + weight: 106 + enabled: false + from_library: + weight: 108 + enabled: false + fyi: + weight: 109 + enabled: false + gol_list_links: + weight: 110 + enabled: false + grid_links: + weight: 111 + enabled: false + grid_of_cards: + weight: 112 + enabled: false + grid_of_people: + weight: 113 + enabled: false + grid_of_places: + weight: 114 + enabled: false + grid_of_programs_initiatives: + weight: 115 + enabled: false + grid_of_quotes: + weight: 116 + enabled: false + grid_of_topics: + weight: 117 + enabled: false + group_of_links_grid: + weight: 118 + enabled: false + group_of_links_list: + weight: 119 + enabled: false + group_of_links_mini_grid: + weight: 120 + enabled: false + group_of_links_quick_links: + weight: 121 + enabled: false + header_text: + weight: 122 + enabled: false + hero_image: + weight: 123 + enabled: false + how_to_contact_step: + weight: 124 + enabled: false + how_to_tab: + weight: 125 + enabled: false + how_to_text_step: + weight: 126 + enabled: false + iframe: + weight: 127 + enabled: false + internal_link: + weight: 128 + enabled: false + lightbox_link: + weight: 129 + enabled: false + list: + weight: 130 + enabled: false + map: + weight: 131 + enabled: false + message_for_the_day: + weight: 132 + enabled: false + news_and_announcements: + weight: 134 + enabled: false + newsletter: + weight: 133 + enabled: false + photo: + weight: 136 + enabled: false + quote: + weight: 137 + enabled: false + roll_call_vote: + weight: 138 + enabled: false + seamless_doc: + weight: 139 + enabled: false + sidebar_item: + weight: 141 + enabled: false + sidebar_item_w_icon: + weight: 142 + enabled: false + social_media_links: + weight: 144 + enabled: false + social_networking: + weight: 145 + enabled: false + status_overrides: + weight: 146 + enabled: false + tabbed_content_tab: + weight: 147 + enabled: false + text: + weight: 107 + enabled: false + text_one_column: + weight: 135 + enabled: false + text_three_column: + weight: 149 + enabled: false + text_two_column: + weight: 150 + enabled: false + transaction_grid: + weight: 152 + enabled: false + transactions: + weight: 151 + enabled: false + video: + weight: 153 + enabled: false + web_app: + weight: 154 + enabled: false +field_type: entity_reference_revisions diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_company_name.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_company_name.yml new file mode 100644 index 0000000000..0c5827cc4f --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_company_name.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_company_name + - paragraphs.paragraphs_type.contact_role +id: paragraph.contact_role.field_company_name +field_name: field_company_name +entity_type: paragraph +bundle: contact_role +label: 'Contact Name' +description: 'The full name of the contact person (first name + last name) or company.' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_email.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_email.yml new file mode 100644 index 0000000000..77c976c1fa --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_email.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_email + - paragraphs.paragraphs_type.contact_role +id: paragraph.contact_role.field_email +field_name: field_email +entity_type: paragraph +bundle: contact_role +label: Email +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: email diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_phone.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_phone.yml new file mode 100644 index 0000000000..b041f403ce --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_phone.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_phone + - paragraphs.paragraphs_type.contact_role + module: + - telephone +id: paragraph.contact_role.field_phone +field_name: field_phone +entity_type: paragraph +bundle: contact_role +label: Phone +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: telephone diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_role.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_role.yml new file mode 100644 index 0000000000..6a82eba7de --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_role.yml @@ -0,0 +1,28 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_role + - paragraphs.paragraphs_type.contact_role + - taxonomy.vocabulary.project_role +id: paragraph.contact_role.field_role +field_name: field_role +entity_type: paragraph +bundle: contact_role +label: Role +description: 'Select the Role for this contact' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + project_role: project_role + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_role_contact.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_role_contact.yml new file mode 100644 index 0000000000..c1a5d2b66e --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_role_contact.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + module: + - entity_reference_revisions + - node + - paragraphs +id: node.field_role_contact +field_name: field_role_contact +entity_type: node +type: entity_reference_revisions +settings: + target_type: paragraph +module: entity_reference_revisions +locked: false +cardinality: 5 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_email.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_email.yml new file mode 100644 index 0000000000..617daa39a4 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_email.yml @@ -0,0 +1,17 @@ +langcode: en +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_email +field_name: field_email +entity_type: paragraph +type: email +settings: { } +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_phone.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_phone.yml new file mode 100644 index 0000000000..77c0a403b1 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_phone.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + module: + - paragraphs + - telephone +id: paragraph.field_phone +field_name: field_phone +entity_type: paragraph +type: telephone +settings: { } +module: telephone +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_role.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_role.yml new file mode 100644 index 0000000000..12d59abf07 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_role.yml @@ -0,0 +1,19 @@ +langcode: en +status: true +dependencies: + module: + - paragraphs + - taxonomy +id: paragraph.field_role +field_name: field_role +entity_type: paragraph +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/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_role.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_role.yml new file mode 100644 index 0000000000..38691fdbfe --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_role.yml @@ -0,0 +1,10 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_role +id: taxonomy_term.project_role +target_entity_type_id: taxonomy_term +target_bundle: project_role +default_langcode: site_default +language_alterable: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/paragraphs.paragraphs_type.contact_role.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/paragraphs.paragraphs_type.contact_role.yml new file mode 100644 index 0000000000..6a452ddb20 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/paragraphs.paragraphs_type.contact_role.yml @@ -0,0 +1,9 @@ +langcode: en +status: true +dependencies: { } +id: contact_role +label: 'Contact Role' +icon_uuid: null +icon_default: null +description: 'Component to track an individual or company and link to some other component or entity.' +behavior_plugins: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role.yml new file mode 100644 index 0000000000..06dc437065 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role.yml @@ -0,0 +1,13 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.project_role +id: taxonomy_vocabulary_project_role +entity_type_id: taxonomy_vocabulary +entity_id: project_role +action: page_not_found +allow_override: 0 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_role.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_role.yml new file mode 100644 index 0000000000..1eb6b7f3bf --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_role.yml @@ -0,0 +1,8 @@ +langcode: en +status: true +dependencies: { } +name: 'Project Role' +vid: project_role +description: 'List of roles that are related to Project personnel or vendors.' +weight: 0 +new_revision: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml index e69f6498db..31d40f1c15 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml @@ -16,6 +16,7 @@ config_devel: - field.storage.node.field_project_type - field.storage.node.field_project_stage - field.storage.node.field_project_features + - field.storage.node.field_role_contact - field.field.node.project.body - field.field.node.project.field_project_image - field.field.node.project.field_project_date @@ -24,16 +25,15 @@ config_devel: - field.field.node.project.field_project_address - field.field.node.project.field_phone_number - field.field.node.project.field_email - - field.field.node.project.field_bh_project_manager_name - field.field.node.project.field_project_year - field.field.node.project.field_contact - field.field.node.project.field_single_neighborhood - field.field.node.project.field_project_features - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - - field.field.node.project.field_bh_project_manger_phone - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_cost + - field.field.node.project.field_role_contact + - field.field.node.project.field_components - core.base_field_override.node.project.title - core.base_field_override.node.project.promote - core.entity_form_display.taxonomy_term.project_features.default @@ -70,3 +70,23 @@ config_devel: - taxonomy.vocabulary.project_features - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features - language.content_settings.taxonomy_term.project_features + + - taxonomy.vocabulary.project_role + - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role + - language.content_settings.taxonomy_term.project_role + - core.entity_form_display.taxonomy_term.project_role.default + + - paragraphs.paragraphs_type.contact_role + - field.storage.paragraph.field_email + - field.field.paragraph.contact_role.field_email + - field.field.paragraph.contact_role.field_company_name + - field.storage.paragraph.field_role + - field.field.paragraph.contact_role.field_role + - field.storage.paragraph.field_phone + - field.field.paragraph.contact_role.field_phone + - core.entity_view_display.paragraph.contact_role.default + - core.entity_form_display.paragraph.contact_role.default + + + + diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.module b/docroot/modules/custom/bos_content/modules/node_project/node_project.module index 75435fdf88..cda4b35f63 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/node_project.module +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.module @@ -8,6 +8,13 @@ */ +use Drupal\bos_geocoder\Controller\BosGeocoderController; +use Drupal\bos_geocoder\Utility\BosGeoAddress; +use Drupal\Core\Ajax\AjaxResponse; +use Drupal\Core\Ajax\HtmlCommand; +use Drupal\Core\Ajax\InvokeCommand; +use Drupal\Core\Form\FormStateInterface; + function node_project_theme() { return [ 'node__project' => [ @@ -16,3 +23,71 @@ function node_project_theme() { ], ]; } + +/** + * Implements hook_preprocess_HOOK(). + */ +function node_project_preprocess_form(&$variables) { +} + +/** + * Implements hook_form_alter(). + */ +function node_project_form_node_project_form_alter(&$form, FormStateInterface $form_state, $form_id) { + $ajax = [ + "callback" => '_ajax_cb_geocode', + "event" => "click", + "wrapper" => "edit-field-project-address-geolocatio-0-lat", + 'progress' => [ + 'type' => 'throbber', + 'message' => t('Fetching Geocode data...'), + ] + ]; + $form['field_project_address']['widget'][0]['geo'] = [ + '#type' => 'button', + '#value' => t('Fetch Geo-data'), + '#name' => 'field_address_ajax_submit', + '#ajax' => $ajax, + '#prefix' => '
', + '#suffix' => '
', + ]; + $form['field_project_address']['widget'][0]['geotxt'] = [ + '#markup' => "", + ]; +} + +function _ajax_cb_geocode(array $form, FormStateInterface $form_state) { + + $response = new AjaxResponse(); + $address = $form_state->getUserInput()["field_project_address"][0]['address'] ?? []; + $neighborhood = $form_state->getUserInput()["field_single_neighborhood"] ?? "_none"; + + if ($address["address_line1"] == "" || $address["postal_code"] == "") { + $response->addCommand(new HtmlCommand( + '#geotxt', + "
Error: To fetch a GIS locator, an address and zipcode are required.
" + )); + } + else { + $_address = new BosGeoAddress( + address: $address["address_line1"] . " " . $address["address_line2"] ?? "", + neighborhood: $neighborhood == "_none" ? "" : $neighborhood, + zip: $address["postal_code"] ?? "", + country: $address["country_code"] + ); + $geo = new BosGeocoderController($_address); + $result = $geo->geocode($geo::AREA_BOSTON_ONLY); + $response->addCommand(new InvokeCommand( + '#edit-field-project-address-geolocatio-0-lat', + "val", + [$result->location()->lat()] + )); + $response->addCommand(new InvokeCommand( + '#edit-field-project-address-geolocatio-0-lng', + "val", + [$result->location()->long()] + )); + + } + return $response; +} diff --git a/docroot/themes/custom/bos_admin/css/bos_admin.css b/docroot/themes/custom/bos_admin/css/bos_admin.css index 6074a78062..1710d3cacf 100644 --- a/docroot/themes/custom/bos_admin/css/bos_admin.css +++ b/docroot/themes/custom/bos_admin/css/bos_admin.css @@ -1197,80 +1197,82 @@ What: Helper for status_display preview - restricts icon sizing. margin-right: 0; margin-left: auto; } -@media screen and (min-width: 840px) -.g--6:last-child { - margin-right: 0; -} -@media screen and (min-width: 840px) -.g--6:nth-child(1n) { - margin-right: 1.5rem; - margin-left: 0; -} -.g--6:last-child { - margin-right: 0; -} -.g--6:nth-child(1n) { - margin-right: 24px; - margin-right: 1.5rem; - margin-left: 0; -} -@media screen and (min-width: 840px) -.g--6 { - -webkit-box-flex: 0; - -ms-flex-positive: 0; - flex-grow: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -ms-flex-preferred-size: calc(99.9% * 6/12 - 0.75rem); - flex-basis: calc(99.9% * 6/12 - 0.75rem); - max-width: calc(99.9% * 6/12 - 0.75rem); - width: calc(99.9% * 6/12 - 0.75rem); -} -.cds-l { - background-color: #fff; - display: -webkit-box; - display: -ms-flexbox; - -js-display: flex; - display: flex; - text-align: left; - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: center; -} -.d-b { - display: block; -} -.cds-ic { - margin-left: auto; - margin-right: auto; - margin-bottom: 31px; - position: relative; - display: inline-block; - height: 65px; - width: 65px; -} -.cds-ic svg { - width: 65px; - height: 65px; -} -.cds-ia { - position: absolute; - top: -5px; - right: -5px; - max-width: 28px; - max-height: 28px +@media screen and (min-width: 840px) { + .g--6:last-child { + margin-right: 0; + } } -.cds-c { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; +@media screen and (min-width: 840px) { + .g--6:nth-child(1n) { + margin-right: 1.5rem; + margin-left: 0; + } + .g--6:last-child { + margin-right: 0; + } + .g--6:nth-child(1n) { + margin-right: 24px; + margin-right: 1.5rem; + margin-left: 0; + } } -.cds-t { - font-size: calc(14px + 2 * ((100vw - 420px) / 860)); - line-height: 1.1; +@media screen and (min-width: 840px) { + .g--6 { + -webkit-box-flex: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -ms-flex-preferred-size: calc(99.9% * 6 / 12 - 0.75rem); + flex-basis: calc(99.9% * 6 / 12 - 0.75rem); + max-width: calc(99.9% * 6 / 12 - 0.75rem); + width: calc(99.9% * 6 / 12 - 0.75rem); + } + .cds-l { + background-color: #fff; + display: -webkit-box; + display: -ms-flexbox; + -js-display: flex; + display: flex; + text-align: left; + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: center; + } + .d-b { + display: block; + } + .cds-ic { + margin-left: auto; + margin-right: auto; + margin-bottom: 31px; + position: relative; + display: inline-block; + height: 65px; + width: 65px; + } + .cds-ic svg { + width: 65px; + height: 65px; + } + .cds-ia { + position: absolute; + top: -5px; + right: -5px; + max-width: 28px; + max-height: 28px + } + .cds-c { + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; + } + .cds-t { + font-size: calc(14px + 2 * ((100vw - 420px) / 860)); + line-height: 1.1; + } } - .t--upper { text-transform: uppercase; } @@ -1317,7 +1319,7 @@ What: Creates a horizontally arranged group. @media screen and (max-width: 975px) { .cob-group-grid { flex-flow: column wrap; - max-width: available; + max-width: -webkit-fill-available; } } .cob-group-grid .form-wrapper { @@ -1593,6 +1595,7 @@ Hide default contact info } } +/** Main tabs layout **/ @media screen and (min-width: 780px), (orientation: landscape) and (min-device-height: 780px) { /* Make the content editor layout more responsive */ .bos_admin .layout-node-form { @@ -1601,9 +1604,10 @@ Hide default contact info } .bos_admin .layout-node-form .layout-region-node-main { width: 70%; + padding: 0; } .bos_admin .layout-node-form .layout-region-node-secondary { - width: 30%; + width: calc(30% - 30px); margin-top: 10px; } .bos_admin .layout-node-form .layout-region-node-footer { @@ -1644,6 +1648,16 @@ Hide default contact info .bos_admin .field--type-geolocation .form-wrapper .form-item { width : calc(50% - 20px); } +/** Role Contact component (contact_role paragraph) **/ +.bos_admin .rolecontact-details-grid .fieldset-wrapper { + display: flex; + flex-wrap: wrap; + margin: 0; + gap: 20px; +} +.bos_admin .rolecontact-details-grid .fieldset-wrapper .form-wrapper { + width : calc(50% - 20px); +} /** Fieldset Labels (legends) **/ .bos_admin .seven-details summary :not(.before), .bos_admin .form-wrapper .form-item label :not(label.option), @@ -1656,6 +1670,12 @@ Hide default contact info .bos_admin .layout-region-node-main .description { font-style: italic; } +.bos_admin fieldset.no-title { + padding-top: 0; +} +.bos_admin fieldset.no-title legend { + display: none; +} /** PROJECT content-type specific **/ .bos_admin .project-type-grid .fieldset-wrapper { From db1eadb8202c2dfe1e8be310ae2cee65f3a49e75 Mon Sep 17 00:00:00 2001 From: David Upton Date: Thu, 22 Aug 2024 15:47:59 -0400 Subject: [PATCH 09/14] DIG-4968 Updates fields in node_project + displays --- ...isplay.node.project.department_listing.yml | 69 ------------- ...tity_view_display.node.project.listing.yml | 98 ------------------- ...ntity_view_display.node.project.teaser.yml | 70 ------------- ...eld.node.project.field_project_concept.yml | 18 ---- ...de.project.field_project_manager_email.yml | 18 ---- ...se_field_override.node.project.promote.yml | 0 ...base_field_override.node.project.title.yml | 0 ...tity_form_display.node.project.default.yml | 6 +- ...display.paragraph.contact_role.default.yml | 0 ...taxonomy_term.project_features.default.yml | 0 ...lay.taxonomy_term.project_role.default.yml | 0 ...ay.taxonomy_term.project_stage.default.yml | 0 ...y.taxonomy_term.project_status.default.yml | 0 ...lay.taxonomy_term.project_type.default.yml | 0 ....entity_view_display.node.project.card.yml | 4 + ...tity_view_display.node.project.default.yml | 62 ++++++------ ...iew_display.node.project.featured_item.yml | 4 + ...ty_view_display.node.project.grid_item.yml | 4 + ...display.paragraph.contact_role.default.yml | 0 ...ay.taxonomy_term.project_stage.default.yml | 0 ...y.taxonomy_term.project_status.default.yml | 0 ...lay.taxonomy_term.project_type.default.yml | 0 .../field.field.node.project.body.yml | 0 ...ld.field.node.project.field_components.yml | 0 ...field.field.node.project.field_contact.yml | 0 .../field.field.node.project.field_cost.yml | 0 .../field.field.node.project.field_email.yml | 0 ....field.node.project.field_phone_number.yml | 0 ...eld.node.project.field_project_address.yml | 0 ...oject.field_project_address_geo_polygo.yml | 0 ...oject.field_project_address_geolocatio.yml | 0 ....field.node.project.field_project_cost.yml | 0 ....field.node.project.field_project_date.yml | 0 ...ld.node.project.field_project_features.yml | 0 ...field.node.project.field_project_image.yml | 0 ...field.node.project.field_project_stage.yml | 0 ....field.node.project.field_project_type.yml | 0 ....field.node.project.field_project_year.yml | 0 ....field.node.project.field_role_contact.yml | 0 ...node.project.field_single_neighborhood.yml | 0 ...agraph.contact_role.field_company_name.yml | 0 ...eld.paragraph.contact_role.field_email.yml | 0 ...eld.paragraph.contact_role.field_phone.yml | 0 ...ield.paragraph.contact_role.field_role.yml | 0 ...taxonomy_term.project_stage.field_icon.yml | 0 ...erm.project_stage.field_project_status.yml | 0 ...axonomy_term.project_status.field_icon.yml | 0 ....taxonomy_term.project_type.field_icon.yml | 0 ...eld.storage.node.field_project_address.yml | 0 ....node.field_project_address_geo_polygo.yml | 0 ....node.field_project_address_geolocatio.yml | 0 ...field.storage.node.field_project_cost.yml} | 9 +- .../field.storage.node.field_project_date.yml | 0 ...ld.storage.node.field_project_features.yml | 0 ...field.storage.node.field_project_image.yml | 0 ...field.storage.node.field_project_stage.yml | 0 .../field.storage.node.field_project_type.yml | 0 .../field.storage.node.field_project_year.yml | 0 .../field.storage.node.field_role_contact.yml | 0 .../field.storage.paragraph.field_email.yml | 0 .../field.storage.paragraph.field_phone.yml | 0 .../field.storage.paragraph.field_role.yml | 0 ...age.taxonomy_term.field_project_status.yml | 0 ...language.content_settings.node.project.yml | 0 ...ettings.taxonomy_term.project_features.yml | 0 ...nt_settings.taxonomy_term.project_role.yml | 0 ...t_settings.taxonomy_term.project_stage.yml | 0 ..._settings.taxonomy_term.project_status.yml | 0 ...nt_settings.taxonomy_term.project_type.yml | 0 .../node.type.project.yml | 0 ...aragraphs.paragraphs_type.contact_role.yml | 0 ...le.behavior_settings.node_type_project.yml | 0 ...s.taxonomy_vocabulary_project_features.yml | 0 ...tings.taxonomy_vocabulary_project_role.yml | 0 ...ings.taxonomy_vocabulary_project_stage.yml | 0 ...ngs.taxonomy_vocabulary_project_status.yml | 0 ...tings.taxonomy_vocabulary_project_type.yml | 0 .../taxonomy.vocabulary.project_features.yml | 0 .../taxonomy.vocabulary.project_role.yml | 0 .../taxonomy.vocabulary.project_stage.yml | 0 .../taxonomy.vocabulary.project_status.yml | 0 .../taxonomy.vocabulary.project_type.yml | 0 .../node_project/node_project.info.yml | 4 + 83 files changed, 54 insertions(+), 312 deletions(-) delete mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.department_listing.yml delete mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml delete mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml delete mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_concept.yml delete mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_manager_email.yml rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.base_field_override.node.project.promote.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.base_field_override.node.project.title.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_form_display.node.project.default.yml (98%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_form_display.paragraph.contact_role.default.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_form_display.taxonomy_term.project_features.default.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_form_display.taxonomy_term.project_role.default.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_form_display.taxonomy_term.project_stage.default.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_form_display.taxonomy_term.project_status.default.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_form_display.taxonomy_term.project_type.default.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_view_display.node.project.card.yml (93%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_view_display.node.project.default.yml (84%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_view_display.node.project.featured_item.yml (92%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_view_display.node.project.grid_item.yml (92%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_view_display.paragraph.contact_role.default.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_view_display.taxonomy_term.project_stage.default.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_view_display.taxonomy_term.project_status.default.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/core.entity_view_display.taxonomy_term.project_type.default.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.body.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_components.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_contact.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_cost.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_email.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_phone_number.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_project_address.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_project_address_geo_polygo.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_project_address_geolocatio.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_project_cost.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_project_date.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_project_features.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_project_image.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_project_stage.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_project_type.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_project_year.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_role_contact.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.node.project.field_single_neighborhood.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.paragraph.contact_role.field_company_name.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.paragraph.contact_role.field_email.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.paragraph.contact_role.field_phone.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.paragraph.contact_role.field_role.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.taxonomy_term.project_stage.field_icon.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.taxonomy_term.project_stage.field_project_status.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.taxonomy_term.project_status.field_icon.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.field.taxonomy_term.project_type.field_icon.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.storage.node.field_project_address.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.storage.node.field_project_address_geo_polygo.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.storage.node.field_project_address_geolocatio.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install/field.storage.node.field_project_concept.yml => optional/field.storage.node.field_project_cost.yml} (66%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.storage.node.field_project_date.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.storage.node.field_project_features.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.storage.node.field_project_image.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.storage.node.field_project_stage.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.storage.node.field_project_type.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.storage.node.field_project_year.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.storage.node.field_role_contact.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.storage.paragraph.field_email.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.storage.paragraph.field_phone.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.storage.paragraph.field_role.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/field.storage.taxonomy_term.field_project_status.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/language.content_settings.node.project.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/language.content_settings.taxonomy_term.project_features.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/language.content_settings.taxonomy_term.project_role.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/language.content_settings.taxonomy_term.project_stage.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/language.content_settings.taxonomy_term.project_status.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/language.content_settings.taxonomy_term.project_type.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/node.type.project.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/paragraphs.paragraphs_type.contact_role.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/rabbit_hole.behavior_settings.node_type_project.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/taxonomy.vocabulary.project_features.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/taxonomy.vocabulary.project_role.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/taxonomy.vocabulary.project_stage.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/taxonomy.vocabulary.project_status.yml (100%) rename docroot/modules/custom/bos_content/modules/node_project/config/{install => optional}/taxonomy.vocabulary.project_type.yml (100%) diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.department_listing.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.department_listing.yml deleted file mode 100644 index 5b29b83709..0000000000 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.department_listing.yml +++ /dev/null @@ -1,69 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - core.entity_view_mode.node.department_listing - - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone - - field.field.node.project.field_contact - - field.field.node.project.field_cost - - field.field.node.project.field_email - - field.field.node.project.field_phone_number - - field.field.node.project.field_project_address - - field.field.node.project.field_project_address_geo_polygo - - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept - - field.field.node.project.field_project_date - - field.field.node.project.field_project_features - - field.field.node.project.field_project_image - - field.field.node.project.field_project_stage - - field.field.node.project.field_project_type - - field.field.node.project.field_project_year - - field.field.node.project.field_single_neighborhood - - node.type.project - module: - - user -id: node.project.department_listing -targetEntityType: node -bundle: project -mode: department_listing -content: - content_moderation_control: - settings: { } - third_party_settings: { } - weight: -20 - region: content - field_phone_number: - type: string - label: hidden - settings: - link_to_entity: false - third_party_settings: { } - weight: 1 - region: content - links: - settings: { } - third_party_settings: { } - weight: 100 - region: content -hidden: - body: true - field_bh_project_manager_name: true - field_bh_project_manger_phone: true - field_contact: true - field_cost: true - field_email: true - field_project_address: true - field_project_address_geo_polygo: true - field_project_address_geolocatio: true - field_project_concept: true - field_project_date: true - field_project_features: true - field_project_image: true - field_project_stage: true - field_project_type: true - field_project_year: true - field_single_neighborhood: true - langcode: true - published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml deleted file mode 100644 index 8356cdd956..0000000000 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.listing.yml +++ /dev/null @@ -1,98 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - core.entity_view_mode.node.listing - - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone - - field.field.node.project.field_contact - - field.field.node.project.field_cost - - field.field.node.project.field_email - - field.field.node.project.field_phone_number - - field.field.node.project.field_project_address - - field.field.node.project.field_project_address_geo_polygo - - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept - - field.field.node.project.field_project_date - - field.field.node.project.field_project_features - - field.field.node.project.field_project_image - - field.field.node.project.field_project_stage - - field.field.node.project.field_project_type - - field.field.node.project.field_project_year - - field.field.node.project.field_single_neighborhood - - node.type.project - module: - - fences - - text - - user -id: node.project.listing -targetEntityType: node -bundle: project -mode: listing -content: - body: - type: text_default - label: hidden - settings: { } - third_party_settings: { } - weight: 101 - region: content - content_moderation_control: - settings: { } - third_party_settings: { } - weight: -20 - region: content - field_email: - type: string - label: hidden - settings: - link_to_entity: false - third_party_settings: { } - weight: 5 - region: content - field_phone_number: - type: string - label: hidden - settings: - link_to_entity: false - third_party_settings: { } - weight: 4 - region: content - field_single_neighborhood: - type: entity_reference_label - label: hidden - settings: - link: false - third_party_settings: - fences: - fences_field_tag: none - fences_field_classes: '' - fences_field_item_tag: none - fences_field_item_classes: '' - fences_label_tag: none - fences_label_classes: '' - weight: 2 - region: content - links: - settings: { } - third_party_settings: { } - weight: 100 - region: content -hidden: - field_bh_project_manager_name: true - field_bh_project_manger_phone: true - field_contact: true - field_cost: true - field_project_address: true - field_project_address_geo_polygo: true - field_project_address_geolocatio: true - field_project_concept: true - field_project_date: true - field_project_features: true - field_project_image: true - field_project_stage: true - field_project_type: true - field_project_year: true - langcode: true - published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml deleted file mode 100644 index 7d7b4dac5f..0000000000 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.teaser.yml +++ /dev/null @@ -1,70 +0,0 @@ -langcode: en -status: false -dependencies: - config: - - core.entity_view_mode.node.teaser - - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone - - field.field.node.project.field_contact - - field.field.node.project.field_cost - - field.field.node.project.field_email - - field.field.node.project.field_phone_number - - field.field.node.project.field_project_address - - field.field.node.project.field_project_address_geo_polygo - - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept - - field.field.node.project.field_project_date - - field.field.node.project.field_project_features - - field.field.node.project.field_project_image - - field.field.node.project.field_project_stage - - field.field.node.project.field_project_type - - field.field.node.project.field_project_year - - field.field.node.project.field_single_neighborhood - - node.type.project - module: - - text - - user -id: node.project.teaser -targetEntityType: node -bundle: project -mode: teaser -content: - body: - type: text_summary_or_trimmed - label: hidden - settings: - trim_length: 600 - third_party_settings: { } - weight: 101 - region: content - content_moderation_control: - settings: { } - third_party_settings: { } - weight: -20 - region: content - links: - settings: { } - third_party_settings: { } - weight: 100 - region: content -hidden: - field_bh_project_manager_name: true - field_bh_project_manger_phone: true - field_contact: true - field_cost: true - field_email: true - field_phone_number: true - field_project_address: true - field_project_address_geo_polygo: true - field_project_address_geolocatio: true - field_project_concept: true - field_project_date: true - field_project_features: true - field_project_image: true - field_project_stage: true - field_project_type: true - field_project_year: true - field_single_neighborhood: true - langcode: true - published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_concept.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_concept.yml deleted file mode 100644 index e8ee7dc1f9..0000000000 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_concept.yml +++ /dev/null @@ -1,18 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_project_concept - - node.type.project -id: node.project.field_project_concept -field_name: field_project_concept -entity_type: node -bundle: project -label: 'Project Concept' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string_long diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_manager_email.yml b/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_manager_email.yml deleted file mode 100644 index cf88cbe580..0000000000 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_manager_email.yml +++ /dev/null @@ -1,18 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_project_manager_email - - node.type.project -id: node.project.field_project_manager_email -field_name: field_project_manager_email -entity_type: node -bundle: project -label: 'Project Manager Email' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: email diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.base_field_override.node.project.promote.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.base_field_override.node.project.promote.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.base_field_override.node.project.promote.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.base_field_override.node.project.promote.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.base_field_override.node.project.title.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.base_field_override.node.project.title.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.base_field_override.node.project.title.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.base_field_override.node.project.title.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.node.project.default.yml similarity index 98% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.node.project.default.yml index 02329c2c37..ae548fbc52 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.node.project.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.node.project.default.yml @@ -5,6 +5,7 @@ dependencies: - field.field.node.project.body - field.field.node.project.field_components - field.field.node.project.field_contact + - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address @@ -14,6 +15,7 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -445,4 +447,6 @@ content: region: content settings: { } third_party_settings: { } -hidden: { } +hidden: + field_cost: true + field_project_manager_email: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.paragraph.contact_role.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.paragraph.contact_role.default.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.paragraph.contact_role.default.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.paragraph.contact_role.default.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_features.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_features.default.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_features.default.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_features.default.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_role.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_role.default.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_role.default.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_role.default.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_stage.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_stage.default.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_stage.default.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_stage.default.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_status.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_status.default.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_status.default.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_status.default.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_type.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_type.default.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_form_display.taxonomy_term.project_type.default.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_type.default.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.card.yml similarity index 93% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.card.yml index deacec516f..9ee93acbea 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.card.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.card.yml @@ -6,6 +6,7 @@ dependencies: - field.field.node.project.body - field.field.node.project.field_components - field.field.node.project.field_contact + - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address @@ -15,6 +16,7 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -57,6 +59,7 @@ content: hidden: field_components: true field_contact: true + field_cost: true field_email: true field_project_address: true field_project_address_geo_polygo: true @@ -65,6 +68,7 @@ hidden: field_project_date: true field_project_features: true field_project_image: true + field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.default.yml similarity index 84% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.default.yml index 63b47d5fd3..56533c467f 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.default.yml @@ -3,8 +3,7 @@ status: true dependencies: config: - field.field.node.project.body - - field.field.node.project.field_bh_project_manager_name - - field.field.node.project.field_bh_project_manger_phone + - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_cost - field.field.node.project.field_email @@ -12,18 +11,21 @@ dependencies: - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_concept + - field.field.node.project.field_project_cost - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood - node.type.project module: - address - datetime_range + - entity_reference_revisions - fences - geolocation - geolocation_geometry @@ -47,20 +49,14 @@ content: third_party_settings: { } weight: -20 region: content - field_bh_project_manager_name: - type: string - label: above + field_components: + type: entity_reference_revisions_entity_view + label: hidden settings: - link_to_entity: false - third_party_settings: { } - weight: 110 - region: content - field_bh_project_manger_phone: - type: basic_string - label: above - settings: { } + view_mode: full + link: '' third_party_settings: { } - weight: 111 + weight: 4 region: content field_contact: type: entity_reference_entity_view @@ -78,21 +74,6 @@ content: fences_label_classes: '' weight: 3 region: content - field_cost: - type: string - label: inline - settings: - link_to_entity: false - third_party_settings: - fences: - fences_field_tag: none - fences_field_classes: '' - fences_field_item_tag: div - fences_field_item_classes: 'detail-item__body detail-item__body--secondary' - fences_label_tag: none - fences_label_classes: '' - weight: 8 - region: content field_email: type: string label: hidden @@ -137,12 +118,14 @@ content: third_party_settings: { } weight: 106 region: content - field_project_concept: - type: basic_string + field_project_cost: + type: number_integer label: above - settings: { } + settings: + thousand_separator: '' + prefix_suffix: true third_party_settings: { } - weight: 102 + weight: 114 region: content field_project_date: type: daterange_default @@ -195,6 +178,15 @@ content: third_party_settings: { } weight: 109 region: content + field_role_contact: + type: entity_reference_revisions_entity_view + label: above + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 116 + region: content field_single_neighborhood: type: entity_reference_label label: inline @@ -216,5 +208,7 @@ content: weight: 100 region: content hidden: + field_cost: true + field_project_manager_email: true langcode: true published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.featured_item.yml similarity index 92% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.featured_item.yml index 2e0a7fc52b..8458b76fe0 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.featured_item.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.featured_item.yml @@ -6,6 +6,7 @@ dependencies: - field.field.node.project.body - field.field.node.project.field_components - field.field.node.project.field_contact + - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address @@ -15,6 +16,7 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -42,6 +44,7 @@ hidden: body: true field_components: true field_contact: true + field_cost: true field_email: true field_phone_number: true field_project_address: true @@ -51,6 +54,7 @@ hidden: field_project_date: true field_project_features: true field_project_image: true + field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.grid_item.yml similarity index 92% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.grid_item.yml index 8cad261b12..4a9f12100c 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.node.project.grid_item.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.grid_item.yml @@ -6,6 +6,7 @@ dependencies: - field.field.node.project.body - field.field.node.project.field_components - field.field.node.project.field_contact + - field.field.node.project.field_cost - field.field.node.project.field_email - field.field.node.project.field_phone_number - field.field.node.project.field_project_address @@ -15,6 +16,7 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image + - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -49,6 +51,7 @@ content: hidden: field_components: true field_contact: true + field_cost: true field_email: true field_phone_number: true field_project_address: true @@ -58,6 +61,7 @@ hidden: field_project_date: true field_project_features: true field_project_image: true + field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.paragraph.contact_role.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.paragraph.contact_role.default.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.paragraph.contact_role.default.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.paragraph.contact_role.default.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_stage.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.taxonomy_term.project_stage.default.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_stage.default.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.taxonomy_term.project_stage.default.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_status.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.taxonomy_term.project_status.default.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_status.default.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.taxonomy_term.project_status.default.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_type.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.taxonomy_term.project_type.default.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/core.entity_view_display.taxonomy_term.project_type.default.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.taxonomy_term.project_type.default.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.body.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.body.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.body.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.body.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_components.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_components.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_components.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_components.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_contact.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_contact.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_contact.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_contact.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_cost.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_cost.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_cost.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_cost.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_email.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_email.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_email.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_email.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_phone_number.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_phone_number.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_phone_number.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_phone_number.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_address.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_address.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address_geo_polygo.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_address_geo_polygo.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address_geo_polygo.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_address_geo_polygo.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address_geolocatio.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_address_geolocatio.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_address_geolocatio.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_address_geolocatio.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_cost.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_cost.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_cost.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_cost.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_date.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_date.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_date.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_date.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_features.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_features.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_features.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_features.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_image.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_image.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_image.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_image.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_stage.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_stage.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_stage.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_stage.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_type.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_type.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_type.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_type.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_year.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_year.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_project_year.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_project_year.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_role_contact.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_role_contact.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_role_contact.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_role_contact.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_single_neighborhood.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_single_neighborhood.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.node.project.field_single_neighborhood.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_single_neighborhood.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_company_name.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.paragraph.contact_role.field_company_name.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_company_name.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.paragraph.contact_role.field_company_name.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_email.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.paragraph.contact_role.field_email.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_email.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.paragraph.contact_role.field_email.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_phone.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.paragraph.contact_role.field_phone.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_phone.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.paragraph.contact_role.field_phone.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_role.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.paragraph.contact_role.field_role.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.paragraph.contact_role.field_role.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.paragraph.contact_role.field_role.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_stage.field_icon.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_stage.field_icon.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_stage.field_icon.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_stage.field_icon.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_stage.field_project_status.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_stage.field_project_status.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_stage.field_project_status.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_stage.field_project_status.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_status.field_icon.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_status.field_icon.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_status.field_icon.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_status.field_icon.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_type.field_icon.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_type.field_icon.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.field.taxonomy_term.project_type.field_icon.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_type.field_icon.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_address.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_address.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address_geo_polygo.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_address_geo_polygo.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address_geo_polygo.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_address_geo_polygo.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address_geolocatio.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_address_geolocatio.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_address_geolocatio.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_address_geolocatio.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_concept.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_cost.yml similarity index 66% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_concept.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_cost.yml index 971d622db5..3dece8f96f 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_concept.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_cost.yml @@ -3,12 +3,13 @@ status: true dependencies: module: - node -id: node.field_project_concept -field_name: field_project_concept +id: node.field_project_cost +field_name: field_project_cost entity_type: node -type: string_long +type: integer settings: - case_sensitive: false + unsigned: false + size: normal module: core locked: false cardinality: 1 diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_date.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_date.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_date.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_date.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_features.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_features.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_features.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_features.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_image.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_image.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_image.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_image.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_stage.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_stage.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_stage.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_stage.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_type.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_type.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_type.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_type.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_year.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_year.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_project_year.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_project_year.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_role_contact.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_role_contact.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.node.field_role_contact.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.node.field_role_contact.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_email.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.paragraph.field_email.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_email.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.paragraph.field_email.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_phone.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.paragraph.field_phone.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_phone.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.paragraph.field_phone.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_role.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.paragraph.field_role.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.paragraph.field_role.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.paragraph.field_role.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.taxonomy_term.field_project_status.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.taxonomy_term.field_project_status.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/field.storage.taxonomy_term.field_project_status.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.taxonomy_term.field_project_status.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.node.project.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/language.content_settings.node.project.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.node.project.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/language.content_settings.node.project.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_features.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/language.content_settings.taxonomy_term.project_features.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_features.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/language.content_settings.taxonomy_term.project_features.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_role.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/language.content_settings.taxonomy_term.project_role.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_role.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/language.content_settings.taxonomy_term.project_role.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_stage.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/language.content_settings.taxonomy_term.project_stage.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_stage.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/language.content_settings.taxonomy_term.project_stage.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_status.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/language.content_settings.taxonomy_term.project_status.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_status.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/language.content_settings.taxonomy_term.project_status.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_type.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/language.content_settings.taxonomy_term.project_type.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/language.content_settings.taxonomy_term.project_type.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/language.content_settings.taxonomy_term.project_type.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/node.type.project.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/node.type.project.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/node.type.project.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/node.type.project.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/paragraphs.paragraphs_type.contact_role.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/paragraphs.paragraphs_type.contact_role.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/paragraphs.paragraphs_type.contact_role.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/paragraphs.paragraphs_type.contact_role.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.node_type_project.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/rabbit_hole.behavior_settings.node_type_project.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.node_type_project.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/rabbit_hole.behavior_settings.node_type_project.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_features.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/taxonomy.vocabulary.project_features.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_features.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/taxonomy.vocabulary.project_features.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_role.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/taxonomy.vocabulary.project_role.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_role.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/taxonomy.vocabulary.project_role.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_stage.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/taxonomy.vocabulary.project_stage.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_stage.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/taxonomy.vocabulary.project_stage.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_status.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/taxonomy.vocabulary.project_status.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_status.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/taxonomy.vocabulary.project_status.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_type.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/taxonomy.vocabulary.project_type.yml similarity index 100% rename from docroot/modules/custom/bos_content/modules/node_project/config/install/taxonomy.vocabulary.project_type.yml rename to docroot/modules/custom/bos_content/modules/node_project/config/optional/taxonomy.vocabulary.project_type.yml diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml index 31d40f1c15..9569404b58 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml @@ -6,8 +6,10 @@ package: City of Boston (content) dependencies: - bos_content config_devel: + optional: - node.type.project - field.storage.node.field_project_image + - field.storage.node.field_project_cost - field.storage.node.field_project_date - field.storage.node.field_project_address_geo_polygo - field.storage.node.field_project_address_geolocatio @@ -18,6 +20,7 @@ config_devel: - field.storage.node.field_project_features - field.storage.node.field_role_contact - field.field.node.project.body + - field.field.node.project.field_cost - field.field.node.project.field_project_image - field.field.node.project.field_project_date - field.field.node.project.field_project_address_geo_polygo @@ -38,6 +41,7 @@ config_devel: - core.base_field_override.node.project.promote - core.entity_form_display.taxonomy_term.project_features.default - core.entity_form_display.node.project.default + - core.entity_view_display.node.project.default - core.entity_view_display.node.project.card - core.entity_view_display.node.project.grid_item - core.entity_view_display.node.project.featured_item From 631f55ac52a1a051a8cca26548b2e187289f6c03 Mon Sep 17 00:00:00 2001 From: David Upton Date: Fri, 23 Aug 2024 09:28:46 -0400 Subject: [PATCH 10/14] DIG-4968 Adds geolocation lookup to node edit form. --- .../bos_content/modules/node_project/node_project.module | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.module b/docroot/modules/custom/bos_content/modules/node_project/node_project.module index cda4b35f63..828a04c994 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/node_project.module +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.module @@ -34,6 +34,13 @@ function node_project_preprocess_form(&$variables) { * Implements hook_form_alter(). */ function node_project_form_node_project_form_alter(&$form, FormStateInterface $form_state, $form_id) { + _node_project_create_ajax($form); +} +function node_project_form_node_project_edit_form_alter(&$form, FormStateInterface $form_state, $form_id) { + _node_project_create_ajax($form); +} + +function _node_project_create_ajax(array &$form){ $ajax = [ "callback" => '_ajax_cb_geocode', "event" => "click", From 1bdb09885f997a133783e47d04b39932c939bfe2 Mon Sep 17 00:00:00 2001 From: David Upton Date: Mon, 26 Aug 2024 19:08:28 -0400 Subject: [PATCH 11/14] DIG-4968 Finalizing backend for now. subtask 4686 completed. --- ...tity_view_display.node.project.default.yml | 319 +++++++++++++- ...e.entity_view_display.node.project.map.yml | 388 ++++++++++++++++++ ...eolocation_google_static_maps.settings.yml | 3 + .../node_project/node_project.libraries.yml | 32 ++ .../modules/node_project/node_project.module | 117 +++++- .../templates/node--project--map.html.twig | 3 + .../templates/node--project.html.twig | 1 - 7 files changed, 854 insertions(+), 9 deletions(-) create mode 100644 config/default/core.entity_view_display.node.project.map.yml create mode 100644 config/default/geolocation_google_static_maps.settings.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/node_project.libraries.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/templates/node--project--map.html.twig diff --git a/config/default/core.entity_view_display.node.project.default.yml b/config/default/core.entity_view_display.node.project.default.yml index 09f19f77a7..526981d889 100644 --- a/config/default/core.entity_view_display.node.project.default.yml +++ b/config/default/core.entity_view_display.node.project.default.yml @@ -20,6 +20,7 @@ dependencies: - field.field.node.project.field_project_year - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood + - filter.format.plain_text - node.type.project module: - address @@ -111,10 +112,322 @@ content: weight: 107 region: content field_project_address_geolocatio: - type: geolocation_latlng + type: geolocation_map label: above - settings: { } - third_party_settings: { } + settings: + set_marker: true + show_label: false + common_map: true + show_delta_label: false + use_overridden_map_settings: false + title: '' + info_text: + value: '' + format: plain_text + centre: + fit_bounds: + enable: true + weight: -101 + settings: + reset_zoom: true + min_zoom: null + map_center_id: fit_bounds + client_location: + enable: false + weight: 0 + map_center_id: client_location + ipstack: + enable: false + weight: 0 + settings: + location_option_id: ipstack + access_key: '' + map_center_id: location_plugins + fixed_value: + enable: false + weight: 0 + settings: + location_option_id: fixed_value + latitude: null + longitude: null + map_center_id: location_plugins + fixed_boundaries: + enable: false + weight: 0 + settings: + south: '' + west: '' + north: '' + east: '' + map_center_id: fixed_boundaries + map_provider_id: google_maps + map_provider_settings: + map_features: + google_maps_layer_bicycling: + weight: 0 + enabled: false + client_location_indicator: + weight: 0 + enabled: false + context_popup: + weight: 0 + settings: + content: + value: '' + format: filtered_html + enabled: false + drawing: + weight: 0 + settings: + polyline: false + strokeColor: '#FF0000' + strokeOpacity: '0.8' + strokeWeight: '2' + geodesic: false + polygon: false + fillColor: '#FF0000' + fillOpacity: '0.35' + enabled: false + geolocation_google_maps_control_directions: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + origin_source: exposed + origin_static_value: '' + destination_source: exposed + destination_static_value: '' + travel_mode: exposed + directions_container: below + directions_container_custom_id: '' + enabled: false + map_disable_tilt: + weight: 0 + enabled: false + map_disable_poi: + weight: 0 + enabled: false + map_disable_user_interaction: + weight: 0 + enabled: false + geolocation_shapes: + weight: 0 + settings: + remove_markers: false + polyline: true + polyline_title: '' + strokeColor: '#FF0000' + strokeOpacity: 0.8 + strokeWidth: '2' + polygon: false + polygon_title: '' + fillColor: '#FF0000' + fillOpacity: 0.35 + enabled: false + control_fullscreen: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + enabled: false + control_geocoder: + weight: 0 + settings: + position: TOP_LEFT + geocoder: google_geocoding_api + settings: + label: Address + description: 'Enter an address to be localized.' + autocomplete_min_length: 1 + component_restrictions: + route: '' + country: '' + administrative_area: '' + locality: '' + postal_code: '' + boundary_restriction: + south: '' + west: '' + north: '' + east: '' + region: '' + enabled: false + control_loading_indicator: + weight: 0 + settings: + position: TOP_LEFT + loading_label: Loading + enabled: false + control_locate: + weight: 0 + settings: + position: TOP_LEFT + enabled: true + control_maptype: + weight: 0 + settings: + position: RIGHT_BOTTOM + behavior: default + style: DEFAULT + enabled: true + control_recenter: + weight: 0 + settings: + position: TOP_LEFT + enabled: false + control_rotate: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + enabled: false + control_streetview: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + enabled: false + control_zoom: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + style: LARGE + enabled: true + map_restriction: + weight: 0 + settings: + north: '' + south: '' + east: '' + west: '' + strict: true + enabled: false + map_type_style: + weight: 0 + settings: + style: '[]' + enabled: false + marker_clusterer: + weight: 0 + settings: + image_path: '' + styles: '' + max_zoom: 15 + minimum_cluster_size: 2 + zoom_on_click: true + average_center: false + grid_size: 60 + enabled: false + marker_icon: + weight: 0 + settings: + marker_icon_path: '' + anchor: + x: 0 + 'y': 0 + origin: + x: 0 + 'y': 0 + label_origin: + x: 0 + 'y': 0 + size: + width: null + height: null + scaled_size: + width: null + height: null + enabled: false + marker_infobubble: + weight: 0 + settings: + close_other: 1 + close_button: 0 + close_button_src: '' + shadow_style: 0 + padding: 10 + border_radius: 8 + border_width: 2 + border_color: '#039be5' + background_color: '#fff' + min_width: null + max_width: 550 + min_height: null + max_height: null + arrow_style: 2 + arrow_position: 30 + arrow_size: 10 + enabled: false + marker_infowindow: + weight: 0 + settings: + info_window_solitary: true + disable_auto_pan: true + info_auto_display: false + max_width: null + enabled: true + marker_label: + weight: 0 + settings: + color: '' + font_family: '' + font_size: '' + font_weight: '' + enabled: false + marker_opacity: + weight: 0 + settings: + opacity: 1.0 + enabled: false + geolocation_marker_scroll_to_id: + weight: 0 + settings: + scroll_target_id: '' + enabled: false + marker_zoom_to_animate: + weight: 0 + settings: + marker_zoom_anchor_id: '' + enabled: false + spiderfying: + weight: 0 + settings: + spiderfiable_marker_path: /modules/contrib/geolocation/modules/geolocation_google_maps/images/marker-plus.svg + markersWontMove: true + markersWontHide: false + keepSpiderfied: true + ignoreMapClick: false + nearbyDistance: 20 + circleSpiralSwitchover: 9 + circleFootSeparation: 23 + spiralFootSeparation: 26 + spiralLengthStart: 11 + spiralLengthFactor: 4 + legWeight: 1.5 + enabled: false + google_maps_layer_traffic: + weight: 0 + enabled: false + google_maps_layer_transit: + weight: 0 + enabled: false + type: ROADMAP + zoom: 10 + minZoom: 0 + maxZoom: 20 + height: 400px + width: 100% + gestureHandling: auto + data_provider_settings: { } + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: '' + fences_field_item_tag: div + fences_field_item_classes: '' + fences_label_tag: div + fences_label_classes: '' weight: 106 region: content field_project_cost: diff --git a/config/default/core.entity_view_display.node.project.map.yml b/config/default/core.entity_view_display.node.project.map.yml new file mode 100644 index 0000000000..35315d6c6c --- /dev/null +++ b/config/default/core.entity_view_display.node.project.map.yml @@ -0,0 +1,388 @@ +uuid: afa8fd7b-3f23-4a14-b608-a70f9b6ff4c6 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.map + - field.field.node.project.body + - field.field.node.project.field_components + - field.field.node.project.field_contact + - field.field.node.project.field_email + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio + - field.field.node.project.field_project_cost + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact + - field.field.node.project.field_single_neighborhood + - filter.format.plain_text + - node.type.project + module: + - address + - fences + - geolocation + - user +id: node.project.map +targetEntityType: node +bundle: project +mode: map +content: + field_project_address: + type: address_plain + label: hidden + settings: { } + third_party_settings: + fences: + fences_field_tag: none + fences_field_classes: '' + fences_field_item_tag: none + fences_field_item_classes: '' + fences_label_tag: none + fences_label_classes: '' + weight: 1 + region: content + field_project_address_geolocatio: + type: geolocation_map + label: hidden + settings: + set_marker: true + show_label: false + common_map: true + show_delta_label: false + use_overridden_map_settings: true + title: '' + info_text: + value: '' + format: plain_text + centre: + fit_bounds: + enable: true + weight: -101 + settings: + reset_zoom: true + min_zoom: 15 + map_center_id: fit_bounds + client_location: + enable: false + weight: 0 + map_center_id: client_location + ipstack: + enable: false + weight: 0 + settings: + location_option_id: ipstack + access_key: '' + map_center_id: location_plugins + fixed_value: + enable: false + weight: 0 + settings: + location_option_id: fixed_value + latitude: null + longitude: null + map_center_id: location_plugins + fixed_boundaries: + enable: false + weight: 0 + settings: + south: '' + west: '' + north: '' + east: '' + map_center_id: fixed_boundaries + map_provider_id: google_maps + map_provider_settings: + map_features: + google_maps_layer_bicycling: + weight: 0 + enabled: false + client_location_indicator: + weight: 0 + enabled: false + context_popup: + weight: 0 + settings: + content: + value: '' + format: filtered_html + enabled: false + drawing: + weight: 0 + settings: + polyline: false + strokeColor: '#FF0000' + strokeOpacity: '0.8' + strokeWeight: '2' + geodesic: false + polygon: false + fillColor: '#FF0000' + fillOpacity: '0.35' + enabled: false + geolocation_google_maps_control_directions: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + origin_source: exposed + origin_static_value: '' + destination_source: exposed + destination_static_value: '' + travel_mode: exposed + directions_container: below + directions_container_custom_id: '' + enabled: false + map_disable_tilt: + weight: 0 + enabled: false + map_disable_poi: + weight: 0 + enabled: false + map_disable_user_interaction: + weight: 0 + enabled: false + geolocation_shapes: + weight: 0 + settings: + remove_markers: false + polyline: true + polyline_title: '' + strokeColor: '#FF0000' + strokeOpacity: 0.8 + strokeWidth: '2' + polygon: false + polygon_title: '' + fillColor: '#FF0000' + fillOpacity: 0.35 + enabled: false + control_fullscreen: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + enabled: false + control_geocoder: + weight: 0 + settings: + position: TOP_LEFT + geocoder: google_geocoding_api + settings: + label: Address + description: 'Enter an address to be localized.' + autocomplete_min_length: 1 + component_restrictions: + route: '' + country: '' + administrative_area: '' + locality: '' + postal_code: '' + boundary_restriction: + south: '' + west: '' + north: '' + east: '' + region: '' + enabled: false + control_loading_indicator: + weight: 0 + settings: + position: TOP_LEFT + loading_label: Loading + enabled: false + control_locate: + weight: 0 + settings: + position: TOP_LEFT + enabled: true + control_maptype: + weight: 0 + settings: + position: RIGHT_BOTTOM + behavior: default + style: DEFAULT + enabled: true + control_recenter: + weight: 0 + settings: + position: TOP_LEFT + enabled: false + control_rotate: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + enabled: false + control_streetview: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + enabled: false + control_zoom: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + style: LARGE + enabled: true + map_restriction: + weight: 0 + settings: + north: '' + south: '' + east: '' + west: '' + strict: true + enabled: false + map_type_style: + weight: 0 + settings: + style: '[]' + enabled: false + marker_clusterer: + weight: 0 + settings: + image_path: '' + styles: '' + max_zoom: 15 + minimum_cluster_size: 2 + zoom_on_click: true + average_center: false + grid_size: 60 + enabled: false + marker_icon: + weight: 0 + settings: + marker_icon_path: '' + anchor: + x: 0 + 'y': 0 + origin: + x: 0 + 'y': 0 + label_origin: + x: 0 + 'y': 0 + size: + width: null + height: null + scaled_size: + width: null + height: null + enabled: false + marker_infobubble: + weight: 0 + settings: + close_other: 1 + close_button: 0 + close_button_src: '' + shadow_style: 0 + padding: 10 + border_radius: 8 + border_width: 2 + border_color: '#039be5' + background_color: '#fff' + min_width: null + max_width: 550 + min_height: null + max_height: null + arrow_style: 2 + arrow_position: 30 + arrow_size: 10 + enabled: false + marker_infowindow: + weight: 0 + settings: + info_window_solitary: true + disable_auto_pan: true + info_auto_display: false + max_width: null + enabled: true + marker_label: + weight: 0 + settings: + color: '' + font_family: '' + font_size: '' + font_weight: '' + enabled: false + marker_opacity: + weight: 0 + settings: + opacity: 1.0 + enabled: false + geolocation_marker_scroll_to_id: + weight: 0 + settings: + scroll_target_id: '' + enabled: false + marker_zoom_to_animate: + weight: 0 + settings: + marker_zoom_anchor_id: '' + enabled: false + spiderfying: + weight: 0 + settings: + spiderfiable_marker_path: /modules/contrib/geolocation/modules/geolocation_google_maps/images/marker-plus.svg + markersWontMove: true + markersWontHide: false + keepSpiderfied: true + ignoreMapClick: false + nearbyDistance: 20 + circleSpiralSwitchover: 9 + circleFootSeparation: 23 + spiralFootSeparation: 26 + spiralLengthStart: 11 + spiralLengthFactor: 4 + legWeight: 1.5 + enabled: false + google_maps_layer_traffic: + weight: 0 + enabled: false + google_maps_layer_transit: + weight: 0 + enabled: false + type: SATELLITE + zoom: 10 + minZoom: 0 + maxZoom: 20 + height: 400px + width: 100% + gestureHandling: auto + data_provider_settings: { } + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: '' + fences_field_item_tag: div + fences_field_item_classes: '' + fences_label_tag: div + fences_label_classes: '' + weight: 0 + region: content +hidden: + body: true + content_moderation_control: true + field_components: true + field_contact: true + field_email: true + field_phone_number: true + field_project_address_geo_polygo: true + field_project_cost: true + field_project_date: true + field_project_features: true + field_project_image: true + field_project_stage: true + field_project_type: true + field_project_year: true + field_role_contact: true + field_single_neighborhood: true + langcode: true + links: true + published_at: true diff --git a/config/default/geolocation_google_static_maps.settings.yml b/config/default/geolocation_google_static_maps.settings.yml new file mode 100644 index 0000000000..f1c1aaec4b --- /dev/null +++ b/config/default/geolocation_google_static_maps.settings.yml @@ -0,0 +1,3 @@ +_core: + default_config_hash: 16gY_inprgvFDL73U6ajUOGi8Ikker9xJMGYuiIdgfQ +google_static_maps_url_secret: '' diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.libraries.yml b/docroot/modules/custom/bos_content/modules/node_project/node_project.libraries.yml new file mode 100644 index 0000000000..7b7582b893 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.libraries.yml @@ -0,0 +1,32 @@ +modal: + version: 1.x +# js: +# js/modal.js: {} + dependencies: + - core/jquery + - core/drupal + - core/drupal.dialog.ajax + +map: + version: 1.x +# js: +# js/map.js: {} + dependencies: + - core/drupalSettings + - core/drupal + - core/drupal.ajax + - geolocation/geolocation.widget.map + - geolocation/geolocation.api + - geolocation/map_center.fitlocations + - geolocation_google_maps/googlemapsapi + - geolocation_google_maps/mapfeature.control_locate + - geolocation_google_maps/mapfeature.control_loading_indicator + - geolocation_google_maps/mapfeature.control_recenter + - geolocation_google_maps/mapfeature.control_zoom + - geolocation_google_maps/mapfeature.control_maptype + - geolocation_google_maps/mapfeature.marker_infowindow + - geolocation_google_maps/widget.google + +# css: +# theme: +# css/map.css: {} diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.module b/docroot/modules/custom/bos_content/modules/node_project/node_project.module index 828a04c994..36e195894c 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/node_project.module +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.module @@ -7,29 +7,64 @@ @file docroot/modules/custom/bos_content/modules/node_project/node_project.module */ - +use Symfony\Component\DomCrawler\Crawler; use Drupal\bos_geocoder\Controller\BosGeocoderController; use Drupal\bos_geocoder\Utility\BosGeoAddress; use Drupal\Core\Ajax\AjaxResponse; use Drupal\Core\Ajax\HtmlCommand; use Drupal\Core\Ajax\InvokeCommand; +use Drupal\Core\Ajax\OpenModalDialogCommand; use Drupal\Core\Form\FormStateInterface; +use Drupal\Core\Render\BubbleableMetadata; function node_project_theme() { return [ - 'node__project' => [ - 'render element' => 'elements', - 'base hook' => 'node', +// 'node__project' => [ +// 'render element' => 'content', +// 'base hook' => 'node', +// ], + 'node__project__map' => [ + 'base hook' => "node", ], ]; } +/** + * Implements hook_preprocess(). + */ +function node_project_preprocess(&$variables, $hook) { + +} + /** * Implements hook_preprocess_HOOK(). */ -function node_project_preprocess_form(&$variables) { +function node_project_preprocess_form(&$variables) {} + +/** + * Implements hook_field_widget_info_alter(). + */ +function node_project_field_widget_info_alter(array &$info) { } +/** + * Implements hook_preprocess(). + */ +function node_project_preprocess_geolocation_map_wrapper(&$variables, $hook) { + $variables['attached'] = BubbleableMetadata::mergeAttachments( + empty($variables['attached']) ? [] : $variables['attached'], + [ + 'drupalSettings', [ + 'geolocation' => [ + 'map' => [ + 'hello' => 1, + ] + ], + 'david' => [], + ], + ], + ); +} /** * Implements hook_form_alter(). */ @@ -50,6 +85,7 @@ function _node_project_create_ajax(array &$form){ 'message' => t('Fetching Geocode data...'), ] ]; + // Button to lookup info for the geolocation field $form['field_project_address']['widget'][0]['geo'] = [ '#type' => 'button', '#value' => t('Fetch Geo-data'), @@ -61,6 +97,23 @@ function _node_project_create_ajax(array &$form){ $form['field_project_address']['widget'][0]['geotxt'] = [ '#markup' => "", ]; + // Button to preview the map: + $form['group_mapping_data']['preview_map'] = [ + '#type' => 'button', + '#value' => t('Preview Map'), + '#attributes' => ['class' => ['use-ajax']], + '#attached' => [ + 'library' => [ + 'core/drupal.dialog.ajax', +// 'node_project/modal', + ], + ], + '#weight' => 1000, + '#ajax' => [ + 'callback' => '_node_project_preview_map', + 'event' => 'click', + ], + ]; } function _ajax_cb_geocode(array $form, FormStateInterface $form_state) { @@ -98,3 +151,57 @@ function _ajax_cb_geocode(array $form, FormStateInterface $form_state) { } return $response; } + +function _node_project_preview_map(array $form, FormStateInterface $form_state) { + $response = new AjaxResponse(); + + // Get geolocation field value from the form state. + $geolocation_value = $form_state->getValue('field_project_address_geolocatio'); + $latitude = $geolocation_value[0]['lat']; + $longitude = $geolocation_value[0]['lng']; + + // Render the map display for the project + $view_builder = \Drupal::entityTypeManager()->getViewBuilder('node'); + $nid = $form_state->getBuildInfo()["callback_object"]->getEntity()->id(); + $node = Drupal::entityTypeManager()->getStorage("node")->load($nid); + $render_array = $view_builder->view($node, "map"); + + // Render the array to HTML. +// $map = \Drupal::service('renderer')->renderRoot($render_array); + $map = \Drupal::service('renderer')->render($render_array); + + $response->addCommand(new OpenModalDialogCommand('Map Preview', $map, ['width' => '800'])); + + // Attach the map library and initialize the map with the geolocation data. + // TODO figure out how to render the widget. Also why do I need to add in all these + // js libraries. The render step is missing something I think - maybe we are rendering the container and not the + // geocoder field? + $crawler = new Crawler($map); + $map_id = $crawler->filter(".geolocation-map-wrapper")->first()->attr("id"); + $settings = \Drupal::config("core.entity_view_display.node.project.map") + ->get("content.field_project_address_geolocatio.settings"); + $response->setAttachments([ + 'library' => [ + 'node_project/map', +// 'geolocation/geolocation.map', + ], + 'drupalSettings' => [ + 'geolocation' => [ + 'maps' => [ + $map_id => [ + 'control_locate' => [ "enable" => true ], +// 'id' => $map_id, +// 'lat' => $latitude, +// 'lng' => $longitude, + "settings" => [ + "google_map_settings" => $settings["map_provider_settings"]["map_features"], + ], +// "type" => $settings["map_provider_id"], + ] + ], + ], + ], + ]); + + return $response; +} diff --git a/docroot/modules/custom/bos_content/modules/node_project/templates/node--project--map.html.twig b/docroot/modules/custom/bos_content/modules/node_project/templates/node--project--map.html.twig new file mode 100644 index 0000000000..4f43875016 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/templates/node--project--map.html.twig @@ -0,0 +1,3 @@ +{#{{ breakpoint() }}#} +{{ content }} +{#{{ elements }}#} diff --git a/docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig b/docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig index 84ad5892a7..51c7bed248 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig +++ b/docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig @@ -15,7 +15,6 @@ * @see theme's node.html.php */ #} - From b7bcf302af942c26e59158695868799d8b24fc19 Mon Sep 17 00:00:00 2001 From: David Upton Date: Fri, 18 Oct 2024 09:19:08 -0400 Subject: [PATCH 12/14] DIG-4949 Updates install to add default taxonomies. --- .../modules/node_project/node_project.install | 222 ++++++++++++++++++ 1 file changed, 222 insertions(+) create mode 100644 docroot/modules/custom/bos_content/modules/node_project/node_project.install diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.install b/docroot/modules/custom/bos_content/modules/node_project/node_project.install new file mode 100644 index 0000000000..d928dc2c45 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.install @@ -0,0 +1,222 @@ + [ + 'name' => 'Project Features', + 'description' => 'Features related to a Project.', + 'terms' => [ + 'Community-funded' => [], + 'Mayor-sponsored' => [], + ], + ], + 'project_role' => [ + 'name' => 'Project Role', + 'description' => 'Roles that are related to Project personnel or vendors.', + 'terms' => [ + 'Consultant' => [], + 'Developer' => [], + 'Project Manager' => [], + 'Vendor' => [], + ], + ], + 'project_status' => [ + 'name' => 'Project Status', + 'description' => 'Project timeline status.', + 'terms' => [ + 'None' => [ + 'fields' => [ + 'field_icon' => "check no" + ] + ], + 'Complete' => [ + 'fields' => [ + 'field_icon' => "wellenss" + ] + ], + 'Construction' => [ + 'fields' => [ + 'field_icon' => "closed roads" + ] + ], + 'Design' => [ + 'fields' => [ + 'field_icon' => "pencil" + ] + ], + 'Planning' => [ + 'fields' => [ + 'field_icon' => "pencil" + ] + ], + ], + ], + 'project_stage' => [ + 'name' => 'Project Stage', + 'description' => 'The projects Status/Stage.', + 'terms' => [ + 'Abandoned' => [ + 'fields' => [ + 'field_icon' => "check no", + 'field_project_status' => "None", + ] + ], + 'Approved' => [ + 'fields' => [ + 'field_icon' => "check yes", + 'field_project_status' => "Planning", + ] + ], + 'Archived' => [ + 'fields' => [ + 'field_icon' => "drupal archive", + 'field_project_status' => "Complete", + ] + ], + 'Completed' => [ + 'fields' => [ + 'field_icon' => "building", + 'field_project_status' => "Complete", + ] + ], + 'In Progress' => [ + 'fields' => [ + 'field_icon' => "construction tool", + 'field_project_status' => "Construction", + ] + ], + 'Planning' => [ + 'fields' => [ + 'field_icon' => "pencil", + 'field_project_status' => "Planning", + ] + ], + 'Proposed' => [ + 'fields' => [ + 'field_icon' => "small circle music studio", + 'field_project_status' => "Planning", + ] + ], + ], + ], + 'project_type' => [ + 'name' => 'Project Type', + 'description' => 'The Project type.', + 'fields' => ['field_icon'], + 'terms' => [ + 'Park' => [ + 'fields' => [ + 'field_icon' => "park location" + ] + ], + 'Playground' => [ + 'fields' => [ + 'field_icon' => "playground" + ] + ], + 'Playing Field' => [ + 'fields' => [ + 'field_icon' => "sports" + ] + ], + 'Transportation' => [ + 'fields' => [ + 'field_icon' => "experiential car back" + ] + ], + ], + ], + ]; + + foreach ($tax_struct as $type => &$data) { + // Ensure the vocabulary exists. Create it if it does not. + $vocabulary = Vocabulary::load('project_status'); + if (!$vocabulary) { + // Create the vocab if it does not exist yet. + $vocabulary = Vocabulary::create([ + 'vid' => $type, + 'name' => $data['name'], + 'description' => $data['description'], + ]); + $vocabulary->save(); + } + + // Chevk the terms in the structure. + foreach ($data['terms'] as $term_name => &$term_data) { + $term_id = \Drupal::entityQuery('taxonomy_term') + ->condition('vid', $type) + ->condition('name', $term_name, '=') + ->accessCheck(FALSE) + ->execute(); + + if ($term_id) { + // This Term exists, note it's tid for later, and load it. + $term_id = reset($term_id); + $term = Term::load($term_id); + } + else { + // This Term does not exist, create it and note it's tid for later. + $term = Term::create([ + 'vid' => $type, + 'name' => $term_name, + ]); + $term->save(); + $term_id = $term->id; + } + $term_data["tid"] = $term_id; + + foreach ($term_data["fields"] ?? [] as $field_name => $field_value) { + // Update/set the fields required in the Term. + switch ($field_name) { + case 'field_icon': + // Find the media entity by name. + if ($entity = \Drupal::entityTypeManager() + ->getStorage('media') + ->loadByProperties(["name" => $field_value])) { + $term->set("field_icon", [ + 'target_id' => array_key_first($entity) + ] + )->save(); + } + break; + case 'field_project_status': + // Get the tid for the entity reference, and save. + $term->set("field_project_status", [ + "target_id" => $tax_struct['project_status']['terms'][$field_value]['tid'] + ])->save(); + break; + } + } + } + } +} From 3111a98fc6cd870b62d7dad1add6645e156ebca6 Mon Sep 17 00:00:00 2001 From: David Upton Date: Thu, 7 Nov 2024 09:01:05 -0500 Subject: [PATCH 13/14] DIG-4949: project tracker wip --- ...tity_form_display.node.project.default.yml | 41 ++- ...taxonomy_term.project_features.default.yml | 57 ++- ...lay.taxonomy_term.project_role.default.yml | 38 +- ...ay.taxonomy_term.project_stage.default.yml | 170 ++++++--- ...y.taxonomy_term.project_status.default.yml | 88 +++-- ...lay.taxonomy_term.project_type.default.yml | 74 ++-- ...tity_view_display.node.project.article.yml | 4 + ....entity_view_display.node.project.card.yml | 3 +- ...tity_view_display.node.project.default.yml | 9 +- ...iew_display.node.project.featured_item.yml | 3 +- ...ty_view_display.node.project.grid_item.yml | 3 +- ...taxonomy_term.project_features.default.yml | 39 +++ ...ay.taxonomy_term.project_stage.default.yml | 18 +- ...field.field.node.project.field_contact.yml | 3 +- ...ld.field.node.project.field_intro_text.yml | 23 ++ ...onomy_term.project_features.field_icon.yml | 28 ++ ...erm.project_stage.field_project_status.yml | 5 +- ..._term.project_stage.field_project_type.yml | 28 ++ ....taxonomy_term.project_type.field_icon.yml | 3 +- ...orage.taxonomy_term.field_project_type.yml | 18 + .../taxonomy.vocabulary.project_type.yml | 3 +- ...tity_form_display.node.project.default.yml | 46 +-- ...taxonomy_term.project_features.default.yml | 56 ++- ...lay.taxonomy_term.project_role.default.yml | 37 +- ...ay.taxonomy_term.project_stage.default.yml | 169 ++++++--- ...y.taxonomy_term.project_status.default.yml | 87 +++-- ...lay.taxonomy_term.project_type.default.yml | 73 ++-- ....entity_view_display.node.project.card.yml | 6 +- ...tity_view_display.node.project.default.yml | 331 +++++++++++++++++- ...iew_display.node.project.featured_item.yml | 6 +- ...ty_view_display.node.project.grid_item.yml | 6 +- ...taxonomy_term.project_features.default.yml | 39 +++ ...ay.taxonomy_term.project_stage.default.yml | 17 +- ...field.field.node.project.field_contact.yml | 2 +- .../field.field.node.project.field_cost.yml | 18 - ...ld.field.node.project.field_intro_text.yml | 23 ++ ...onomy_term.project_features.field_icon.yml | 28 ++ ...erm.project_stage.field_project_status.yml | 4 +- ..._term.project_stage.field_project_type.yml | 28 ++ ....taxonomy_term.project_type.field_icon.yml | 2 +- ...orage.taxonomy_term.field_project_type.yml | 18 + .../taxonomy.vocabulary.project_type.yml | 2 +- .../node_project/node_project.info.yml | 168 +++++---- .../modules/node_project/node_project.install | 175 +++++---- .../modules/node_project/node_project.module | 26 +- .../templates/node--project.html.twig | 20 +- 46 files changed, 1568 insertions(+), 477 deletions(-) create mode 100644 config/default/core.entity_view_display.taxonomy_term.project_features.default.yml create mode 100644 config/default/field.field.node.project.field_intro_text.yml create mode 100644 config/default/field.field.taxonomy_term.project_features.field_icon.yml create mode 100644 config/default/field.field.taxonomy_term.project_stage.field_project_type.yml create mode 100644 config/default/field.storage.taxonomy_term.field_project_type.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.taxonomy_term.project_features.default.yml delete mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_cost.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_intro_text.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_features.field_icon.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_stage.field_project_type.yml create mode 100644 docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.taxonomy_term.field_project_type.yml diff --git a/config/default/core.entity_form_display.node.project.default.yml b/config/default/core.entity_form_display.node.project.default.yml index 0cf52bcdd7..ba410bdcb2 100644 --- a/config/default/core.entity_form_display.node.project.default.yml +++ b/config/default/core.entity_form_display.node.project.default.yml @@ -1,4 +1,3 @@ -uuid: 4bc7e423-7b83-4740-ad1d-61536597a1df langcode: en status: true dependencies: @@ -7,6 +6,7 @@ dependencies: - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email + - field.field.node.project.field_intro_text - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo @@ -53,14 +53,15 @@ third_party_settings: classes: '' show_empty_fields: false id: '' - label_as_html: false direction: vertical width_breakpoint: 640 + label_as_html: false group_basic_information: children: - title - field_contact - field_project_image + - field_intro_text - body - group_additional_contact_details label: 'Project Page' @@ -72,10 +73,10 @@ third_party_settings: classes: '' show_empty_fields: false id: '' - label_as_html: false formatter: open description: '' required_fields: true + label_as_html: false group_page_metadata: children: - group_s @@ -89,10 +90,10 @@ third_party_settings: classes: '' show_empty_fields: false id: '' - label_as_html: false formatter: closed description: '' required_fields: true + label_as_html: false group_project_information: children: - group_promote @@ -107,10 +108,10 @@ third_party_settings: classes: '' show_empty_fields: false id: '' - label_as_html: false formatter: closed description: '' required_fields: true + label_as_html: false group_s: children: - field_project_stage @@ -127,9 +128,9 @@ third_party_settings: classes: project-type-grid show_empty_fields: false id: '' - label_as_html: false description: "These fields are used principally for sorting and filtering by users.
\r\nRemember to come back and update the Stage as the Project progresses." required_fields: false + label_as_html: false group_additional_contact_details: children: - field_email @@ -137,15 +138,15 @@ third_party_settings: label: 'Contact Details' region: content parent_name: group_basic_information - weight: 27 + weight: 25 format_type: fieldset format_settings: classes: project-contact-grid show_empty_fields: false id: '' - label_as_html: false description: 'The City of Boston person, or group, to contact for additional information related to this Project.' required_fields: true + label_as_html: false group_project_location: children: - field_single_neighborhood @@ -160,10 +161,10 @@ third_party_settings: classes: '' show_empty_fields: false id: '' - label_as_html: false formatter: closed description: '' required_fields: true + label_as_html: false group_mapping_data: children: - field_project_address_geolocatio @@ -177,10 +178,10 @@ third_party_settings: classes: project-gis-wrapper show_empty_fields: false id: '' - label_as_html: false open: false description: "This section is auto-completed using City-originated GIS data. \r\nOnly override this if the property's location is not displayed correctly on maps." required_fields: true + label_as_html: false group_promote: children: - sticky @@ -193,9 +194,9 @@ third_party_settings: classes: '' show_empty_fields: false id: '' - label_as_html: false description: 'Options to promote this Project on the site.' required_fields: true + label_as_html: false group_contactroles_wrapper: children: - field_role_contact @@ -208,9 +209,9 @@ third_party_settings: classes: 'rolecontacts-wrapper no-title' show_empty_fields: false id: '' - label_as_html: false description: '' required_fields: true + label_as_html: false id: node.project.default targetEntityType: node bundle: project @@ -218,7 +219,7 @@ mode: default content: body: type: text_textarea_with_summary - weight: 26 + weight: 24 region: content settings: rows: 9 @@ -253,7 +254,7 @@ content: third_party_settings: { } field_contact: type: entity_reference_autocomplete - weight: 24 + weight: 21 region: content settings: match_operator: CONTAINS @@ -273,6 +274,14 @@ content: show_token_tree: 0 bos_core: show_token_tree: 0 + field_intro_text: + type: text_textarea + weight: 23 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } field_phone_number: type: string_textfield weight: 27 @@ -324,7 +333,7 @@ content: third_party_settings: { } field_project_image: type: media_library_widget - weight: 25 + weight: 22 region: content settings: media_types: { } @@ -421,7 +430,7 @@ content: third_party_settings: { } title: type: string_textfield - weight: 23 + weight: 20 region: content settings: size: 60 diff --git a/config/default/core.entity_form_display.taxonomy_term.project_features.default.yml b/config/default/core.entity_form_display.taxonomy_term.project_features.default.yml index 13cd3c0da7..26b749949f 100644 --- a/config/default/core.entity_form_display.taxonomy_term.project_features.default.yml +++ b/config/default/core.entity_form_display.taxonomy_term.project_features.default.yml @@ -1,17 +1,70 @@ -uuid: dacee110-82d2-43a1-b521-6ddaa48462db langcode: en status: true dependencies: config: + - entity_browser.browser.document_entity_browser + - field.field.taxonomy_term.project_features.field_icon - taxonomy.vocabulary.project_features + module: + - entity_browser + - field_group +third_party_settings: + field_group: + group_project_features: + children: + - group_basic_information + label: 'Project Features' + region: content + parent_name: '' + weight: 0 + format_type: tabs + format_settings: + classes: '' + show_empty_fields: true + id: '' + label_as_html: false + direction: vertical + width_breakpoint: 640 + group_basic_information: + children: + - name + - field_icon + label: 'Basic Information' + region: content + parent_name: group_project_features + weight: 20 + format_type: tab + format_settings: + classes: '' + show_empty_fields: true + id: '' + label_as_html: false + formatter: open + description: "

Defines a list of features that can be attached to a Project, much like a tag.

\r\n

Fetures are used for sorting and filtering

" + required_fields: true id: taxonomy_term.project_features.default targetEntityType: taxonomy_term bundle: project_features mode: default content: + field_icon: + type: entity_browser_entity_reference + weight: 2 + region: content + settings: + entity_browser: document_entity_browser + field_widget_display: rendered_entity + field_widget_edit: true + field_widget_remove: true + field_widget_replace: false + open: false + field_widget_display_settings: + view_mode: thumbnail + selection_mode: selection_append + third_party_settings: { } name: type: string_textfield - weight: 0 + weight: 1 region: content settings: size: 60 diff --git a/config/default/core.entity_form_display.taxonomy_term.project_role.default.yml b/config/default/core.entity_form_display.taxonomy_term.project_role.default.yml index 2f2cc4f02f..056ec6a409 100644 --- a/config/default/core.entity_form_display.taxonomy_term.project_role.default.yml +++ b/config/default/core.entity_form_display.taxonomy_term.project_role.default.yml @@ -1,9 +1,43 @@ -uuid: 4a9fab78-0c9e-464d-a67d-2f484a310ae3 langcode: en status: true dependencies: config: - taxonomy.vocabulary.project_role + module: + - field_group +third_party_settings: + field_group: + group_project_roles: + children: + - group_basic_information + label: 'Project Roles' + region: content + parent_name: '' + weight: 0 + format_type: tabs + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + direction: vertical + width_breakpoint: 640 + group_basic_information: + children: + - name + label: 'Basic Information' + region: content + parent_name: group_project_roles + weight: 20 + format_type: tab + format_settings: + classes: '' + show_empty_fields: true + id: '' + label_as_html: false + formatter: open + description: '

A Project Role is an identified role that a City of Boston staff member, or external vendor, performs related to a Project.

' + required_fields: true id: taxonomy_term.project_role.default targetEntityType: taxonomy_term bundle: project_role @@ -11,7 +45,7 @@ mode: default content: name: type: string_textfield - weight: 0 + weight: 1 region: content settings: size: 60 diff --git a/config/default/core.entity_form_display.taxonomy_term.project_stage.default.yml b/config/default/core.entity_form_display.taxonomy_term.project_stage.default.yml index a253749c73..958198cb1e 100644 --- a/config/default/core.entity_form_display.taxonomy_term.project_stage.default.yml +++ b/config/default/core.entity_form_display.taxonomy_term.project_stage.default.yml @@ -1,75 +1,153 @@ -uuid: ef83a78b-b7f9-4a0f-b154-a53828540bbd langcode: en status: true dependencies: config: - - entity_browser.browser.icon_entity_browser - field.field.taxonomy_term.project_stage.field_icon - field.field.taxonomy_term.project_stage.field_project_status + - field.field.taxonomy_term.project_stage.field_project_type - taxonomy.vocabulary.project_stage module: - - entity_browser - - path - - text + - advanced_text_formatter + - bos_core + - field_group + - media_library +third_party_settings: + field_group: + group_project_stage: + children: + - group_basic_information + label: 'Project Stage' + region: content + parent_name: '' + weight: 0 + format_type: tabs + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + direction: vertical + width_breakpoint: 640 + group_basic_information: + children: + - name + - group_grid + - field_icon + label: 'Basic Information' + region: content + parent_name: group_project_stage + weight: 20 + format_type: tab + format_settings: + classes: '' + show_empty_fields: true + id: '' + label_as_html: false + formatter: open + description: '

The Project Stage is specific to a Project Type, and defines a stage which is displayed on the Project homepage.
The Project Stage is attached to a Project Status, and the Status is used to construct a visual progress timeime on the Project homepage.

' + required_fields: true + group_grid: + children: + - group_project_type + - group_project_status + label: Structure + region: content + parent_name: group_basic_information + weight: 22 + format_type: html_element + format_settings: + classes: g + show_empty_fields: false + id: '' + label_as_html: false + element: div + show_label: false + label_element: h3 + label_element_classes: '' + attributes: '' + effect: none + speed: fast + required_fields: true + group_project_type: + children: + - field_project_type + label: 'project type' + region: content + parent_name: group_grid + weight: 20 + format_type: html_element + format_settings: + classes: g--24 + show_empty_fields: false + id: '' + label_as_html: false + element: div + show_label: false + label_element: h3 + label_element_classes: '' + attributes: '' + effect: none + speed: fast + required_fields: true + group_project_status: + children: + - field_project_status + label: 'project status' + region: content + parent_name: group_grid + weight: 21 + format_type: html_element + format_settings: + classes: g--24 + show_empty_fields: false + id: '' + label_as_html: false + element: div + show_label: false + label_element: h3 + label_element_classes: '' + attributes: '' + effect: none + speed: fast + required_fields: true id: taxonomy_term.project_stage.default targetEntityType: taxonomy_term bundle: project_stage mode: default content: - description: - type: text_textarea - weight: 1 - region: content - settings: - rows: 5 - placeholder: '' - third_party_settings: { } field_icon: - type: entity_browser_entity_reference - weight: 3 + type: media_library_widget + weight: 26 region: content settings: - entity_browser: icon_entity_browser - field_widget_display: label - field_widget_edit: true - field_widget_remove: true - field_widget_replace: true - open: false - field_widget_display_settings: { } - selection_mode: selection_append + media_types: { } third_party_settings: { } field_project_status: type: options_select - weight: 2 + weight: 22 region: content settings: { } third_party_settings: { } - langcode: - type: language_select - weight: 4 + field_project_type: + type: options_select + weight: 21 region: content - settings: - include_locked: true + settings: { } third_party_settings: { } name: type: string_textfield - weight: 0 + weight: 21 region: content settings: size: 60 - placeholder: '' - third_party_settings: { } - path: - type: path - weight: 5 - region: content - settings: { } - third_party_settings: { } - status: - type: boolean_checkbox - weight: 6 - region: content - settings: - display_label: true - third_party_settings: { } -hidden: { } + placeholder: 'The Project Stage' + third_party_settings: + advanced_text_formatter: + show_token_tree: 0 + bos_core: + show_token_tree: 0 +hidden: + description: true + langcode: true + path: true + status: true diff --git a/config/default/core.entity_form_display.taxonomy_term.project_status.default.yml b/config/default/core.entity_form_display.taxonomy_term.project_status.default.yml index 085a0198ae..880d7dacc2 100644 --- a/config/default/core.entity_form_display.taxonomy_term.project_status.default.yml +++ b/config/default/core.entity_form_display.taxonomy_term.project_status.default.yml @@ -1,62 +1,86 @@ -uuid: fab66d7b-4a7e-4e3e-9e4a-fe9947b1251e langcode: en status: true dependencies: config: + - entity_browser.browser.icon_entity_browser - field.field.taxonomy_term.project_status.field_icon - taxonomy.vocabulary.project_status module: - - path + - entity_browser + - field_group - text +third_party_settings: + field_group: + group_project_status: + children: + - group_basic_information + label: 'Project Status' + region: content + parent_name: '' + weight: 0 + format_type: tabs + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + direction: vertical + width_breakpoint: 640 + group_basic_information: + children: + - name + - field_icon + - description + label: 'Basic Information' + region: content + parent_name: group_project_status + weight: 7 + format_type: tab + format_settings: + classes: '' + show_empty_fields: true + id: '' + label_as_html: false + formatter: open + description: "

A Project Status is a status that will appear on all time-lines for all new and existing Project content types.

\r\n

Care: this will affect the timeline on all past, current and future Projects.

" + required_fields: true id: taxonomy_term.project_status.default targetEntityType: taxonomy_term bundle: project_status mode: default content: description: - type: text_textfield - weight: 0 + type: text_textarea + weight: 3 region: content settings: - size: 60 + rows: 5 placeholder: '' third_party_settings: { } field_icon: - type: entity_reference_autocomplete - weight: 6 - region: content - settings: - match_operator: CONTAINS - match_limit: 10 - size: 60 - placeholder: '' - third_party_settings: { } - langcode: - type: language_select + type: entity_browser_entity_reference weight: 2 region: content settings: - include_locked: true + entity_browser: icon_entity_browser + field_widget_display: rendered_entity + field_widget_edit: true + field_widget_remove: true + field_widget_replace: false + open: false + field_widget_display_settings: + view_mode: default + selection_mode: selection_append third_party_settings: { } name: type: string_textfield - weight: -5 + weight: 1 region: content settings: size: 60 placeholder: '' third_party_settings: { } - path: - type: path - weight: 30 - region: content - settings: { } - third_party_settings: { } - status: - type: boolean_checkbox - weight: 100 - region: content - settings: - display_label: true - third_party_settings: { } -hidden: { } +hidden: + langcode: true + path: true + status: true diff --git a/config/default/core.entity_form_display.taxonomy_term.project_type.default.yml b/config/default/core.entity_form_display.taxonomy_term.project_type.default.yml index 23e923c16e..f01c914848 100644 --- a/config/default/core.entity_form_display.taxonomy_term.project_type.default.yml +++ b/config/default/core.entity_form_display.taxonomy_term.project_type.default.yml @@ -1,4 +1,3 @@ -uuid: 0c2f46fd-246b-4b03-a347-db6c4869100e langcode: en status: true dependencies: @@ -8,21 +7,46 @@ dependencies: - taxonomy.vocabulary.project_type module: - entity_browser - - path - - text + - field_group +third_party_settings: + field_group: + group_project_type: + children: + - group_basic_information + label: 'Project Type' + region: content + parent_name: '' + weight: 0 + format_type: tabs + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + direction: vertical + width_breakpoint: 640 + group_basic_information: + children: + - name + - field_icon + label: 'Basic Information' + region: content + parent_name: group_project_type + weight: 20 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + formatter: open + description: '' + required_fields: true id: taxonomy_term.project_type.default targetEntityType: taxonomy_term bundle: project_type mode: default content: - description: - type: text_textarea - weight: 1 - region: content - settings: - rows: 5 - placeholder: '' - third_party_settings: { } field_icon: type: entity_browser_entity_reference weight: 2 @@ -38,32 +62,16 @@ content: view_mode: thumbnail selection_mode: selection_append third_party_settings: { } - langcode: - type: language_select - weight: 3 - region: content - settings: - include_locked: true - third_party_settings: { } name: type: string_textfield - weight: 0 + weight: 1 region: content settings: size: 60 placeholder: '' third_party_settings: { } - path: - type: path - weight: 4 - region: content - settings: { } - third_party_settings: { } - status: - type: boolean_checkbox - weight: 5 - region: content - settings: - display_label: true - third_party_settings: { } -hidden: { } +hidden: + description: true + langcode: true + path: true + status: true diff --git a/config/default/core.entity_view_display.node.project.article.yml b/config/default/core.entity_view_display.node.project.article.yml index e016d9a1d0..c427756d60 100644 --- a/config/default/core.entity_view_display.node.project.article.yml +++ b/config/default/core.entity_view_display.node.project.article.yml @@ -7,7 +7,9 @@ dependencies: - field.field.node.project.body - field.field.node.project.field_components - field.field.node.project.field_contact + - field.field.node.project.field_cost - field.field.node.project.field_email + - field.field.node.project.field_intro_text - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo @@ -59,6 +61,8 @@ hidden: body: true field_components: true field_contact: true + field_cost: true + field_intro_text: true field_project_address: true field_project_address_geo_polygo: true field_project_address_geolocatio: true diff --git a/config/default/core.entity_view_display.node.project.card.yml b/config/default/core.entity_view_display.node.project.card.yml index c9b9c1e93b..5c7bc47334 100644 --- a/config/default/core.entity_view_display.node.project.card.yml +++ b/config/default/core.entity_view_display.node.project.card.yml @@ -1,4 +1,3 @@ -uuid: 72ca9865-7439-4b47-a2d7-8ad8664c88b2 langcode: en status: true dependencies: @@ -8,6 +7,7 @@ dependencies: - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email + - field.field.node.project.field_intro_text - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo @@ -59,6 +59,7 @@ hidden: field_components: true field_contact: true field_email: true + field_intro_text: true field_project_address: true field_project_address_geo_polygo: true field_project_address_geolocatio: true diff --git a/config/default/core.entity_view_display.node.project.default.yml b/config/default/core.entity_view_display.node.project.default.yml index 526981d889..17e89eceb9 100644 --- a/config/default/core.entity_view_display.node.project.default.yml +++ b/config/default/core.entity_view_display.node.project.default.yml @@ -1,4 +1,3 @@ -uuid: 52d707cb-136a-4929-b3b9-f2a3ab677027 langcode: en status: true dependencies: @@ -7,6 +6,7 @@ dependencies: - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email + - field.field.node.project.field_intro_text - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo @@ -89,6 +89,13 @@ content: fences_label_classes: '' weight: 6 region: content + field_intro_text: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 2 + region: content field_phone_number: type: string label: hidden diff --git a/config/default/core.entity_view_display.node.project.featured_item.yml b/config/default/core.entity_view_display.node.project.featured_item.yml index b4decf52d3..404cb4d906 100644 --- a/config/default/core.entity_view_display.node.project.featured_item.yml +++ b/config/default/core.entity_view_display.node.project.featured_item.yml @@ -1,4 +1,3 @@ -uuid: bb0e4733-a274-4216-b1e8-16d812ccee2a langcode: en status: true dependencies: @@ -8,6 +7,7 @@ dependencies: - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email + - field.field.node.project.field_intro_text - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo @@ -44,6 +44,7 @@ hidden: field_components: true field_contact: true field_email: true + field_intro_text: true field_phone_number: true field_project_address: true field_project_address_geo_polygo: true diff --git a/config/default/core.entity_view_display.node.project.grid_item.yml b/config/default/core.entity_view_display.node.project.grid_item.yml index e381024a3c..8cda71488e 100644 --- a/config/default/core.entity_view_display.node.project.grid_item.yml +++ b/config/default/core.entity_view_display.node.project.grid_item.yml @@ -1,4 +1,3 @@ -uuid: 4634ed71-4095-4977-aea0-ca7d08f72739 langcode: en status: true dependencies: @@ -8,6 +7,7 @@ dependencies: - field.field.node.project.field_components - field.field.node.project.field_contact - field.field.node.project.field_email + - field.field.node.project.field_intro_text - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo @@ -51,6 +51,7 @@ hidden: field_components: true field_contact: true field_email: true + field_intro_text: true field_phone_number: true field_project_address: true field_project_address_geo_polygo: true diff --git a/config/default/core.entity_view_display.taxonomy_term.project_features.default.yml b/config/default/core.entity_view_display.taxonomy_term.project_features.default.yml new file mode 100644 index 0000000000..4aa218c2ae --- /dev/null +++ b/config/default/core.entity_view_display.taxonomy_term.project_features.default.yml @@ -0,0 +1,39 @@ +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.project_features.field_icon + - taxonomy.vocabulary.project_features + module: + - fences + - text +id: taxonomy_term.project_features.default +targetEntityType: taxonomy_term +bundle: project_features +mode: default +content: + description: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content + field_icon: + type: entity_reference_entity_view + label: hidden + settings: + view_mode: default + link: false + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: '' + fences_field_item_tag: none + fences_field_item_classes: b--g + fences_label_tag: none + fences_label_classes: '' + weight: 1 + region: content +hidden: + langcode: true diff --git a/config/default/core.entity_view_display.taxonomy_term.project_stage.default.yml b/config/default/core.entity_view_display.taxonomy_term.project_stage.default.yml index 08c31bcc27..14cb8a4da9 100644 --- a/config/default/core.entity_view_display.taxonomy_term.project_stage.default.yml +++ b/config/default/core.entity_view_display.taxonomy_term.project_stage.default.yml @@ -1,10 +1,10 @@ -uuid: 870084f3-1d88-4fd2-a136-b5544640b1ec langcode: en status: true dependencies: config: - field.field.taxonomy_term.project_stage.field_icon - field.field.taxonomy_term.project_stage.field_project_status + - field.field.taxonomy_term.project_stage.field_project_type - taxonomy.vocabulary.project_stage module: - fences @@ -19,7 +19,7 @@ content: label: hidden settings: { } third_party_settings: { } - weight: 0 + weight: 3 region: content field_icon: type: entity_reference_entity_view @@ -35,15 +35,23 @@ content: fences_field_item_classes: b--g fences_label_tag: none fences_label_classes: '' - weight: 1 + weight: 2 region: content field_project_status: type: entity_reference_label - label: above + label: hidden settings: link: true third_party_settings: { } - weight: 2 + weight: 1 + region: content + field_project_type: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 0 region: content hidden: langcode: true diff --git a/config/default/field.field.node.project.field_contact.yml b/config/default/field.field.node.project.field_contact.yml index 074a8c13d3..8729ffdf69 100644 --- a/config/default/field.field.node.project.field_contact.yml +++ b/config/default/field.field.node.project.field_contact.yml @@ -1,4 +1,3 @@ -uuid: 7777e093-3ebf-40e2-bc62-b695ee58dda5 langcode: en status: true dependencies: @@ -16,7 +15,7 @@ field_name: field_contact entity_type: node bundle: project label: Department -description: 'Start typing, then select the Department from the autocomplete dropdown.' +description: 'Select multiple contacts which will populate the "Who''s Involved" component on the Project homepage.' required: true translatable: false default_value: { } diff --git a/config/default/field.field.node.project.field_intro_text.yml b/config/default/field.field.node.project.field_intro_text.yml new file mode 100644 index 0000000000..76168a1dfc --- /dev/null +++ b/config/default/field.field.node.project.field_intro_text.yml @@ -0,0 +1,23 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_intro_text + - filter.format.filtered_html + - node.type.project + module: + - text +id: node.project.field_intro_text +field_name: field_intro_text +entity_type: node +bundle: project +label: 'Intro Text' +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: + - filtered_html +field_type: text_long diff --git a/config/default/field.field.taxonomy_term.project_features.field_icon.yml b/config/default/field.field.taxonomy_term.project_features.field_icon.yml new file mode 100644 index 0000000000..0add1b8615 --- /dev/null +++ b/config/default/field.field.taxonomy_term.project_features.field_icon.yml @@ -0,0 +1,28 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_icon + - media.type.icon + - taxonomy.vocabulary.project_features +id: taxonomy_term.project_features.field_icon +field_name: field_icon +entity_type: taxonomy_term +bundle: project_features +label: Icon +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + icon: icon + sort: + field: _none + direction: ASC + auto_create: true + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/default/field.field.taxonomy_term.project_stage.field_project_status.yml b/config/default/field.field.taxonomy_term.project_stage.field_project_status.yml index 3fe3c7f679..dc660f5d5f 100644 --- a/config/default/field.field.taxonomy_term.project_stage.field_project_status.yml +++ b/config/default/field.field.taxonomy_term.project_stage.field_project_status.yml @@ -1,4 +1,3 @@ -uuid: 686cef53-cf09-4e45-a6ab-36e040252b24 langcode: en status: true dependencies: @@ -13,8 +12,8 @@ field_name: field_project_status entity_type: taxonomy_term bundle: project_stage label: 'Project Status' -description: 'The timeline status for this project stage.' -required: false +description: 'Select the timeline status that this stage is an alias for.' +required: true translatable: false default_value: - diff --git a/config/default/field.field.taxonomy_term.project_stage.field_project_type.yml b/config/default/field.field.taxonomy_term.project_stage.field_project_type.yml new file mode 100644 index 0000000000..ebffbf15bf --- /dev/null +++ b/config/default/field.field.taxonomy_term.project_stage.field_project_type.yml @@ -0,0 +1,28 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_project_type + - taxonomy.vocabulary.project_stage + - taxonomy.vocabulary.project_type +id: taxonomy_term.project_stage.field_project_type +field_name: field_project_type +entity_type: taxonomy_term +bundle: project_stage +label: 'Project Type' +description: 'Select the Project type that this stage applies to.' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + project_type: project_type + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/default/field.field.taxonomy_term.project_type.field_icon.yml b/config/default/field.field.taxonomy_term.project_type.field_icon.yml index 9341dc7139..64c6d04fbd 100644 --- a/config/default/field.field.taxonomy_term.project_type.field_icon.yml +++ b/config/default/field.field.taxonomy_term.project_type.field_icon.yml @@ -1,4 +1,3 @@ -uuid: 30c9a86d-221f-482a-a475-9eeb91059081 langcode: en status: true dependencies: @@ -12,7 +11,7 @@ entity_type: taxonomy_term bundle: project_type label: Icon description: '' -required: false +required: true translatable: false default_value: { } default_value_callback: '' diff --git a/config/default/field.storage.taxonomy_term.field_project_type.yml b/config/default/field.storage.taxonomy_term.field_project_type.yml new file mode 100644 index 0000000000..522cfc8a5c --- /dev/null +++ b/config/default/field.storage.taxonomy_term.field_project_type.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + module: + - taxonomy +id: taxonomy_term.field_project_type +field_name: field_project_type +entity_type: taxonomy_term +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/config/default/taxonomy.vocabulary.project_type.yml b/config/default/taxonomy.vocabulary.project_type.yml index f6cd8d58e3..b4b39c5fed 100644 --- a/config/default/taxonomy.vocabulary.project_type.yml +++ b/config/default/taxonomy.vocabulary.project_type.yml @@ -1,9 +1,8 @@ -uuid: 049877f6-df03-4c23-bfa1-f89e34dc1311 langcode: en status: true dependencies: { } name: 'Project Type' vid: project_type -description: null +description: 'The project Type (project)' weight: 0 new_revision: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.node.project.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.node.project.default.yml index ae548fbc52..ba410bdcb2 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.node.project.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.node.project.default.yml @@ -5,8 +5,8 @@ dependencies: - field.field.node.project.body - field.field.node.project.field_components - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email + - field.field.node.project.field_intro_text - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo @@ -15,7 +15,6 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -54,14 +53,15 @@ third_party_settings: classes: '' show_empty_fields: false id: '' - label_as_html: false direction: vertical width_breakpoint: 640 + label_as_html: false group_basic_information: children: - title - field_contact - field_project_image + - field_intro_text - body - group_additional_contact_details label: 'Project Page' @@ -73,10 +73,10 @@ third_party_settings: classes: '' show_empty_fields: false id: '' - label_as_html: false formatter: open description: '' required_fields: true + label_as_html: false group_page_metadata: children: - group_s @@ -90,10 +90,10 @@ third_party_settings: classes: '' show_empty_fields: false id: '' - label_as_html: false formatter: closed description: '' required_fields: true + label_as_html: false group_project_information: children: - group_promote @@ -108,10 +108,10 @@ third_party_settings: classes: '' show_empty_fields: false id: '' - label_as_html: false formatter: closed description: '' required_fields: true + label_as_html: false group_s: children: - field_project_stage @@ -128,9 +128,9 @@ third_party_settings: classes: project-type-grid show_empty_fields: false id: '' - label_as_html: false description: "These fields are used principally for sorting and filtering by users.
\r\nRemember to come back and update the Stage as the Project progresses." required_fields: false + label_as_html: false group_additional_contact_details: children: - field_email @@ -138,15 +138,15 @@ third_party_settings: label: 'Contact Details' region: content parent_name: group_basic_information - weight: 27 + weight: 25 format_type: fieldset format_settings: classes: project-contact-grid show_empty_fields: false id: '' - label_as_html: false description: 'The City of Boston person, or group, to contact for additional information related to this Project.' required_fields: true + label_as_html: false group_project_location: children: - field_single_neighborhood @@ -161,10 +161,10 @@ third_party_settings: classes: '' show_empty_fields: false id: '' - label_as_html: false formatter: closed description: '' required_fields: true + label_as_html: false group_mapping_data: children: - field_project_address_geolocatio @@ -178,10 +178,10 @@ third_party_settings: classes: project-gis-wrapper show_empty_fields: false id: '' - label_as_html: false open: false description: "This section is auto-completed using City-originated GIS data. \r\nOnly override this if the property's location is not displayed correctly on maps." required_fields: true + label_as_html: false group_promote: children: - sticky @@ -194,9 +194,9 @@ third_party_settings: classes: '' show_empty_fields: false id: '' - label_as_html: false description: 'Options to promote this Project on the site.' required_fields: true + label_as_html: false group_contactroles_wrapper: children: - field_role_contact @@ -209,9 +209,9 @@ third_party_settings: classes: 'rolecontacts-wrapper no-title' show_empty_fields: false id: '' - label_as_html: false description: '' required_fields: true + label_as_html: false id: node.project.default targetEntityType: node bundle: project @@ -219,7 +219,7 @@ mode: default content: body: type: text_textarea_with_summary - weight: 26 + weight: 24 region: content settings: rows: 9 @@ -254,7 +254,7 @@ content: third_party_settings: { } field_contact: type: entity_reference_autocomplete - weight: 24 + weight: 21 region: content settings: match_operator: CONTAINS @@ -274,6 +274,14 @@ content: show_token_tree: 0 bos_core: show_token_tree: 0 + field_intro_text: + type: text_textarea + weight: 23 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } field_phone_number: type: string_textfield weight: 27 @@ -325,7 +333,7 @@ content: third_party_settings: { } field_project_image: type: media_library_widget - weight: 25 + weight: 22 region: content settings: media_types: { } @@ -422,7 +430,7 @@ content: third_party_settings: { } title: type: string_textfield - weight: 23 + weight: 20 region: content settings: size: 60 @@ -447,6 +455,4 @@ content: region: content settings: { } third_party_settings: { } -hidden: - field_cost: true - field_project_manager_email: true +hidden: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_features.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_features.default.yml index e8010c9456..26b749949f 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_features.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_features.default.yml @@ -2,15 +2,69 @@ langcode: en status: true dependencies: config: + - entity_browser.browser.document_entity_browser + - field.field.taxonomy_term.project_features.field_icon - taxonomy.vocabulary.project_features + module: + - entity_browser + - field_group +third_party_settings: + field_group: + group_project_features: + children: + - group_basic_information + label: 'Project Features' + region: content + parent_name: '' + weight: 0 + format_type: tabs + format_settings: + classes: '' + show_empty_fields: true + id: '' + label_as_html: false + direction: vertical + width_breakpoint: 640 + group_basic_information: + children: + - name + - field_icon + label: 'Basic Information' + region: content + parent_name: group_project_features + weight: 20 + format_type: tab + format_settings: + classes: '' + show_empty_fields: true + id: '' + label_as_html: false + formatter: open + description: "

Defines a list of features that can be attached to a Project, much like a tag.

\r\n

Fetures are used for sorting and filtering

" + required_fields: true id: taxonomy_term.project_features.default targetEntityType: taxonomy_term bundle: project_features mode: default content: + field_icon: + type: entity_browser_entity_reference + weight: 2 + region: content + settings: + entity_browser: document_entity_browser + field_widget_display: rendered_entity + field_widget_edit: true + field_widget_remove: true + field_widget_replace: false + open: false + field_widget_display_settings: + view_mode: thumbnail + selection_mode: selection_append + third_party_settings: { } name: type: string_textfield - weight: 0 + weight: 1 region: content settings: size: 60 diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_role.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_role.default.yml index 1f36e28b2a..056ec6a409 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_role.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_role.default.yml @@ -3,6 +3,41 @@ status: true dependencies: config: - taxonomy.vocabulary.project_role + module: + - field_group +third_party_settings: + field_group: + group_project_roles: + children: + - group_basic_information + label: 'Project Roles' + region: content + parent_name: '' + weight: 0 + format_type: tabs + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + direction: vertical + width_breakpoint: 640 + group_basic_information: + children: + - name + label: 'Basic Information' + region: content + parent_name: group_project_roles + weight: 20 + format_type: tab + format_settings: + classes: '' + show_empty_fields: true + id: '' + label_as_html: false + formatter: open + description: '

A Project Role is an identified role that a City of Boston staff member, or external vendor, performs related to a Project.

' + required_fields: true id: taxonomy_term.project_role.default targetEntityType: taxonomy_term bundle: project_role @@ -10,7 +45,7 @@ mode: default content: name: type: string_textfield - weight: 0 + weight: 1 region: content settings: size: 60 diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_stage.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_stage.default.yml index 74407ac0ed..958198cb1e 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_stage.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_stage.default.yml @@ -2,73 +2,152 @@ langcode: en status: true dependencies: config: - - entity_browser.browser.icon_entity_browser - field.field.taxonomy_term.project_stage.field_icon - field.field.taxonomy_term.project_stage.field_project_status + - field.field.taxonomy_term.project_stage.field_project_type - taxonomy.vocabulary.project_stage module: - - entity_browser - - path - - text + - advanced_text_formatter + - bos_core + - field_group + - media_library +third_party_settings: + field_group: + group_project_stage: + children: + - group_basic_information + label: 'Project Stage' + region: content + parent_name: '' + weight: 0 + format_type: tabs + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + direction: vertical + width_breakpoint: 640 + group_basic_information: + children: + - name + - group_grid + - field_icon + label: 'Basic Information' + region: content + parent_name: group_project_stage + weight: 20 + format_type: tab + format_settings: + classes: '' + show_empty_fields: true + id: '' + label_as_html: false + formatter: open + description: '

The Project Stage is specific to a Project Type, and defines a stage which is displayed on the Project homepage.
The Project Stage is attached to a Project Status, and the Status is used to construct a visual progress timeime on the Project homepage.

' + required_fields: true + group_grid: + children: + - group_project_type + - group_project_status + label: Structure + region: content + parent_name: group_basic_information + weight: 22 + format_type: html_element + format_settings: + classes: g + show_empty_fields: false + id: '' + label_as_html: false + element: div + show_label: false + label_element: h3 + label_element_classes: '' + attributes: '' + effect: none + speed: fast + required_fields: true + group_project_type: + children: + - field_project_type + label: 'project type' + region: content + parent_name: group_grid + weight: 20 + format_type: html_element + format_settings: + classes: g--24 + show_empty_fields: false + id: '' + label_as_html: false + element: div + show_label: false + label_element: h3 + label_element_classes: '' + attributes: '' + effect: none + speed: fast + required_fields: true + group_project_status: + children: + - field_project_status + label: 'project status' + region: content + parent_name: group_grid + weight: 21 + format_type: html_element + format_settings: + classes: g--24 + show_empty_fields: false + id: '' + label_as_html: false + element: div + show_label: false + label_element: h3 + label_element_classes: '' + attributes: '' + effect: none + speed: fast + required_fields: true id: taxonomy_term.project_stage.default targetEntityType: taxonomy_term bundle: project_stage mode: default content: - description: - type: text_textarea - weight: 1 - region: content - settings: - rows: 5 - placeholder: '' - third_party_settings: { } field_icon: - type: entity_browser_entity_reference - weight: 3 + type: media_library_widget + weight: 26 region: content settings: - entity_browser: icon_entity_browser - field_widget_display: label - field_widget_edit: true - field_widget_remove: true - field_widget_replace: true - open: false - field_widget_display_settings: { } - selection_mode: selection_append + media_types: { } third_party_settings: { } field_project_status: type: options_select - weight: 2 + weight: 22 region: content settings: { } third_party_settings: { } - langcode: - type: language_select - weight: 4 + field_project_type: + type: options_select + weight: 21 region: content - settings: - include_locked: true + settings: { } third_party_settings: { } name: type: string_textfield - weight: 0 + weight: 21 region: content settings: size: 60 - placeholder: '' - third_party_settings: { } - path: - type: path - weight: 5 - region: content - settings: { } - third_party_settings: { } - status: - type: boolean_checkbox - weight: 6 - region: content - settings: - display_label: true - third_party_settings: { } -hidden: { } + placeholder: 'The Project Stage' + third_party_settings: + advanced_text_formatter: + show_token_tree: 0 + bos_core: + show_token_tree: 0 +hidden: + description: true + langcode: true + path: true + status: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_status.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_status.default.yml index ff0065d71d..880d7dacc2 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_status.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_status.default.yml @@ -2,60 +2,85 @@ langcode: en status: true dependencies: config: + - entity_browser.browser.icon_entity_browser - field.field.taxonomy_term.project_status.field_icon - taxonomy.vocabulary.project_status module: - - path + - entity_browser + - field_group - text +third_party_settings: + field_group: + group_project_status: + children: + - group_basic_information + label: 'Project Status' + region: content + parent_name: '' + weight: 0 + format_type: tabs + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + direction: vertical + width_breakpoint: 640 + group_basic_information: + children: + - name + - field_icon + - description + label: 'Basic Information' + region: content + parent_name: group_project_status + weight: 7 + format_type: tab + format_settings: + classes: '' + show_empty_fields: true + id: '' + label_as_html: false + formatter: open + description: "

A Project Status is a status that will appear on all time-lines for all new and existing Project content types.

\r\n

Care: this will affect the timeline on all past, current and future Projects.

" + required_fields: true id: taxonomy_term.project_status.default targetEntityType: taxonomy_term bundle: project_status mode: default content: description: - type: text_textfield - weight: 0 + type: text_textarea + weight: 3 region: content settings: - size: 60 + rows: 5 placeholder: '' third_party_settings: { } field_icon: - type: entity_reference_autocomplete - weight: 6 - region: content - settings: - match_operator: CONTAINS - match_limit: 10 - size: 60 - placeholder: '' - third_party_settings: { } - langcode: - type: language_select + type: entity_browser_entity_reference weight: 2 region: content settings: - include_locked: true + entity_browser: icon_entity_browser + field_widget_display: rendered_entity + field_widget_edit: true + field_widget_remove: true + field_widget_replace: false + open: false + field_widget_display_settings: + view_mode: default + selection_mode: selection_append third_party_settings: { } name: type: string_textfield - weight: -5 + weight: 1 region: content settings: size: 60 placeholder: '' third_party_settings: { } - path: - type: path - weight: 30 - region: content - settings: { } - third_party_settings: { } - status: - type: boolean_checkbox - weight: 100 - region: content - settings: - display_label: true - third_party_settings: { } -hidden: { } +hidden: + langcode: true + path: true + status: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_type.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_type.default.yml index b0bae00ae4..f01c914848 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_type.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_form_display.taxonomy_term.project_type.default.yml @@ -7,21 +7,46 @@ dependencies: - taxonomy.vocabulary.project_type module: - entity_browser - - path - - text + - field_group +third_party_settings: + field_group: + group_project_type: + children: + - group_basic_information + label: 'Project Type' + region: content + parent_name: '' + weight: 0 + format_type: tabs + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + direction: vertical + width_breakpoint: 640 + group_basic_information: + children: + - name + - field_icon + label: 'Basic Information' + region: content + parent_name: group_project_type + weight: 20 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + formatter: open + description: '' + required_fields: true id: taxonomy_term.project_type.default targetEntityType: taxonomy_term bundle: project_type mode: default content: - description: - type: text_textarea - weight: 1 - region: content - settings: - rows: 5 - placeholder: '' - third_party_settings: { } field_icon: type: entity_browser_entity_reference weight: 2 @@ -37,32 +62,16 @@ content: view_mode: thumbnail selection_mode: selection_append third_party_settings: { } - langcode: - type: language_select - weight: 3 - region: content - settings: - include_locked: true - third_party_settings: { } name: type: string_textfield - weight: 0 + weight: 1 region: content settings: size: 60 placeholder: '' third_party_settings: { } - path: - type: path - weight: 4 - region: content - settings: { } - third_party_settings: { } - status: - type: boolean_checkbox - weight: 5 - region: content - settings: - display_label: true - third_party_settings: { } -hidden: { } +hidden: + description: true + langcode: true + path: true + status: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.card.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.card.yml index 9ee93acbea..5c7bc47334 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.card.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.card.yml @@ -6,8 +6,8 @@ dependencies: - field.field.node.project.body - field.field.node.project.field_components - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email + - field.field.node.project.field_intro_text - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo @@ -16,7 +16,6 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -59,8 +58,8 @@ content: hidden: field_components: true field_contact: true - field_cost: true field_email: true + field_intro_text: true field_project_address: true field_project_address_geo_polygo: true field_project_address_geolocatio: true @@ -68,7 +67,6 @@ hidden: field_project_date: true field_project_features: true field_project_image: true - field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.default.yml index 56533c467f..17e89eceb9 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.default.yml @@ -5,8 +5,8 @@ dependencies: - field.field.node.project.body - field.field.node.project.field_components - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email + - field.field.node.project.field_intro_text - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo @@ -15,12 +15,12 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year - field.field.node.project.field_role_contact - field.field.node.project.field_single_neighborhood + - filter.format.plain_text - node.type.project module: - address @@ -89,6 +89,13 @@ content: fences_label_classes: '' weight: 6 region: content + field_intro_text: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 2 + region: content field_phone_number: type: string label: hidden @@ -112,10 +119,322 @@ content: weight: 107 region: content field_project_address_geolocatio: - type: geolocation_latlng + type: geolocation_map label: above - settings: { } - third_party_settings: { } + settings: + set_marker: true + show_label: false + common_map: true + show_delta_label: false + use_overridden_map_settings: false + title: '' + info_text: + value: '' + format: plain_text + centre: + fit_bounds: + enable: true + weight: -101 + settings: + reset_zoom: true + min_zoom: null + map_center_id: fit_bounds + client_location: + enable: false + weight: 0 + map_center_id: client_location + ipstack: + enable: false + weight: 0 + settings: + location_option_id: ipstack + access_key: '' + map_center_id: location_plugins + fixed_value: + enable: false + weight: 0 + settings: + location_option_id: fixed_value + latitude: null + longitude: null + map_center_id: location_plugins + fixed_boundaries: + enable: false + weight: 0 + settings: + south: '' + west: '' + north: '' + east: '' + map_center_id: fixed_boundaries + map_provider_id: google_maps + map_provider_settings: + map_features: + google_maps_layer_bicycling: + weight: 0 + enabled: false + client_location_indicator: + weight: 0 + enabled: false + context_popup: + weight: 0 + settings: + content: + value: '' + format: filtered_html + enabled: false + drawing: + weight: 0 + settings: + polyline: false + strokeColor: '#FF0000' + strokeOpacity: '0.8' + strokeWeight: '2' + geodesic: false + polygon: false + fillColor: '#FF0000' + fillOpacity: '0.35' + enabled: false + geolocation_google_maps_control_directions: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + origin_source: exposed + origin_static_value: '' + destination_source: exposed + destination_static_value: '' + travel_mode: exposed + directions_container: below + directions_container_custom_id: '' + enabled: false + map_disable_tilt: + weight: 0 + enabled: false + map_disable_poi: + weight: 0 + enabled: false + map_disable_user_interaction: + weight: 0 + enabled: false + geolocation_shapes: + weight: 0 + settings: + remove_markers: false + polyline: true + polyline_title: '' + strokeColor: '#FF0000' + strokeOpacity: 0.8 + strokeWidth: '2' + polygon: false + polygon_title: '' + fillColor: '#FF0000' + fillOpacity: 0.35 + enabled: false + control_fullscreen: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + enabled: false + control_geocoder: + weight: 0 + settings: + position: TOP_LEFT + geocoder: google_geocoding_api + settings: + label: Address + description: 'Enter an address to be localized.' + autocomplete_min_length: 1 + component_restrictions: + route: '' + country: '' + administrative_area: '' + locality: '' + postal_code: '' + boundary_restriction: + south: '' + west: '' + north: '' + east: '' + region: '' + enabled: false + control_loading_indicator: + weight: 0 + settings: + position: TOP_LEFT + loading_label: Loading + enabled: false + control_locate: + weight: 0 + settings: + position: TOP_LEFT + enabled: true + control_maptype: + weight: 0 + settings: + position: RIGHT_BOTTOM + behavior: default + style: DEFAULT + enabled: true + control_recenter: + weight: 0 + settings: + position: TOP_LEFT + enabled: false + control_rotate: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + enabled: false + control_streetview: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + enabled: false + control_zoom: + weight: 0 + settings: + position: RIGHT_CENTER + behavior: default + style: LARGE + enabled: true + map_restriction: + weight: 0 + settings: + north: '' + south: '' + east: '' + west: '' + strict: true + enabled: false + map_type_style: + weight: 0 + settings: + style: '[]' + enabled: false + marker_clusterer: + weight: 0 + settings: + image_path: '' + styles: '' + max_zoom: 15 + minimum_cluster_size: 2 + zoom_on_click: true + average_center: false + grid_size: 60 + enabled: false + marker_icon: + weight: 0 + settings: + marker_icon_path: '' + anchor: + x: 0 + 'y': 0 + origin: + x: 0 + 'y': 0 + label_origin: + x: 0 + 'y': 0 + size: + width: null + height: null + scaled_size: + width: null + height: null + enabled: false + marker_infobubble: + weight: 0 + settings: + close_other: 1 + close_button: 0 + close_button_src: '' + shadow_style: 0 + padding: 10 + border_radius: 8 + border_width: 2 + border_color: '#039be5' + background_color: '#fff' + min_width: null + max_width: 550 + min_height: null + max_height: null + arrow_style: 2 + arrow_position: 30 + arrow_size: 10 + enabled: false + marker_infowindow: + weight: 0 + settings: + info_window_solitary: true + disable_auto_pan: true + info_auto_display: false + max_width: null + enabled: true + marker_label: + weight: 0 + settings: + color: '' + font_family: '' + font_size: '' + font_weight: '' + enabled: false + marker_opacity: + weight: 0 + settings: + opacity: 1.0 + enabled: false + geolocation_marker_scroll_to_id: + weight: 0 + settings: + scroll_target_id: '' + enabled: false + marker_zoom_to_animate: + weight: 0 + settings: + marker_zoom_anchor_id: '' + enabled: false + spiderfying: + weight: 0 + settings: + spiderfiable_marker_path: /modules/contrib/geolocation/modules/geolocation_google_maps/images/marker-plus.svg + markersWontMove: true + markersWontHide: false + keepSpiderfied: true + ignoreMapClick: false + nearbyDistance: 20 + circleSpiralSwitchover: 9 + circleFootSeparation: 23 + spiralFootSeparation: 26 + spiralLengthStart: 11 + spiralLengthFactor: 4 + legWeight: 1.5 + enabled: false + google_maps_layer_traffic: + weight: 0 + enabled: false + google_maps_layer_transit: + weight: 0 + enabled: false + type: ROADMAP + zoom: 10 + minZoom: 0 + maxZoom: 20 + height: 400px + width: 100% + gestureHandling: auto + data_provider_settings: { } + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: '' + fences_field_item_tag: div + fences_field_item_classes: '' + fences_label_tag: div + fences_label_classes: '' weight: 106 region: content field_project_cost: @@ -208,7 +527,5 @@ content: weight: 100 region: content hidden: - field_cost: true - field_project_manager_email: true langcode: true published_at: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.featured_item.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.featured_item.yml index 8458b76fe0..404cb4d906 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.featured_item.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.featured_item.yml @@ -6,8 +6,8 @@ dependencies: - field.field.node.project.body - field.field.node.project.field_components - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email + - field.field.node.project.field_intro_text - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo @@ -16,7 +16,6 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -44,8 +43,8 @@ hidden: body: true field_components: true field_contact: true - field_cost: true field_email: true + field_intro_text: true field_phone_number: true field_project_address: true field_project_address_geo_polygo: true @@ -54,7 +53,6 @@ hidden: field_project_date: true field_project_features: true field_project_image: true - field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.grid_item.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.grid_item.yml index 4a9f12100c..8cda71488e 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.grid_item.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.node.project.grid_item.yml @@ -6,8 +6,8 @@ dependencies: - field.field.node.project.body - field.field.node.project.field_components - field.field.node.project.field_contact - - field.field.node.project.field_cost - field.field.node.project.field_email + - field.field.node.project.field_intro_text - field.field.node.project.field_phone_number - field.field.node.project.field_project_address - field.field.node.project.field_project_address_geo_polygo @@ -16,7 +16,6 @@ dependencies: - field.field.node.project.field_project_date - field.field.node.project.field_project_features - field.field.node.project.field_project_image - - field.field.node.project.field_project_manager_email - field.field.node.project.field_project_stage - field.field.node.project.field_project_type - field.field.node.project.field_project_year @@ -51,8 +50,8 @@ content: hidden: field_components: true field_contact: true - field_cost: true field_email: true + field_intro_text: true field_phone_number: true field_project_address: true field_project_address_geo_polygo: true @@ -61,7 +60,6 @@ hidden: field_project_date: true field_project_features: true field_project_image: true - field_project_manager_email: true field_project_stage: true field_project_type: true field_project_year: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.taxonomy_term.project_features.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.taxonomy_term.project_features.default.yml new file mode 100644 index 0000000000..4aa218c2ae --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.taxonomy_term.project_features.default.yml @@ -0,0 +1,39 @@ +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.project_features.field_icon + - taxonomy.vocabulary.project_features + module: + - fences + - text +id: taxonomy_term.project_features.default +targetEntityType: taxonomy_term +bundle: project_features +mode: default +content: + description: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content + field_icon: + type: entity_reference_entity_view + label: hidden + settings: + view_mode: default + link: false + third_party_settings: + fences: + fences_field_tag: div + fences_field_classes: '' + fences_field_item_tag: none + fences_field_item_classes: b--g + fences_label_tag: none + fences_label_classes: '' + weight: 1 + region: content +hidden: + langcode: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.taxonomy_term.project_stage.default.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.taxonomy_term.project_stage.default.yml index bdbd8137da..14cb8a4da9 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.taxonomy_term.project_stage.default.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/core.entity_view_display.taxonomy_term.project_stage.default.yml @@ -4,6 +4,7 @@ dependencies: config: - field.field.taxonomy_term.project_stage.field_icon - field.field.taxonomy_term.project_stage.field_project_status + - field.field.taxonomy_term.project_stage.field_project_type - taxonomy.vocabulary.project_stage module: - fences @@ -18,7 +19,7 @@ content: label: hidden settings: { } third_party_settings: { } - weight: 0 + weight: 3 region: content field_icon: type: entity_reference_entity_view @@ -34,15 +35,23 @@ content: fences_field_item_classes: b--g fences_label_tag: none fences_label_classes: '' - weight: 1 + weight: 2 region: content field_project_status: type: entity_reference_label - label: above + label: hidden settings: link: true third_party_settings: { } - weight: 2 + weight: 1 + region: content + field_project_type: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 0 region: content hidden: langcode: true diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_contact.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_contact.yml index 72dee760e6..8729ffdf69 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_contact.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_contact.yml @@ -15,7 +15,7 @@ field_name: field_contact entity_type: node bundle: project label: Department -description: 'Start typing, then select the Department from the autocomplete dropdown.' +description: 'Select multiple contacts which will populate the "Who''s Involved" component on the Project homepage.' required: true translatable: false default_value: { } diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_cost.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_cost.yml deleted file mode 100644 index 1c75658cc9..0000000000 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_cost.yml +++ /dev/null @@ -1,18 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_cost - - node.type.project -id: node.project.field_cost -field_name: field_cost -entity_type: node -bundle: project -label: 'Project Cost' -description: 'Enter the budgeted cost, formatted as you would like on the page (e.g. "$4.5 M")' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_intro_text.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_intro_text.yml new file mode 100644 index 0000000000..76168a1dfc --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.node.project.field_intro_text.yml @@ -0,0 +1,23 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_intro_text + - filter.format.filtered_html + - node.type.project + module: + - text +id: node.project.field_intro_text +field_name: field_intro_text +entity_type: node +bundle: project +label: 'Intro Text' +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: + - filtered_html +field_type: text_long diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_features.field_icon.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_features.field_icon.yml new file mode 100644 index 0000000000..0add1b8615 --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_features.field_icon.yml @@ -0,0 +1,28 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_icon + - media.type.icon + - taxonomy.vocabulary.project_features +id: taxonomy_term.project_features.field_icon +field_name: field_icon +entity_type: taxonomy_term +bundle: project_features +label: Icon +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + icon: icon + sort: + field: _none + direction: ASC + auto_create: true + auto_create_bundle: '' +field_type: entity_reference diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_stage.field_project_status.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_stage.field_project_status.yml index 5d995651c0..dc660f5d5f 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_stage.field_project_status.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_stage.field_project_status.yml @@ -12,8 +12,8 @@ field_name: field_project_status entity_type: taxonomy_term bundle: project_stage label: 'Project Status' -description: 'The timeline status for this project stage.' -required: false +description: 'Select the timeline status that this stage is an alias for.' +required: true translatable: false default_value: - diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_stage.field_project_type.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_stage.field_project_type.yml new file mode 100644 index 0000000000..ebffbf15bf --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_stage.field_project_type.yml @@ -0,0 +1,28 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_project_type + - taxonomy.vocabulary.project_stage + - taxonomy.vocabulary.project_type +id: taxonomy_term.project_stage.field_project_type +field_name: field_project_type +entity_type: taxonomy_term +bundle: project_stage +label: 'Project Type' +description: 'Select the Project type that this stage applies to.' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + project_type: project_type + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_type.field_icon.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_type.field_icon.yml index d48b73f09f..64c6d04fbd 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_type.field_icon.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.field.taxonomy_term.project_type.field_icon.yml @@ -11,7 +11,7 @@ entity_type: taxonomy_term bundle: project_type label: Icon description: '' -required: false +required: true translatable: false default_value: { } default_value_callback: '' diff --git a/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.taxonomy_term.field_project_type.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.taxonomy_term.field_project_type.yml new file mode 100644 index 0000000000..522cfc8a5c --- /dev/null +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/field.storage.taxonomy_term.field_project_type.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + module: + - taxonomy +id: taxonomy_term.field_project_type +field_name: field_project_type +entity_type: taxonomy_term +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/docroot/modules/custom/bos_content/modules/node_project/config/optional/taxonomy.vocabulary.project_type.yml b/docroot/modules/custom/bos_content/modules/node_project/config/optional/taxonomy.vocabulary.project_type.yml index 3288163474..b4b39c5fed 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/config/optional/taxonomy.vocabulary.project_type.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/config/optional/taxonomy.vocabulary.project_type.yml @@ -3,6 +3,6 @@ status: true dependencies: { } name: 'Project Type' vid: project_type -description: null +description: 'The project Type (project)' weight: 0 new_revision: false diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml index 9569404b58..5df049aefb 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.info.yml @@ -7,90 +7,84 @@ dependencies: - bos_content config_devel: optional: - - node.type.project - - field.storage.node.field_project_image - - field.storage.node.field_project_cost - - field.storage.node.field_project_date - - field.storage.node.field_project_address_geo_polygo - - field.storage.node.field_project_address_geolocatio - - field.storage.node.field_project_address - - field.storage.node.field_project_year - - field.storage.node.field_project_type - - field.storage.node.field_project_stage - - field.storage.node.field_project_features - - field.storage.node.field_role_contact - - field.field.node.project.body - - field.field.node.project.field_cost - - field.field.node.project.field_project_image - - field.field.node.project.field_project_date - - field.field.node.project.field_project_address_geo_polygo - - field.field.node.project.field_project_address_geolocatio - - field.field.node.project.field_project_address - - field.field.node.project.field_phone_number - - field.field.node.project.field_email - - field.field.node.project.field_project_year - - field.field.node.project.field_contact - - field.field.node.project.field_single_neighborhood - - field.field.node.project.field_project_features - - field.field.node.project.field_project_stage - - field.field.node.project.field_project_type - - field.field.node.project.field_project_cost - - field.field.node.project.field_role_contact - - field.field.node.project.field_components - - core.base_field_override.node.project.title - - core.base_field_override.node.project.promote - - core.entity_form_display.taxonomy_term.project_features.default - - core.entity_form_display.node.project.default - - core.entity_view_display.node.project.default - - core.entity_view_display.node.project.card - - core.entity_view_display.node.project.grid_item - - core.entity_view_display.node.project.featured_item - - language.content_settings.node.project - - rabbit_hole.behavior_settings.node_type_project - - - taxonomy.vocabulary.project_stage - - field.storage.taxonomy_term.field_project_status - - field.field.taxonomy_term.project_stage.field_icon - - field.field.taxonomy_term.project_stage.field_project_status - - core.entity_view_display.taxonomy_term.project_stage.default - - core.entity_form_display.taxonomy_term.project_stage.default - - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage - - language.content_settings.taxonomy_term.project_stage - - - taxonomy.vocabulary.project_status - - field.field.taxonomy_term.project_status.field_icon - - core.entity_view_display.taxonomy_term.project_status.default - - core.entity_form_display.taxonomy_term.project_status.default - - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status - - language.content_settings.taxonomy_term.project_status - - - taxonomy.vocabulary.project_type - - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type - - language.content_settings.taxonomy_term.project_type - - field.field.taxonomy_term.project_type.field_icon - - core.entity_form_display.taxonomy_term.project_type.default - - core.entity_view_display.taxonomy_term.project_type.default - - - taxonomy.vocabulary.project_features - - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features - - language.content_settings.taxonomy_term.project_features - - - taxonomy.vocabulary.project_role - - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role - - language.content_settings.taxonomy_term.project_role - - core.entity_form_display.taxonomy_term.project_role.default - - - paragraphs.paragraphs_type.contact_role - - field.storage.paragraph.field_email - - field.field.paragraph.contact_role.field_email - - field.field.paragraph.contact_role.field_company_name - - field.storage.paragraph.field_role - - field.field.paragraph.contact_role.field_role - - field.storage.paragraph.field_phone - - field.field.paragraph.contact_role.field_phone - - core.entity_view_display.paragraph.contact_role.default - - core.entity_form_display.paragraph.contact_role.default - - - - + - core.base_field_override.node.project.promote + - core.base_field_override.node.project.title + - core.entity_form_display.node.project.default + - core.entity_form_display.paragraph.contact_role.default + - core.entity_form_display.taxonomy_term.project_features.default + - core.entity_form_display.taxonomy_term.project_role.default + - core.entity_form_display.taxonomy_term.project_stage.default + - core.entity_form_display.taxonomy_term.project_status.default + - core.entity_form_display.taxonomy_term.project_type.default + - core.entity_view_display.node.project.card + - core.entity_view_display.node.project.default + - core.entity_view_display.node.project.featured_item + - core.entity_view_display.node.project.grid_item + - core.entity_view_display.paragraph.contact_role.default + - core.entity_view_display.taxonomy_term.project_features.default + - core.entity_view_display.taxonomy_term.project_stage.default + - core.entity_view_display.taxonomy_term.project_status.default + - core.entity_view_display.taxonomy_term.project_type.default + - field.field.node.project.body + - field.field.node.project.field_components + - field.field.node.project.field_contact + - field.field.node.project.field_email + - field.field.node.project.field_intro_text + - field.field.node.project.field_phone_number + - field.field.node.project.field_project_address + - field.field.node.project.field_project_address_geo_polygo + - field.field.node.project.field_project_address_geolocatio + - field.field.node.project.field_project_cost + - field.field.node.project.field_project_date + - field.field.node.project.field_project_features + - field.field.node.project.field_project_image + - field.field.node.project.field_project_stage + - field.field.node.project.field_project_type + - field.field.node.project.field_project_year + - field.field.node.project.field_role_contact + - field.field.node.project.field_single_neighborhood + - field.field.paragraph.contact_role.field_company_name + - field.field.paragraph.contact_role.field_email + - field.field.paragraph.contact_role.field_phone + - field.field.paragraph.contact_role.field_role + - field.field.taxonomy_term.project_features.field_icon + - field.field.taxonomy_term.project_stage.field_icon + - field.field.taxonomy_term.project_stage.field_project_status + - field.field.taxonomy_term.project_stage.field_project_type + - field.field.taxonomy_term.project_status.field_icon + - field.field.taxonomy_term.project_type.field_icon + - field.storage.node.field_project_address + - field.storage.node.field_project_address_geo_polygo + - field.storage.node.field_project_address_geolocatio + - field.storage.node.field_project_cost + - field.storage.node.field_project_date + - field.storage.node.field_project_features + - field.storage.node.field_project_image + - field.storage.node.field_project_stage + - field.storage.node.field_project_type + - field.storage.node.field_project_year + - field.storage.node.field_role_contact + - field.storage.paragraph.field_email + - field.storage.paragraph.field_phone + - field.storage.paragraph.field_role + - field.storage.taxonomy_term.field_project_status + - field.storage.taxonomy_term.field_project_type + - language.content_settings.node.project + - language.content_settings.taxonomy_term.project_features + - language.content_settings.taxonomy_term.project_role + - language.content_settings.taxonomy_term.project_stage + - language.content_settings.taxonomy_term.project_status + - language.content_settings.taxonomy_term.project_type + - node.type.project + - paragraphs.paragraphs_type.contact_role + - rabbit_hole.behavior_settings.node_type_project + - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_features + - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_role + - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_stage + - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_status + - rabbit_hole.behavior_settings.taxonomy_vocabulary_project_type + - taxonomy.vocabulary.project_features + - taxonomy.vocabulary.project_role + - taxonomy.vocabulary.project_stage + - taxonomy.vocabulary.project_status + - taxonomy.vocabulary.project_type diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.install b/docroot/modules/custom/bos_content/modules/node_project/node_project.install index d928dc2c45..9ab1061b03 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/node_project.install +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.install @@ -1,9 +1,10 @@ 'Project Features', 'description' => 'Features related to a Project.', 'terms' => [ - 'Community-funded' => [], - 'Mayor-sponsored' => [], + 'Community-funded' => [ + 'fields' => [ + 'field_icon' => "circle community room" + ] + ], + 'Mayor-sponsored' => [ + 'fields' => [ + 'field_icon' => "experiential mayoral proclamation" + ] + ], ], ], 'project_role' => [ 'name' => 'Project Role', 'description' => 'Roles that are related to Project personnel or vendors.', 'terms' => [ + 'Architect' => [], + 'Designer' => [], + 'Construction Manager' => [], 'Consultant' => [], 'Developer' => [], 'Project Manager' => [], 'Vendor' => [], ], ], - 'project_status' => [ - 'name' => 'Project Status', - 'description' => 'Project timeline status.', + 'project_type' => [ + 'name' => 'Project Type', + 'description' => 'The Project type.', + 'fields' => ['field_icon'], 'terms' => [ - 'None' => [ + 'Arts and Culture' => [ 'fields' => [ - 'field_icon' => "check no" + 'field_icon' => "experiential art supplies" ] ], - 'Complete' => [ + 'Community Centers' => [ 'fields' => [ - 'field_icon' => "wellenss" + 'field_icon' => "circle community centers" ] ], - 'Construction' => [ + 'Housing' => [ 'fields' => [ - 'field_icon' => "closed roads" + 'field_icon' => "experiential house" ] ], - 'Design' => [ + 'Libraries' => [ 'fields' => [ - 'field_icon' => "pencil" + 'field_icon' => "experiential open book" ] ], - 'Planning' => [ + 'Municipal Buildings' => [ 'fields' => [ - 'field_icon' => "pencil" + 'field_icon' => "experiential city hall" ] ], - ], - ], - 'project_stage' => [ - 'name' => 'Project Stage', - 'description' => 'The projects Status/Stage.', - 'terms' => [ - 'Abandoned' => [ + 'Other Public Facilities' => [ 'fields' => [ - 'field_icon' => "check no", - 'field_project_status' => "None", + 'field_icon' => "experiential school 2" ] ], - 'Approved' => [ + 'Parks and Green Space' => [ 'fields' => [ - 'field_icon' => "check yes", - 'field_project_status' => "Planning", + 'field_icon' => "experiential park location" ] ], - 'Archived' => [ + 'Public Safety' => [ 'fields' => [ - 'field_icon' => "drupal archive", - 'field_project_status' => "Complete", + 'field_icon' => "experiential fire truck" ] ], - 'Completed' => [ + 'Schools' => [ 'fields' => [ - 'field_icon' => "building", - 'field_project_status' => "Complete", + 'field_icon' => "experiential school" ] ], - 'In Progress' => [ + 'Streets' => [ 'fields' => [ - 'field_icon' => "construction tool", - 'field_project_status' => "Construction", + 'field_icon' => "experiential street sign" ] ], - 'Planning' => [ + ], + ], + 'project_status' => [ + 'name' => 'Project Status', + 'description' => 'Project timeline status.', + 'terms' => [ + 'Complete' => [ 'fields' => [ - 'field_icon' => "pencil", - 'field_project_status' => "Planning", + 'field_icon' => "experiential dove" ] ], - 'Proposed' => [ + 'Construction' => [ 'fields' => [ - 'field_icon' => "small circle music studio", - 'field_project_status' => "Planning", + 'field_icon' => "experiential construction" + ] + ], + 'Design' => [ + 'fields' => [ + 'field_icon' => "experiential art supplies" + ] + ], + 'Pending' => [ + 'fields' => [ + 'field_icon' => "experiential custom hours" + ] + ], + 'Planning' => [ + 'fields' => [ + 'field_icon' => "experiential plan" ] ], ], ], - 'project_type' => [ - 'name' => 'Project Type', - 'description' => 'The Project type.', - 'fields' => ['field_icon'], + 'project_stage' => [ + 'name' => 'Project Stage', + 'description' => 'The projects Status/Stage.', 'terms' => [ - 'Park' => [ + 'Pending Stage' => [ 'fields' => [ - 'field_icon' => "park location" + 'field_icon' => "experiential custom hours", + 'field_project_status' => "Pending", + 'field_project_type' => [ + "Other Public Facilities", + "Parks and Green Space" + ], ] ], - 'Playground' => [ + 'Design Stage' => [ 'fields' => [ - 'field_icon' => "playground" + 'field_icon' => "experiential lock", + 'field_project_status' => "Design", + 'field_project_type' => [ + "Other Public Facilities", + "Parks and Green Space" + ], ] ], - 'Playing Field' => [ + 'Completed Stage' => [ 'fields' => [ - 'field_icon' => "sports" + 'field_icon' => "Method...", + 'field_project_status' => "Complete", + 'field_project_type' => [ + "Other Public Facilities", + "Parks and Green Space" + ], + ] + ], + 'In Progress Stage' => [ + 'fields' => [ + 'field_icon' => "experiential construction tool", + 'field_project_status' => "Construction", + 'field_project_type' => [ + "Other Public Facilities", + "Parks and Green Space" + ], ] ], - 'Transportation' => [ + 'Planning Stage' => [ 'fields' => [ - 'field_icon' => "experiential car back" + 'field_icon' => "experiential plan", + 'field_project_status' => "Planning", + 'field_project_type' => [ + "Other Public Facilities", + "Parks and Green Space" + ], ] ], ], @@ -171,7 +221,7 @@ function _node_project_load_taxonomies():void { $vocabulary->save(); } - // Chevk the terms in the structure. + // Check the terms in the structure. foreach ($data['terms'] as $term_name => &$term_data) { $term_id = \Drupal::entityQuery('taxonomy_term') ->condition('vid', $type) @@ -210,10 +260,17 @@ function _node_project_load_taxonomies():void { } break; case 'field_project_status': + case 'field_project_type': // Get the tid for the entity reference, and save. - $term->set("field_project_status", [ - "target_id" => $tax_struct['project_status']['terms'][$field_value]['tid'] - ])->save(); + $target_term_name = str_ireplace("field_", "", $field_name); + if (!is_array($field_value)) { + $field_value = [$field_value]; + } + foreach($field_value as $field_delta_value) { + $term->set($field_name, [ + "target_id" => $tax_struct[$target_term_name]['terms'][$field_delta_value]['tid'], + ])->save(); + } break; } } diff --git a/docroot/modules/custom/bos_content/modules/node_project/node_project.module b/docroot/modules/custom/bos_content/modules/node_project/node_project.module index 36e195894c..a736e85547 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/node_project.module +++ b/docroot/modules/custom/bos_content/modules/node_project/node_project.module @@ -7,6 +7,9 @@ @file docroot/modules/custom/bos_content/modules/node_project/node_project.module */ + +use Drupal\Core\Render\Markup; +use Drupal\taxonomy\Entity\Term; use Symfony\Component\DomCrawler\Crawler; use Drupal\bos_geocoder\Controller\BosGeocoderController; use Drupal\bos_geocoder\Utility\BosGeoAddress; @@ -19,10 +22,10 @@ use Drupal\Core\Render\BubbleableMetadata; function node_project_theme() { return [ -// 'node__project' => [ -// 'render element' => 'content', -// 'base hook' => 'node', -// ], + 'node__project' => [ + 'render element' => 'content', + 'base hook' => 'node', + ], 'node__project__map' => [ 'base hook' => "node", ], @@ -75,6 +78,21 @@ function node_project_form_node_project_edit_form_alter(&$form, FormStateInterfa _node_project_create_ajax($form); } +/** + * Implements hook_paragraph_HOOK_summary_alter(). + */ +function node_project_paragraph_contact_role_summary_alter(array $form_widget, array $para, array $attributes) { + if ($termid = $para["entity"]->field_role->target_id) { + $term = Term::load($termid); + $term = $term->getName() ?? ''; + $markup[] = Markup::create("$term: {$para["entity"]->field_company_name->value}"); + return [ + 'attributes' => $attributes, + 'content' => $markup, + ]; + } +} + function _node_project_create_ajax(array &$form){ $ajax = [ "callback" => '_ajax_cb_geocode', diff --git a/docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig b/docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig index 51c7bed248..c44511b891 100644 --- a/docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig +++ b/docroot/modules/custom/bos_content/modules/node_project/templates/node--project.html.twig @@ -28,7 +28,7 @@ Not published yet! {% endif %} - +{{ breakpoint() }}
@@ -58,7 +58,7 @@
    - {% if content.field_contact["#items"] and (content.field_hide_contact_form['#items'].value == 0 or content.field_contact["#items"] is null) %} + {% if content.field_contact["#items"] %}
  • Still have questions? Contact:
    {{ content.field_contact }} @@ -78,6 +78,22 @@ {{ content.field_components }}
{% endif %} + + {% if content.field_contact["#items"] %} +
+
+
+
+

Who's Involved:

+
+
+ {{ content.field_contacts }} +
+
+
+
+ {% endif %} +
From 2aca6ea7171b387e87e051ac3db76b4dd14b4b75 Mon Sep 17 00:00:00 2001 From: David Upton Date: Thu, 7 Nov 2024 12:08:46 -0500 Subject: [PATCH 14/14] DIG-4949 removes content author permissions on node_project --- config/default/user.role.content_author.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/config/default/user.role.content_author.yml b/config/default/user.role.content_author.yml index 7ef05df8c6..ae72f9eee1 100644 --- a/config/default/user.role.content_author.yml +++ b/config/default/user.role.content_author.yml @@ -154,12 +154,10 @@ permissions: - 'create post content' - 'create procurement_advertisement content' - 'create program_initiative_profile content' - - 'create project content' - 'create public_notice content' - 'create script_page content' - 'create topic_page content' - 'date_recur_modular use sierra form' - - 'delete own project content' - 'delete paragraph content 3_column_w_image' - 'delete paragraph content bid' - 'delete paragraph content bos311' @@ -224,7 +222,6 @@ permissions: - 'delete paragraph content transaction_grid' - 'delete paragraph content transactions' - 'delete paragraph content video' - - 'delete project revisions' - 'download any audio files' - 'download any image files' - 'download any video files' @@ -251,7 +248,6 @@ permissions: - 'edit any topic_page content' - 'edit any transaction content' - 'edit any video files' - - 'edit own project content' - 'revert article revisions' - 'revert department_profile revisions' - 'revert emergency_alert revisions' @@ -264,7 +260,6 @@ permissions: - 'revert post revisions' - 'revert procurement_advertisement revisions' - 'revert program_initiative_profile revisions' - - 'revert project revisions' - 'revert public_notice revisions' - 'revert script_page revisions' - 'revert site_alert revisions' @@ -380,7 +375,6 @@ permissions: - 'view post revisions' - 'view procurement_advertisement revisions' - 'view program_initiative_profile revisions' - - 'view project revisions' - 'view public_notice revisions' - 'view script_page revisions' - 'view status_item revisions'