diff --git a/config/default/core.extension.yml b/config/default/core.extension.yml
index e96a29123d..1fbe42e849 100644
--- a/config/default/core.extension.yml
+++ b/config/default/core.extension.yml
@@ -56,7 +56,6 @@ module:
draggableviews: 0
dropzonejs: 0
dynamic_page_cache: 0
- eck: 0
editor: 0
editor_advanced_link: 0
editoria11y: 0
@@ -275,12 +274,12 @@ module:
hs_admin: 1000
su_humsci_profile: 1000
theme:
- claro: 0
- gin: 0
- su_humsci_gin_admin: 0
stanford_basic: 0
humsci_basic: 0
- humsci_colorful: 0
humsci_traditional: 0
+ humsci_colorful: 0
+ claro: 0
+ gin: 0
+ su_humsci_gin_admin: 0
stable9: 0
profile: su_humsci_profile
diff --git a/config/default/eck.settings.yml b/config/default/eck.settings.yml
deleted file mode 100644
index 6cb95cbc42..0000000000
--- a/config/default/eck.settings.yml
+++ /dev/null
@@ -1 +0,0 @@
-use_admin_theme: true
diff --git a/config/default/views.view.hs_courses.yml b/config/default/views.view.hs_courses.yml
index 887be695ab..d2b84b1162 100644
--- a/config/default/views.view.hs_courses.yml
+++ b/config/default/views.view.hs_courses.yml
@@ -14,7 +14,7 @@ dependencies:
- node.type.hs_course
module:
- datetime
- - eck
+ - hs_entities
- hs_field_helpers
- hs_views_helper
- node
diff --git a/config/default/views.view.hs_default_courses.yml b/config/default/views.view.hs_default_courses.yml
index 9147944220..94f8b3cb7c 100644
--- a/config/default/views.view.hs_default_courses.yml
+++ b/config/default/views.view.hs_default_courses.yml
@@ -16,7 +16,7 @@ dependencies:
- taxonomy.vocabulary.hs_course_tags
module:
- datetime
- - eck
+ - hs_entities
- hs_field_helpers
- hs_views_helper
- node
diff --git a/config/default/views.view.hs_default_events.yml b/config/default/views.view.hs_default_events.yml
index ca156117ed..6fade99bad 100644
--- a/config/default/views.view.hs_default_events.yml
+++ b/config/default/views.view.hs_default_events.yml
@@ -15,7 +15,7 @@ dependencies:
- node.type.hs_event
- taxonomy.vocabulary.hs_event_type
module:
- - eck
+ - hs_entities
- entity_reference_exposed_filters
- hs_field_helpers
- node
diff --git a/config/default/views.view.hs_default_manage_content.yml b/config/default/views.view.hs_default_manage_content.yml
index b9593cbb60..d7e75f2d85 100644
--- a/config/default/views.view.hs_default_manage_content.yml
+++ b/config/default/views.view.hs_default_manage_content.yml
@@ -44,7 +44,7 @@ dependencies:
- taxonomy.vocabulary.hs_publication_type
module:
- datetime
- - eck
+ - hs_entities
- hs_field_helpers
- hs_migrate
- node
diff --git a/config/default/views.view.hs_publications.yml b/config/default/views.view.hs_publications.yml
index c124e9d05e..fb708a34ed 100644
--- a/config/default/views.view.hs_publications.yml
+++ b/config/default/views.view.hs_publications.yml
@@ -12,7 +12,7 @@ dependencies:
- taxonomy.vocabulary.hs_publication_type
module:
- datetime
- - eck
+ - hs_entities
- hs_views_helper
- node
- stanford_media
diff --git a/docroot/modules/humsci/hs_actions/src/Plugin/Action/CloneNode.php b/docroot/modules/humsci/hs_actions/src/Plugin/Action/CloneNode.php
index 63aa0b5cff..7a65ac2f03 100644
--- a/docroot/modules/humsci/hs_actions/src/Plugin/Action/CloneNode.php
+++ b/docroot/modules/humsci/hs_actions/src/Plugin/Action/CloneNode.php
@@ -223,7 +223,7 @@ public function execute($entity = NULL) {
protected function duplicateEntity(ContentEntityInterface $entity) {
$duplicate_entity = $entity->createDuplicate();
- // Loop through paragraph and eck fields to clone those entities.
+ // Loop through paragraph fields to clone those entities.
foreach ($this->getReferenceFields($entity->getEntityTypeId(), $entity->bundle()) as $field) {
foreach ($duplicate_entity->{$field->getName()} as $value) {
$value->entity = $this->duplicateEntity($value->entity);
@@ -275,12 +275,6 @@ protected function getFieldClonePlugins() {
protected function getReferenceFields($entity_type_id, $bundle) {
$fields = $this->entityFieldManager->getFieldDefinitions($entity_type_id, $bundle);
- if ($this->entityTypeManager->hasDefinition('eck_entity_type')) {
- $eck_types = $this->entityTypeManager->getStorage('eck_entity_type')
- ->loadMultiple();
- $clone_target_types = array_keys($eck_types);
- }
-
$clone_target_types[] = 'paragraph';
$clone_target_types[] = 'hs_entity';
diff --git a/docroot/modules/humsci/hs_config_prefix/hs_config_prefix.module b/docroot/modules/humsci/hs_config_prefix/hs_config_prefix.module
index a89a17e8fe..737e1c8902 100644
--- a/docroot/modules/humsci/hs_config_prefix/hs_config_prefix.module
+++ b/docroot/modules/humsci/hs_config_prefix/hs_config_prefix.module
@@ -9,7 +9,6 @@ use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Config\Entity\ConfigEntityBase;
use Drupal\Core\Form\FormStateInterface;
-use Drupal\eck\Entity\EckEntityType;
use Drupal\Core\Installer\InstallerKernel;
/**
@@ -88,17 +87,6 @@ function hs_config_prefix_entity_presave(EntityInterface $entity) {
'behavior_settings',
];
- if (\Drupal::moduleHandler()->moduleExists('eck')) {
- $eck_types = array_keys(EckEntityType::loadMultiple());
-
- // ECK appends _type to the machine name of each entity type it has, so we
- // have to do the same.
- foreach ($eck_types as &$type) {
- $type = "{$type}_type";
- }
- $exclude_config_types = array_merge($exclude_config_types, $eck_types);
- }
-
if (!in_array($entity->getEntityTypeId(), $exclude_config_types)) {
try {
hs_config_prefix_set_entity_id($entity);
diff --git a/docroot/modules/humsci/hs_courses/config/install/core.entity_form_display.course_collections.instructor.default.yml b/docroot/modules/humsci/hs_courses/config/install/core.entity_form_display.course_collections.instructor.default.yml
deleted file mode 100644
index e288afd8d1..0000000000
--- a/docroot/modules/humsci/hs_courses/config/install/core.entity_form_display.course_collections.instructor.default.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-uuid: 62da19a0-19a8-490d-aacd-667f11a036bb
-langcode: en
-status: true
-dependencies:
- config:
- - eck.eck_type.course_collections.instructor
- - field.field.course_collections.instructor.field_instructor_person
-id: course_collections.instructor.default
-targetEntityType: course_collections
-bundle: instructor
-mode: default
-content:
- field_instructor_person:
- weight: 1
- settings: { }
- third_party_settings: { }
- type: options_select
- region: content
- title:
- type: string_textfield
- weight: 0
- region: content
- settings:
- size: 60
- placeholder: ''
- third_party_settings: { }
-hidden:
- created: true
- uid: true
diff --git a/docroot/modules/humsci/hs_courses/config/install/core.entity_form_display.node.hs_course.default.yml b/docroot/modules/humsci/hs_courses/config/install/core.entity_form_display.node.hs_course.default.yml
index eb1c9a4d45..b9d7615cb5 100644
--- a/docroot/modules/humsci/hs_courses/config/install/core.entity_form_display.node.hs_course.default.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/core.entity_form_display.node.hs_course.default.yml
@@ -3,11 +3,11 @@ langcode: en
status: true
dependencies:
config:
- - entity_browser.browser.file_browser
- field.field.node.hs_course.body
- field.field.node.hs_course.field_hs_course_academic_career
- field.field.node.hs_course.field_hs_course_academic_year
- field.field.node.hs_course.field_hs_course_code
+ - field.field.node.hs_course.field_hs_course_code_int
- field.field.node.hs_course.field_hs_course_explore_tags
- field.field.node.hs_course.field_hs_course_grading
- field.field.node.hs_course.field_hs_course_id
@@ -31,11 +31,11 @@ dependencies:
- node.type.hs_course
module:
- datetime
- - entity_browser
- - entity_browser_entity_form
- field_group
+ - hs_field_helpers
- inline_entity_form
- link
+ - media_library
- path
- text
third_party_settings:
@@ -48,15 +48,16 @@ third_party_settings:
- field_hs_course_section_syllabus
- field_hs_course_section_location
- group_section_dates
+ label: 'Section Information'
+ region: content
parent_name: ''
- weight: 13
+ weight: 14
format_type: fieldset
format_settings:
- id: ''
classes: ''
+ id: ''
description: ''
required_fields: true
- label: 'Section Information'
group_section_dates:
children:
- field_hs_course_section_days
@@ -64,15 +65,16 @@ third_party_settings:
- field_hs_course_section_st_time
- field_hs_course_section_end_date
- field_hs_course_section_end_time
+ label: 'Section Dates'
+ region: content
parent_name: group_section_information
weight: 13
format_type: fieldset
format_settings:
- id: ''
classes: ''
+ id: ''
description: ''
required_fields: true
- label: 'Section Dates'
id: node.hs_course.default
targetEntityType: node
bundle: hs_course
@@ -80,30 +82,33 @@ mode: default
content:
body:
type: text_textarea_with_summary
- weight: 12
+ weight: 13
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
+ show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
- weight: 17
+ weight: 18
region: content
settings: { }
third_party_settings: { }
field_hs_course_academic_career:
- weight: 26
- settings: { }
- third_party_settings: { }
type: options_select
+ weight: 22
region: content
+ settings: { }
+ third_party_settings: { }
field_hs_course_academic_year:
- type: datetime_default
- weight: 4
+ type: datetime_academic_year
+ weight: 5
region: content
- settings: { }
+ settings:
+ min: 'now - 10 years'
+ max: 'now + 10 years'
third_party_settings: { }
field_hs_course_code:
type: string_textfield
@@ -113,18 +118,26 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
+ field_hs_course_code_int:
+ type: number
+ weight: 3
+ region: content
+ settings:
+ placeholder: ''
+ third_party_settings: { }
field_hs_course_explore_tags:
- weight: 27
+ type: entity_reference_autocomplete
+ weight: 23
+ region: content
settings:
match_operator: CONTAINS
+ match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
- type: entity_reference_autocomplete
- region: content
field_hs_course_grading:
type: string_textfield
- weight: 5
+ weight: 6
region: content
settings:
size: 60
@@ -132,14 +145,14 @@ content:
third_party_settings: { }
field_hs_course_id:
type: number
- weight: 3
+ weight: 4
region: content
settings:
placeholder: ''
third_party_settings: { }
field_hs_course_link:
type: link_default
- weight: 11
+ weight: 12
region: content
settings:
placeholder_url: ''
@@ -155,10 +168,11 @@ content:
third_party_settings: { }
field_hs_course_section_comp:
type: entity_reference_autocomplete
- weight: 6
+ weight: 7
region: content
settings:
match_operator: CONTAINS
+ match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
@@ -203,12 +217,10 @@ content:
allow_new: true
allow_existing: true
match_operator: CONTAINS
+ allow_duplicate: false
collapsible: false
collapsed: false
- allow_duplicate: false
- third_party_settings:
- entity_browser_entity_form:
- entity_browser_id: _none
+ third_party_settings: { }
field_hs_course_section_location:
type: string_textfield
weight: 12
@@ -226,7 +238,7 @@ content:
third_party_settings: { }
field_hs_course_section_quarter:
type: options_select
- weight: 7
+ weight: 8
region: content
settings: { }
third_party_settings: { }
@@ -245,22 +257,15 @@ content:
placeholder: ''
third_party_settings: { }
field_hs_course_section_syllabus:
- type: entity_browser_entity_reference
+ type: media_library_widget
weight: 11
region: content
settings:
- entity_browser: file_browser
- field_widget_display: label
- field_widget_edit: true
- field_widget_remove: true
- selection_mode: selection_append
- field_widget_replace: false
- open: false
- field_widget_display_settings: { }
+ media_types: { }
third_party_settings: { }
field_hs_course_section_units:
type: string_textfield
- weight: 9
+ weight: 10
region: content
settings:
size: 60
@@ -268,7 +273,7 @@ content:
third_party_settings: { }
field_hs_course_subject:
type: string_textfield
- weight: 8
+ weight: 9
region: content
settings:
size: 60
@@ -276,39 +281,40 @@ content:
third_party_settings: { }
field_hs_course_tags:
type: entity_reference_autocomplete
- weight: 10
+ weight: 11
region: content
settings:
match_operator: CONTAINS
+ match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
- weight: 18
+ weight: 19
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
+ weight: 16
+ region: content
settings:
display_label: true
- weight: 15
- region: content
third_party_settings: { }
status:
type: boolean_checkbox
+ weight: 21
+ region: content
settings:
display_label: true
- weight: 20
- region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
+ weight: 17
+ region: content
settings:
display_label: true
- weight: 16
- region: content
third_party_settings: { }
title:
type: string_textfield
@@ -320,15 +326,16 @@ content:
third_party_settings: { }
uid:
type: entity_reference_autocomplete
- weight: 14
+ weight: 15
+ region: content
settings:
match_operator: CONTAINS
+ match_limit: 10
size: 60
placeholder: ''
- region: content
third_party_settings: { }
url_redirects:
- weight: 19
+ weight: 20
region: content
settings: { }
third_party_settings: { }
diff --git a/docroot/modules/humsci/hs_courses/config/install/core.entity_view_display.course_collections.instructor.default.yml b/docroot/modules/humsci/hs_courses/config/install/core.entity_view_display.course_collections.instructor.default.yml
deleted file mode 100644
index 7ec458b867..0000000000
--- a/docroot/modules/humsci/hs_courses/config/install/core.entity_view_display.course_collections.instructor.default.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-uuid: 65e44979-6f86-4e60-af11-88c7f03aabb4
-langcode: en
-status: true
-dependencies:
- config:
- - eck.eck_type.course_collections.instructor
- - field.field.course_collections.instructor.field_instructor_person
- module:
- - field_formatter_class
- - hs_field_helpers
- - layout_builder
- - layout_discovery
-id: course_collections.instructor.default
-targetEntityType: course_collections
-bundle: instructor
-mode: default
-content:
- field_instructor_person:
- weight: 1
- label: hidden
- settings:
- link: true
- third_party_settings:
- field_formatter_class:
- class: ''
- hs_field_helpers:
- inline_contents: 0
- type: entity_reference_label
- region: content
- title:
- label: hidden
- type: string
- weight: 0
- region: content
- settings:
- link_to_entity: false
- third_party_settings: { }
-hidden:
- changed: true
- created: true
- uid: true
diff --git a/docroot/modules/humsci/hs_courses/config/install/core.entity_view_display.node.hs_course.default.yml b/docroot/modules/humsci/hs_courses/config/install/core.entity_view_display.node.hs_course.default.yml
index 82bd1c5ead..ff871d8e01 100644
--- a/docroot/modules/humsci/hs_courses/config/install/core.entity_view_display.node.hs_course.default.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/core.entity_view_display.node.hs_course.default.yml
@@ -7,6 +7,7 @@ dependencies:
- field.field.node.hs_course.field_hs_course_academic_career
- field.field.node.hs_course.field_hs_course_academic_year
- field.field.node.hs_course.field_hs_course_code
+ - field.field.node.hs_course.field_hs_course_code_int
- field.field.node.hs_course.field_hs_course_explore_tags
- field.field.node.hs_course.field_hs_course_grading
- field.field.node.hs_course.field_hs_course_id
@@ -30,6 +31,7 @@ dependencies:
- node.type.hs_course
- system.menu.main
module:
+ - hs_blocks
- hs_layouts
- layout_builder
- menu_block
@@ -43,6 +45,8 @@ third_party_settings:
-
layout_id: three_column
layout_settings:
+ label: ''
+ context_mapping: { }
section_width: decanter-grid
region_widths: center
components:
@@ -52,30 +56,32 @@ third_party_settings:
configuration:
id: 'menu_block:main'
label: 'Main navigation'
- provider: menu_block
label_display: visible
- follow: 1
- follow_parent: '-1'
- level: 1
+ provider: menu_block
+ context_mapping: { }
+ follow: false
+ follow_parent: active
+ label_type: root
+ level: 2
depth: 0
- expand: 1
parent: 'main:'
suggestion: menu_block__main
- label_type: root
- context_mapping: { }
- additional: { }
+ expand: true
weight: 0
+ additional: { }
12fe5317-34cd-40f0-aa6a-1a7890ff624a:
uuid: 12fe5317-34cd-40f0-aa6a-1a7890ff624a
region: main
configuration:
id: 'field_block:node:hs_course:title'
label: Title
- provider: layout_builder
label_display: '0'
+ provider: layout_builder
+ context_mapping:
+ entity: layout_builder.entity
formatter:
- label: hidden
type: entity_title_heading
+ label: hidden
settings:
tag: h1
third_party_settings:
@@ -83,86 +89,91 @@ third_party_settings:
class: ''
hs_field_helpers:
inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
+ weight: 3
additional: { }
- weight: 0
- b8975e21-5e0b-41d4-8638-097ee92d6007:
- uuid: b8975e21-5e0b-41d4-8638-097ee92d6007
+ 027ebe6d-d697-48c5-a62c-df46b4e78968:
+ uuid: 027ebe6d-d697-48c5-a62c-df46b4e78968
region: main
configuration:
- id: 'field_block:node:hs_course:field_hs_course_requirements'
- label: Requirements
+ id: 'field_block:node:hs_course:field_hs_course_section_instruc'
+ label: Instructors
+ label_display: ''
provider: layout_builder
- label_display: '0'
+ context_mapping:
+ entity: layout_builder.entity
+ view_mode: view_mode
formatter:
- label: above
- type: string
+ type: entity_reference_entity_view
+ label: inline
settings:
- link_to_entity: false
+ view_mode: default
third_party_settings:
field_formatter_class:
- class: ''
+ class: hb-highlighted-label
+ ds:
+ ds_limit: ''
hs_field_helpers:
inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
+ weight: 5
additional: { }
- weight: 1
- 6d3c98c9-6d7c-4cbb-8ee1-bd497a314227:
- uuid: 6d3c98c9-6d7c-4cbb-8ee1-bd497a314227
+ 2c83390a-76c2-4da6-ab0e-1bfe7f742fbf:
+ uuid: 2c83390a-76c2-4da6-ab0e-1bfe7f742fbf
region: main
configuration:
- id: 'field_block:node:hs_course:field_hs_course_academic_year'
- label: 'Academic Year'
+ id: 'field_block:node:hs_course:field_hs_course_section_number'
+ label: 'Section Number'
+ label_display: ''
provider: layout_builder
- label_display: '0'
+ context_mapping:
+ entity: layout_builder.entity
+ view_mode: view_mode
formatter:
- label: above
- type: datetime_academic_year
+ type: number_integer
+ label: inline
settings:
- timezone_override: ''
+ thousand_separator: ''
+ prefix_suffix: true
third_party_settings:
field_formatter_class:
- class: ''
+ class: hb-highlighted-label
hs_field_helpers:
inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
+ weight: 6
additional: { }
- weight: 2
3e7b5b4a-be7a-4f2f-bc98-50996e4a2830:
uuid: 3e7b5b4a-be7a-4f2f-bc98-50996e4a2830
region: main
configuration:
id: 'field_block:node:hs_course:body'
label: Body
- provider: layout_builder
label_display: '0'
+ provider: layout_builder
+ context_mapping:
+ entity: layout_builder.entity
formatter:
- label: hidden
type: text_default
+ label: hidden
settings: { }
third_party_settings:
field_formatter_class:
class: ''
hs_field_helpers:
inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
+ weight: 7
additional: { }
- weight: 3
83cf3e63-a119-4e19-8c99-80693cb511cc:
uuid: 83cf3e63-a119-4e19-8c99-80693cb511cc
region: main
configuration:
id: 'field_block:node:hs_course:field_hs_course_link'
label: 'Course Link'
- provider: layout_builder
label_display: '0'
+ provider: layout_builder
+ context_mapping:
+ entity: layout_builder.entity
formatter:
- label: above
type: link
+ label: above
settings:
trim_length: 80
url_only: false
@@ -174,112 +185,22 @@ third_party_settings:
class: ''
hs_field_helpers:
inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
- additional: { }
- weight: 4
- 4f69db3b-78ad-4c29-8f86-577471c55ca8:
- uuid: 4f69db3b-78ad-4c29-8f86-577471c55ca8
- region: main
- configuration:
- id: 'field_block:node:hs_course:field_hs_course_section_end_date'
- label: 'End Date'
- provider: layout_builder
- label_display: '0'
- formatter:
- label: above
- type: datetime_custom
- settings:
- timezone_override: ''
- date_format: 'M j, Y'
- third_party_settings:
- field_formatter_class:
- class: ''
- hs_field_helpers:
- inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
- additional: { }
- weight: 5
- 23ac5313-97b8-474f-82a1-5a94253e408d:
- uuid: 23ac5313-97b8-474f-82a1-5a94253e408d
- region: main
- configuration:
- id: 'field_block:node:hs_course:field_hs_course_section_end_time'
- label: 'End Time'
- provider: layout_builder
- label_display: '0'
- formatter:
- label: above
- type: string
- settings:
- link_to_entity: false
- third_party_settings:
- field_formatter_class:
- class: ''
- hs_field_helpers:
- inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
+ weight: 8
additional: { }
- weight: 6
6d970133-88fc-48c6-90b2-cf191d04f463:
uuid: 6d970133-88fc-48c6-90b2-cf191d04f463
region: main
configuration:
id: 'field_block:node:hs_course:field_hs_course_grading'
label: Grading
+ label_display: ''
provider: layout_builder
- label_display: '0'
- formatter:
- label: above
- type: string
- settings:
- link_to_entity: false
- third_party_settings:
- field_formatter_class:
- class: ''
- hs_field_helpers:
- inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
- additional: { }
- weight: 7
- 027ebe6d-d697-48c5-a62c-df46b4e78968:
- uuid: 027ebe6d-d697-48c5-a62c-df46b4e78968
- region: main
- configuration:
- id: 'field_block:node:hs_course:field_hs_course_section_instruc'
- label: Instructors
- provider: layout_builder
- label_display: '0'
- formatter:
- label: above
- type: entity_reference_entity_view
- settings:
- view_mode: default
- third_party_settings:
- field_formatter_class:
- class: ''
- ds:
- ds_limit: ''
- hs_field_helpers:
- inline_contents: 0
context_mapping:
entity: layout_builder.entity
- additional: { }
- weight: 8
- 9874e34a-e131-4a8c-a787-2e3827c34b44:
- uuid: 9874e34a-e131-4a8c-a787-2e3827c34b44
- region: main
- configuration:
- id: 'field_block:node:hs_course:field_hs_course_section_location'
- label: Location
- provider: layout_builder
- label_display: '0'
+ view_mode: view_mode
formatter:
- label: above
type: string
+ label: above
settings:
link_to_entity: false
third_party_settings:
@@ -287,154 +208,21 @@ third_party_settings:
class: ''
hs_field_helpers:
inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
- additional: { }
weight: 9
- 4d6a3015-4093-4b92-821f-d3b5d1efd120:
- uuid: 4d6a3015-4093-4b92-821f-d3b5d1efd120
- region: main
- configuration:
- id: 'field_block:node:hs_course:field_hs_course_section_quarter'
- label: Quarter
- provider: layout_builder
- label_display: '0'
- formatter:
- label: above
- type: list_default
- settings: { }
- third_party_settings:
- field_formatter_class:
- class: ''
- hs_field_helpers:
- inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
additional: { }
- weight: 10
- 9a185c23-f82d-4ace-bbf3-4f518dddf7a7:
- uuid: 9a185c23-f82d-4ace-bbf3-4f518dddf7a7
+ b8975e21-5e0b-41d4-8638-097ee92d6007:
+ uuid: b8975e21-5e0b-41d4-8638-097ee92d6007
region: main
configuration:
id: 'field_block:node:hs_course:field_hs_course_requirements'
label: Requirements
- provider: layout_builder
label_display: '0'
- formatter:
- label: above
- type: string
- settings:
- link_to_entity: false
- third_party_settings:
- field_formatter_class:
- class: ''
- hs_field_helpers:
- inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
- additional: { }
- weight: 11
- 3233ff82-f1b3-4421-8619-39ea9394169e:
- uuid: 3233ff82-f1b3-4421-8619-39ea9394169e
- region: main
- configuration:
- id: 'field_block:node:hs_course:field_hs_course_section_days'
- label: 'Section Days'
provider: layout_builder
- label_display: '0'
- formatter:
- label: above
- type: string
- settings:
- link_to_entity: false
- third_party_settings:
- field_formatter_class:
- class: ''
- hs_field_helpers:
- inline_contents: 0
context_mapping:
entity: layout_builder.entity
- additional: { }
- weight: 12
- 2c83390a-76c2-4da6-ab0e-1bfe7f742fbf:
- uuid: 2c83390a-76c2-4da6-ab0e-1bfe7f742fbf
- region: main
- configuration:
- id: 'field_block:node:hs_course:field_hs_course_section_number'
- label: 'Section Number'
- provider: layout_builder
- label_display: '0'
- formatter:
- label: above
- type: number_integer
- settings:
- thousand_separator: ''
- prefix_suffix: true
- third_party_settings:
- field_formatter_class:
- class: ''
- hs_field_helpers:
- inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
- additional: { }
- weight: 13
- 48358faa-7ba3-4cf1-b37b-d5b1ac6c437b:
- uuid: 48358faa-7ba3-4cf1-b37b-d5b1ac6c437b
- region: main
- configuration:
- id: 'field_block:node:hs_course:field_hs_course_section_st_date'
- label: 'Start Date'
- provider: layout_builder
- label_display: '0'
formatter:
- label: above
- type: datetime_custom
- settings:
- timezone_override: ''
- date_format: 'M j, Y'
- third_party_settings:
- field_formatter_class:
- class: ''
- hs_field_helpers:
- inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
- additional: { }
- weight: 14
- 538b7567-326a-4965-9038-202e86a2c4e0:
- uuid: 538b7567-326a-4965-9038-202e86a2c4e0
- region: main
- configuration:
- id: 'field_block:node:hs_course:field_hs_course_section_st_time'
- label: 'Start Time'
- provider: layout_builder
- label_display: '0'
- formatter:
- label: above
type: string
- settings:
- link_to_entity: false
- third_party_settings:
- field_formatter_class:
- class: ''
- hs_field_helpers:
- inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
- additional: { }
- weight: 15
- 454b5b8f-d37d-4c1d-8b24-bae212339752:
- uuid: 454b5b8f-d37d-4c1d-8b24-bae212339752
- region: main
- configuration:
- id: 'field_block:node:hs_course:field_hs_course_subject'
- label: Subject
- provider: layout_builder
- label_display: '0'
- formatter:
label: above
- type: string
settings:
link_to_entity: false
third_party_settings:
@@ -442,21 +230,21 @@ third_party_settings:
class: ''
hs_field_helpers:
inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
+ weight: 10
additional: { }
- weight: 16
ce68835c-10e2-44d3-a6ce-7830a9c07cd2:
uuid: ce68835c-10e2-44d3-a6ce-7830a9c07cd2
region: main
configuration:
id: 'field_block:node:hs_course:field_hs_course_section_syllabus'
label: Syllabus
- provider: layout_builder
label_display: '0'
+ provider: layout_builder
+ context_mapping:
+ entity: layout_builder.entity
formatter:
- label: above
type: entity_reference_entity_view
+ label: above
settings:
view_mode: default
third_party_settings:
@@ -464,21 +252,21 @@ third_party_settings:
class: ''
hs_field_helpers:
inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
+ weight: 11
additional: { }
- weight: 17
5ca0a647-9edc-4632-9909-9be755fb29eb:
uuid: 5ca0a647-9edc-4632-9909-9be755fb29eb
region: main
configuration:
id: 'field_block:node:hs_course:field_hs_course_section_units'
label: Units
- provider: layout_builder
label_display: '0'
+ provider: layout_builder
+ context_mapping:
+ entity: layout_builder.entity
formatter:
- label: above
type: string
+ label: above
settings:
link_to_entity: false
third_party_settings:
@@ -486,71 +274,265 @@ third_party_settings:
class: ''
hs_field_helpers:
inline_contents: 0
- context_mapping:
- entity: layout_builder.entity
+ weight: 12
additional: { }
- weight: 18
86117c13-3143-41b7-918e-6c985af42602:
uuid: 86117c13-3143-41b7-918e-6c985af42602
region: main
configuration:
id: 'field_block:node:hs_course:field_hs_course_academic_career'
label_display: ''
+ context_mapping:
+ entity: layout_builder.entity
formatter:
+ type: list_default
label: above
settings: { }
third_party_settings: { }
- type: list_default
- context_mapping:
- entity: layout_builder.entity
+ weight: 13
additional:
field_name: field_hs_course_academic_career
- weight: 19
- 6fed084f-8afe-4e81-b523-59a03d581ff0:
- uuid: 6fed084f-8afe-4e81-b523-59a03d581ff0
+ 52c17832-c3df-4263-84a9-b912d8c227be:
+ uuid: 52c17832-c3df-4263-84a9-b912d8c227be
region: main
configuration:
- label_display: '0'
+ id: 'field_block:node:hs_course:field_hs_course_tags'
+ label: 'Course Tags'
+ label_display: ''
+ provider: layout_builder
context_mapping:
entity: layout_builder.entity
- id: 'field_block:node:hs_course:field_hs_course_explore_tags'
+ view_mode: view_mode
formatter:
+ type: entity_reference_label
label: above
settings:
- link: true
- third_party_settings: { }
- type: entity_reference_label
+ link: false
+ third_party_settings:
+ field_formatter_class:
+ class: hb-pill-list
+ ds:
+ ds_limit: ''
+ hs_field_helpers:
+ inline_contents: 0
+ weight: 14
+ additional: { }
+ 9788a148-5579-4d83-8b24-36afb49ebbae:
+ uuid: 9788a148-5579-4d83-8b24-36afb49ebbae
+ region: main
+ configuration:
+ id: 'group_block:node'
+ label: 'Group Block: Subject / Course Code'
+ label_display: '0'
+ provider: hs_blocks
+ context_mapping:
+ entity: layout_builder.entity
+ children:
+ dbc6450d-8455-42f7-aa22-6e25a1a409b7:
+ id: 'field_block:node:hs_course:field_hs_course_subject'
+ label: Subject
+ provider: layout_builder
+ label_display: ''
+ formatter:
+ label: hidden
+ type: string
+ settings:
+ link_to_entity: 0
+ third_party_settings:
+ field_formatter_class:
+ class: ''
+ hs_field_helpers:
+ inline_contents: 0
+ context_mapping:
+ entity: layout_builder.entity
+ view_mode: view_mode
+ 3613dd21-51d5-44b4-b4c7-13dc6d0a0862:
+ id: 'field_block:node:hs_course:field_hs_course_code'
+ label: 'Course Code'
+ provider: layout_builder
+ label_display: ''
+ formatter:
+ label: hidden
+ type: string
+ settings:
+ link_to_entity: 0
+ third_party_settings:
+ field_formatter_class:
+ class: ''
+ hs_field_helpers:
+ inline_contents: 0
+ context_mapping:
+ entity: layout_builder.entity
+ view_mode: view_mode
+ class: 'hb-inline hb-borderless hb-subtitle'
+ uuid: 9788a148-5579-4d83-8b24-36afb49ebbae
+ weight: 4
+ additional: { }
+ 68c0bda7-f42c-4c32-845a-90f47f550e22:
+ uuid: 68c0bda7-f42c-4c32-845a-90f47f550e22
+ region: right_sidebar
+ configuration:
+ id: 'group_block:node'
+ label: 'Date Time Location'
+ label_display: '0'
+ provider: hs_blocks
+ context_mapping:
+ entity: layout_builder.entity
+ uuid: 68c0bda7-f42c-4c32-845a-90f47f550e22
+ children:
+ b90d8e6c-2bc7-4699-bbff-f7873594a86a:
+ id: 'field_block:node:hs_course:field_hs_course_academic_year'
+ label: 'Academic Year'
+ provider: layout_builder
+ label_display: ''
+ formatter:
+ label: above
+ type: datetime_default
+ settings:
+ timezone_override: ''
+ format_type: html_year
+ third_party_settings:
+ field_formatter_class:
+ class: ''
+ hs_field_helpers:
+ inline_contents: 0
+ context_mapping:
+ entity: layout_builder.entity
+ view_mode: view_mode
+ c8e3efe6-25ee-42a7-8f81-38b7c6fd73c4:
+ id: 'field_block:node:hs_course:field_hs_course_section_quarter'
+ label: Quarter
+ provider: layout_builder
+ label_display: ''
+ formatter:
+ label: above
+ type: list_default
+ settings: { }
+ third_party_settings:
+ field_formatter_class:
+ class: ''
+ hs_field_helpers:
+ inline_contents: 0
+ context_mapping:
+ entity: layout_builder.entity
+ view_mode: view_mode
+ 7ba05457-d0bf-48ad-be51-268155c57ad2:
+ id: 'field_block:node:hs_course:field_hs_course_section_days'
+ label: 'Section Days'
+ provider: layout_builder
+ label_display: ''
+ formatter:
+ label: above
+ type: string
+ settings:
+ link_to_entity: 0
+ third_party_settings:
+ field_formatter_class:
+ class: ''
+ hs_field_helpers:
+ inline_contents: 0
+ context_mapping:
+ entity: layout_builder.entity
+ view_mode: view_mode
+ 430af82d-8791-4bad-ab33-3398c82e3dc8:
+ id: 'field_block:node:hs_course:field_hs_course_section_st_time'
+ label: 'Start Time'
+ provider: layout_builder
+ label_display: ''
+ formatter:
+ label: above
+ type: string
+ settings:
+ link_to_entity: 0
+ third_party_settings:
+ field_formatter_class:
+ class: ''
+ hs_field_helpers:
+ inline_contents: 0
+ context_mapping:
+ entity: layout_builder.entity
+ view_mode: view_mode
+ dcab85f8-4034-474c-a9aa-68beb9ccfe39:
+ id: 'field_block:node:hs_course:field_hs_course_section_end_time'
+ label: 'End Time'
+ provider: layout_builder
+ label_display: ''
+ formatter:
+ label: above
+ type: string
+ settings:
+ link_to_entity: 0
+ third_party_settings:
+ field_formatter_class:
+ class: ''
+ hs_field_helpers:
+ inline_contents: 0
+ context_mapping:
+ entity: layout_builder.entity
+ view_mode: view_mode
+ ec4c27f8-b298-4d21-ba8c-ab87d3449ca8:
+ id: 'field_block:node:hs_course:field_hs_course_section_location'
+ label: Location
+ provider: layout_builder
+ label_display: ''
+ formatter:
+ label: above
+ type: string
+ settings:
+ link_to_entity: 0
+ third_party_settings:
+ field_formatter_class:
+ class: ''
+ hs_field_helpers:
+ inline_contents: 0
+ context_mapping:
+ entity: layout_builder.entity
+ view_mode: view_mode
+ class: hs-well
+ weight: 0
additional: { }
- weight: 20
+ f8be1181-29ee-4f72-a68e-305060b03b35:
+ uuid: f8be1181-29ee-4f72-a68e-305060b03b35
+ region: main
+ configuration:
+ id: hs_layouts_skipnav_main_anchor
+ label: 'Main content anchor target'
+ label_display: hidden
+ provider: hs_layouts
+ context_mapping: { }
+ weight: 2
+ additional: { }
+ third_party_settings: { }
id: node.hs_course.default
targetEntityType: node
bundle: hs_course
mode: default
content:
field_hs_course_academic_career:
- weight: 101
+ type: list_default
label: above
settings: { }
third_party_settings: { }
- type: list_default
+ weight: 101
region: main
field_hs_course_explore_tags:
- weight: 102
+ type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
- type: entity_reference_label
+ weight: 102
region: main
links:
- weight: 100
- region: content
settings: { }
third_party_settings: { }
+ weight: 100
+ region: content
hidden:
body: true
field_hs_course_academic_year: true
field_hs_course_code: true
+ field_hs_course_code_int: true
field_hs_course_grading: true
field_hs_course_id: true
field_hs_course_link: true
@@ -570,3 +552,4 @@ hidden:
field_hs_course_section_units: true
field_hs_course_subject: true
field_hs_course_tags: true
+ search_api_excerpt: true
diff --git a/docroot/modules/humsci/hs_courses/config/install/eck.eck_entity_type.course_collections.yml b/docroot/modules/humsci/hs_courses/config/install/eck.eck_entity_type.course_collections.yml
deleted file mode 100644
index b249c5186b..0000000000
--- a/docroot/modules/humsci/hs_courses/config/install/eck.eck_entity_type.course_collections.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-uuid: 14b682a0-37af-47d9-a384-2a94bd6bc96e
-langcode: en
-status: true
-dependencies: { }
-id: course_collections
-label: 'Course Collections'
-created: true
-changed: true
-uid: true
-title: true
diff --git a/docroot/modules/humsci/hs_courses/config/install/eck.eck_type.course_collections.instructor.yml b/docroot/modules/humsci/hs_courses/config/install/eck.eck_type.course_collections.instructor.yml
deleted file mode 100644
index 07f1ce632d..0000000000
--- a/docroot/modules/humsci/hs_courses/config/install/eck.eck_type.course_collections.instructor.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-uuid: 746154c0-c656-4efd-aaec-0c27b3769ddf
-langcode: en
-status: true
-dependencies:
- config:
- - eck.eck_entity_type.course_collections
-name: Instructor
-type: instructor
-description: ''
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.field.course_collections.instructor.field_instructor_person.yml b/docroot/modules/humsci/hs_courses/config/install/field.field.course_collections.instructor.field_instructor_person.yml
deleted file mode 100644
index 539bb403ad..0000000000
--- a/docroot/modules/humsci/hs_courses/config/install/field.field.course_collections.instructor.field_instructor_person.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-uuid: ea5fe7c4-f8d9-41a1-835c-e10ce72ed4ff
-langcode: en
-status: true
-dependencies:
- config:
- - eck.eck_type.course_collections.instructor
- - field.storage.course_collections.field_instructor_person
- - node.type.hs_person
-id: course_collections.instructor.field_instructor_person
-field_name: field_instructor_person
-entity_type: course_collections
-bundle: instructor
-label: 'Instructor Person'
-description: 'Link the instructor to a person content.'
-required: false
-translatable: false
-default_value: { }
-default_value_callback: ''
-settings:
- handler: 'default:node'
- handler_settings:
- target_bundles:
- hs_person: hs_person
- sort:
- field: _none
- auto_create: false
- auto_create_bundle: ''
-field_type: entity_reference
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.field.node.hs_course.body.yml b/docroot/modules/humsci/hs_courses/config/install/field.field.node.hs_course.body.yml
index 1060e06c4a..a7afefd051 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.field.node.hs_course.body.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.field.node.hs_course.body.yml
@@ -21,4 +21,6 @@ default_value: { }
default_value_callback: ''
settings:
display_summary: true
+ required_summary: false
+ allowed_formats: { }
field_type: text_with_summary
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.field.node.hs_course.field_hs_course_link.yml b/docroot/modules/humsci/hs_courses/config/install/field.field.node.hs_course.field_hs_course_link.yml
index b7feae104f..9f417128f8 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.field.node.hs_course.field_hs_course_link.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.field.node.hs_course.field_hs_course_link.yml
@@ -20,6 +20,6 @@ translatable: false
default_value: { }
default_value_callback: ''
settings:
- link_type: 16
title: 0
+ link_type: 16
field_type: link
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.field.node.hs_course.field_hs_course_section_instruc.yml b/docroot/modules/humsci/hs_courses/config/install/field.field.node.hs_course.field_hs_course_section_instruc.yml
index 275949d1c2..b617dd75bc 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.field.node.hs_course.field_hs_course_section_instruc.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.field.node.hs_course.field_hs_course_section_instruc.yml
@@ -3,7 +3,6 @@ langcode: en
status: true
dependencies:
config:
- - eck.eck_type.course_collections.instructor
- field.storage.node.field_hs_course_section_instruc
- node.type.hs_course
id: node.hs_course.field_hs_course_section_instruc
@@ -17,13 +16,13 @@ translatable: false
default_value: { }
default_value_callback: ''
settings:
- handler: 'default:course_collections'
+ handler: 'default:hs_entity'
handler_settings:
target_bundles:
- instructor: instructor
+ course_collections__instructor: course_collections__instructor
sort:
- field: title
+ field: label
direction: ASC
- auto_create: false
+ auto_create: true
auto_create_bundle: ''
field_type: entity_reference
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.storage.course_collections.field_instructor_person.yml b/docroot/modules/humsci/hs_courses/config/install/field.storage.course_collections.field_instructor_person.yml
deleted file mode 100644
index cce8800ccb..0000000000
--- a/docroot/modules/humsci/hs_courses/config/install/field.storage.course_collections.field_instructor_person.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-uuid: 623c304a-29ab-4f41-9312-eda02445d928
-langcode: en
-status: true
-dependencies:
- module:
- - eck
- - node
-id: course_collections.field_instructor_person
-field_name: field_instructor_person
-entity_type: course_collections
-type: entity_reference
-settings:
- target_type: node
-module: core
-locked: false
-cardinality: 1
-translatable: true
-indexes: { }
-persist_with_no_fields: false
-custom_storage: false
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_academic_career.yml b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_academic_career.yml
index 03afb9fc32..65c5fad849 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_academic_career.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_academic_career.yml
@@ -13,7 +13,7 @@ settings:
allowed_values:
-
value: UG
- label: 'Undergraduate'
+ label: Undergraduate
-
value: GR
label: Graduate
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_code.yml b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_code.yml
index 8578311e7d..1b5ebba4ab 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_code.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_code.yml
@@ -10,8 +10,8 @@ entity_type: node
type: string
settings:
max_length: 255
- is_ascii: false
case_sensitive: false
+ is_ascii: false
module: core
locked: false
cardinality: 1
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_grading.yml b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_grading.yml
index 7a773f969b..aab383a4b7 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_grading.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_grading.yml
@@ -12,8 +12,8 @@ entity_type: node
type: string
settings:
max_length: 255
- is_ascii: false
case_sensitive: false
+ is_ascii: false
module: core
locked: false
cardinality: 1
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_requirements.yml b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_requirements.yml
index 82c8f15d3b..60bf4e7f56 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_requirements.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_requirements.yml
@@ -12,8 +12,8 @@ entity_type: node
type: string
settings:
max_length: 255
- is_ascii: false
case_sensitive: false
+ is_ascii: false
module: core
locked: false
cardinality: 1
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_days.yml b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_days.yml
index 607e73115d..df263768bb 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_days.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_days.yml
@@ -10,8 +10,8 @@ entity_type: node
type: string
settings:
max_length: 255
- is_ascii: false
case_sensitive: false
+ is_ascii: false
module: core
locked: false
cardinality: 1
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_end_time.yml b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_end_time.yml
index f1d61e536e..8a52ba9690 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_end_time.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_end_time.yml
@@ -10,8 +10,8 @@ entity_type: node
type: string
settings:
max_length: 255
- is_ascii: false
case_sensitive: false
+ is_ascii: false
module: core
locked: false
cardinality: 1
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_instruc.yml b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_instruc.yml
index a455aba53c..044161f67a 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_instruc.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_instruc.yml
@@ -3,14 +3,14 @@ langcode: en
status: true
dependencies:
module:
- - eck
+ - hs_entities
- node
id: node.field_hs_course_section_instruc
field_name: field_hs_course_section_instruc
entity_type: node
type: entity_reference
settings:
- target_type: course_collections
+ target_type: hs_entity
module: core
locked: false
cardinality: -1
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_location.yml b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_location.yml
index 39cd4d2c87..9e58fb2593 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_location.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_location.yml
@@ -10,8 +10,8 @@ entity_type: node
type: string
settings:
max_length: 255
- is_ascii: false
case_sensitive: false
+ is_ascii: false
module: core
locked: false
cardinality: 1
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_quarter.yml b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_quarter.yml
index c7fb66a883..79e28bd3b4 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_quarter.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_quarter.yml
@@ -13,9 +13,6 @@ entity_type: node
type: list_string
settings:
allowed_values:
- -
- value: Summer
- label: Summer
-
value: Autumn
label: Autumn
@@ -25,6 +22,9 @@ settings:
-
value: Spring
label: Spring
+ -
+ value: Summer
+ label: Summer
allowed_values_function: ''
module: options
locked: false
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_st_time.yml b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_st_time.yml
index 6f0e74138b..50962c4f60 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_st_time.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_st_time.yml
@@ -10,8 +10,8 @@ entity_type: node
type: string
settings:
max_length: 255
- is_ascii: false
case_sensitive: false
+ is_ascii: false
module: core
locked: false
cardinality: 1
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_units.yml b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_units.yml
index 92e1919c02..5c6817d84f 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_units.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_section_units.yml
@@ -10,8 +10,8 @@ entity_type: node
type: string
settings:
max_length: 255
- is_ascii: false
case_sensitive: false
+ is_ascii: false
module: core
locked: false
cardinality: 1
diff --git a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_subject.yml b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_subject.yml
index fc51bbd9e5..713c8bdcf7 100644
--- a/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_subject.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/field.storage.node.field_hs_course_subject.yml
@@ -12,8 +12,8 @@ entity_type: node
type: string
settings:
max_length: 255
- is_ascii: false
case_sensitive: false
+ is_ascii: false
module: core
locked: false
cardinality: 1
diff --git a/docroot/modules/humsci/hs_courses/config/install/node.type.hs_course.yml b/docroot/modules/humsci/hs_courses/config/install/node.type.hs_course.yml
index 4293666201..9b8979e8a8 100644
--- a/docroot/modules/humsci/hs_courses/config/install/node.type.hs_course.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/node.type.hs_course.yml
@@ -4,10 +4,15 @@ status: true
dependencies:
module:
- menu_ui
+ - node_revision_delete
third_party_settings:
menu_ui:
available_menus: { }
parent: ''
+ node_revision_delete:
+ minimum_revisions_to_keep: 5
+ minimum_age_to_delete: 0
+ when_to_delete: 0
_core:
default_config_hash: T65l74n_n5mKjcyV7KEuDEozegldUb-zN6qyK7XsTMQ
name: Course
diff --git a/docroot/modules/humsci/hs_courses/config/install/pathauto.pattern.hs_courses.yml b/docroot/modules/humsci/hs_courses/config/install/pathauto.pattern.hs_courses.yml
index 35b267b3ac..9d061b625e 100644
--- a/docroot/modules/humsci/hs_courses/config/install/pathauto.pattern.hs_courses.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/pathauto.pattern.hs_courses.yml
@@ -10,13 +10,13 @@ type: 'canonical_entities:node'
pattern: '/courses/[node:title]/[node:field_hs_course_section_number]'
selection_criteria:
fcd0ccb7-a344-4563-9117-603f2a67e523:
- id: node_type
- bundles:
- hs_course: hs_course
+ id: 'entity_bundle:node'
negate: false
+ uuid: fcd0ccb7-a344-4563-9117-603f2a67e523
context_mapping:
node: node
- uuid: fcd0ccb7-a344-4563-9117-603f2a67e523
+ bundles:
+ hs_course: hs_course
selection_logic: and
weight: 0
relationships: { }
diff --git a/docroot/modules/humsci/hs_courses/config/install/rabbit_hole.behavior_settings.node_type_hs_course.yml b/docroot/modules/humsci/hs_courses/config/install/rabbit_hole.behavior_settings.node_type_hs_course.yml
index 880d849f2f..9af9c30e59 100644
--- a/docroot/modules/humsci/hs_courses/config/install/rabbit_hole.behavior_settings.node_type_hs_course.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/rabbit_hole.behavior_settings.node_type_hs_course.yml
@@ -1,9 +1,14 @@
uuid: 80a6fb19-2785-497d-81df-a3968ad35509
langcode: en
status: true
-dependencies: { }
+dependencies:
+ config:
+ - node.type.hs_course
id: node_type_hs_course
+entity_type_id: node_type
+entity_id: hs_course
action: page_redirect
allow_override: 0
redirect: '[node:field_hs_course_link:uri]'
redirect_code: 301
+redirect_fallback_action: access_denied
diff --git a/docroot/modules/humsci/hs_courses/config/install/taxonomy.vocabulary.hs_course_component.yml b/docroot/modules/humsci/hs_courses/config/install/taxonomy.vocabulary.hs_course_component.yml
index 550074bb21..cc2df8ec4e 100644
--- a/docroot/modules/humsci/hs_courses/config/install/taxonomy.vocabulary.hs_course_component.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/taxonomy.vocabulary.hs_course_component.yml
@@ -7,5 +7,4 @@ _core:
name: 'Course Component'
vid: hs_course_component
description: ''
-hierarchy: 0
weight: 0
diff --git a/docroot/modules/humsci/hs_courses/config/install/taxonomy.vocabulary.hs_course_tags.yml b/docroot/modules/humsci/hs_courses/config/install/taxonomy.vocabulary.hs_course_tags.yml
index 2cecd3d14b..835d39b450 100644
--- a/docroot/modules/humsci/hs_courses/config/install/taxonomy.vocabulary.hs_course_tags.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/taxonomy.vocabulary.hs_course_tags.yml
@@ -7,5 +7,4 @@ _core:
name: 'Course Tags'
vid: hs_course_tags
description: 'Tags from ExploreCourses'
-hierarchy: 0
weight: 0
diff --git a/docroot/modules/humsci/hs_courses/config/install/views.view.hs_courses.yml b/docroot/modules/humsci/hs_courses/config/install/views.view.hs_courses.yml
index 8c630ceccf..d2b84b1162 100644
--- a/docroot/modules/humsci/hs_courses/config/install/views.view.hs_courses.yml
+++ b/docroot/modules/humsci/hs_courses/config/install/views.view.hs_courses.yml
@@ -1,6 +1,6 @@
uuid: 97c24b5e-9c57-4ad5-bef9-56d730e9d426
langcode: en
-status: true
+status: false
dependencies:
config:
- field.storage.node.field_hs_course_academic_year
@@ -14,8 +14,9 @@ dependencies:
- node.type.hs_course
module:
- datetime
- - eck
+ - hs_entities
- hs_field_helpers
+ - hs_views_helper
- node
- options
- ui_patterns_views
@@ -27,56 +28,14 @@ description: ''
tag: ''
base_table: node_field_data
base_field: nid
-core: 8.x
display:
default:
- display_plugin: default
id: default
display_title: Master
+ display_plugin: default
position: 0
display_options:
- access:
- type: perm
- options:
- perm: 'access content'
- cache:
- type: tag
- options: { }
- query:
- type: views_query
- options:
- disable_sql_rewrite: false
- distinct: false
- replica: false
- query_comment: ''
- query_tags: { }
- exposed_form:
- type: basic
- options:
- submit_button: Apply
- reset_button: false
- reset_button_label: Reset
- exposed_sorts_label: 'Sort by'
- expose_sort_order: true
- sort_asc_label: Asc
- sort_desc_label: Desc
- pager:
- type: none
- options:
- offset: 0
- style:
- type: default
- options:
- grouping: { }
- row_class: ''
- default_row_class: true
- row:
- type: ui_patterns
- options:
- inline: { }
- separator: ''
- hide_empty: false
- default_field_elements: true
+ title: List
fields:
field_hs_course_subject:
id: field_hs_course_subject
@@ -85,6 +44,7 @@ display:
relationship: none
group_type: group
admin_label: ''
+ plugin_id: field
label: ''
exclude: true
alter:
@@ -140,7 +100,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
- plugin_id: field
field_hs_course_code:
id: field_hs_course_code
table: node__field_hs_course_code
@@ -148,6 +107,7 @@ display:
relationship: none
group_type: group
admin_label: ''
+ plugin_id: field
label: ''
exclude: false
alter:
@@ -203,7 +163,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
- plugin_id: field
title:
id: title
table: node_field_data
@@ -211,6 +170,9 @@ display:
relationship: none
group_type: group
admin_label: ''
+ entity_type: node
+ entity_field: title
+ plugin_id: field
label: ''
exclude: false
alter:
@@ -266,9 +228,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
- entity_type: node
- entity_field: title
- plugin_id: field
field_hs_course_section_instruc:
id: field_hs_course_section_instruc
table: node__field_hs_course_section_instruc
@@ -276,6 +235,7 @@ display:
relationship: none
group_type: group
admin_label: ''
+ plugin_id: field
label: ''
exclude: false
alter:
@@ -331,7 +291,6 @@ display:
multi_type: separator
separator: '
'
field_api_classes: false
- plugin_id: field
field_hs_course_academic_year:
id: field_hs_course_academic_year
table: node__field_hs_course_academic_year
@@ -339,6 +298,7 @@ display:
relationship: none
group_type: group
admin_label: ''
+ plugin_id: field
label: ''
exclude: false
alter:
@@ -394,7 +354,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
- plugin_id: field
field_hs_course_section_quarter:
id: field_hs_course_section_quarter
table: node__field_hs_course_section_quarter
@@ -402,6 +361,7 @@ display:
relationship: none
group_type: group
admin_label: ''
+ plugin_id: field
label: ''
exclude: false
alter:
@@ -456,7 +416,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
- plugin_id: field
field_hs_course_section_days:
id: field_hs_course_section_days
table: node__field_hs_course_section_days
@@ -464,6 +423,7 @@ display:
relationship: none
group_type: group
admin_label: ''
+ plugin_id: field
label: ''
exclude: false
alter:
@@ -519,7 +479,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
- plugin_id: field
field_hs_course_section_st_time:
id: field_hs_course_section_st_time
table: node__field_hs_course_section_st_time
@@ -527,6 +486,7 @@ display:
relationship: none
group_type: group
admin_label: ''
+ plugin_id: field
label: ''
exclude: false
alter:
@@ -582,7 +542,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
- plugin_id: field
field_hs_course_section_end_time:
id: field_hs_course_section_end_time
table: node__field_hs_course_section_end_time
@@ -590,6 +549,7 @@ display:
relationship: none
group_type: group
admin_label: ''
+ plugin_id: field
label: ''
exclude: false
alter:
@@ -645,29 +605,138 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
- plugin_id: field
+ pager:
+ type: none
+ options:
+ offset: 0
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ empty:
+ area:
+ id: area
+ table: views
+ field: area
+ relationship: none
+ group_type: group
+ admin_label: ''
+ plugin_id: text
+ empty: true
+ content:
+ value: '
No courses offered in the current quarter.
' + format: basic_html + tokenize: false + sorts: + field_hs_course_code_value: + id: field_hs_course_code_value + table: node__field_hs_course_code + field: field_hs_course_code_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_hs_course_code_value + exposed: false + field_hs_course_subject_value: + id: field_hs_course_subject_value + table: node__field_hs_course_subject + field: field_hs_course_subject_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_hs_course_subject_value + exposed: false + field_hs_course_section_st_date_value: + id: field_hs_course_section_st_date_value + table: node__field_hs_course_section_st_date + field: field_hs_course_section_st_date_value + relationship: none + group_type: group + admin_label: '' + plugin_id: datetime + order: ASC + expose: + label: '' + field_identifier: field_hs_course_section_st_date_value + exposed: false + granularity: second + field_hs_course_section_number_value: + id: field_hs_course_section_number_value + table: node__field_hs_course_section_number + field: field_hs_course_section_number_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_hs_course_section_number_value + exposed: false + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: title + exposed: false + arguments: { } filters: status: - value: '1' + id: status table: node_field_data field: status - plugin_id: boolean entity_type: node entity_field: status - id: status + plugin_id: boolean + value: '1' + group: 1 expose: operator: '' - group: 1 + operator_limit_selection: false + operator_list: { } type: id: type table: node_field_data field: type - value: - hs_course: hs_course entity_type: node entity_field: type plugin_id: bundle + value: + hs_course: hs_course group: 1 + expose: + operator_limit_selection: false + operator_list: { } title: id: title table: node_field_data @@ -675,6 +744,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: node + entity_field: title + plugin_id: string operator: word value: '' group: 1 @@ -685,6 +757,8 @@ display: description: '' use_operator: false operator: title_op + operator_limit_selection: false + operator_list: { } identifier: title required: false remember: false @@ -709,9 +783,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - entity_type: node - entity_field: title - plugin_id: string field_hs_course_section_quarter_value: id: field_hs_course_section_quarter_value table: node__field_hs_course_section_quarter @@ -719,6 +790,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: list_field operator: or value: { } group: 1 @@ -729,6 +801,8 @@ display: description: '' use_operator: false operator: field_hs_course_section_quarter_value_op + operator_limit_selection: false + operator_list: { } identifier: quarter required: false remember: false @@ -754,7 +828,6 @@ display: default_group_multiple: { } group_items: { } reduce_duplicates: false - plugin_id: list_field field_hs_course_requirements_value: id: field_hs_course_requirements_value table: node__field_hs_course_requirements @@ -762,6 +835,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: string operator: word value: '' group: 1 @@ -772,6 +846,8 @@ display: description: '' use_operator: false operator: field_hs_course_requirements_value_op + operator_limit_selection: false + operator_list: { } identifier: reqs required: false remember: false @@ -796,7 +872,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: string field_hs_course_academic_career_value: id: field_hs_course_academic_career_value table: node__field_hs_course_academic_career @@ -804,6 +879,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: list_field operator: or value: { } group: 1 @@ -814,6 +890,8 @@ display: description: '' use_operator: false operator: field_hs_course_academic_career_value_op + operator_limit_selection: false + operator_list: { } identifier: academic_career required: false remember: false @@ -839,14 +917,16 @@ display: default_group_multiple: { } group_items: { } reduce_duplicates: false - plugin_id: list_field title_1: id: title_1 - table: course_collections_field_data - field: title + table: hs_entity + field: label relationship: field_hs_course_section_instruc group_type: group admin_label: '' + entity_type: hs_entity + entity_field: label + plugin_id: string operator: word value: '' group: 1 @@ -857,6 +937,8 @@ display: description: '' use_operator: false operator: title_1_op + operator_limit_selection: false + operator_list: { } identifier: instructor required: false remember: false @@ -881,9 +963,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - entity_type: course_collections - entity_field: title - plugin_id: string delta_1: id: delta_1 table: node__field_hs_course_section_instruc @@ -891,6 +970,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: numeric operator: empty value: min: '' @@ -904,15 +984,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -925,7 +1007,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: numeric delta: id: delta table: node__field_hs_course_section_instruc @@ -933,6 +1014,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: numeric operator: '=' value: min: '' @@ -946,15 +1028,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -967,72 +1051,44 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: numeric - sorts: - field_hs_course_code_value: - id: field_hs_course_code_value - table: node__field_hs_course_code - field: field_hs_course_code_value + filter_groups: + operator: AND + groups: + 1: AND + 2: OR + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + row: + type: ui_patterns + options: + inline: { } + separator: '' + hide_empty: false + default_field_elements: true + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: + field_hs_course_section_instruc: + id: field_hs_course_section_instruc + table: node__field_hs_course_section_instruc + field: field_hs_course_section_instruc relationship: none group_type: group - admin_label: '' - order: ASC - exposed: false - expose: - label: '' + admin_label: 'field_hs_course_section_instruc: Course Collections' plugin_id: standard - field_hs_course_subject_value: - id: field_hs_course_subject_value - table: node__field_hs_course_subject - field: field_hs_course_subject_value - relationship: none - group_type: group - admin_label: '' - order: ASC - exposed: false - expose: - label: '' - plugin_id: standard - field_hs_course_section_st_date_value: - id: field_hs_course_section_st_date_value - table: node__field_hs_course_section_st_date - field: field_hs_course_section_st_date_value - relationship: none - group_type: group - admin_label: '' - order: ASC - exposed: false - expose: - label: '' - granularity: second - plugin_id: datetime - field_hs_course_section_number_value: - id: field_hs_course_section_number_value - table: node__field_hs_course_section_number - field: field_hs_course_section_number_value - relationship: none - group_type: group - admin_label: '' - order: ASC - exposed: false - expose: - label: '' - plugin_id: standard - title: - id: title - table: node_field_data - field: title - relationship: none - group_type: group - admin_label: '' - order: ASC - exposed: false - expose: - label: '' - entity_type: node - entity_field: title - plugin_id: standard - title: List + required: false + use_ajax: true + group_by: false header: area: id: area @@ -1041,46 +1097,14 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: text empty: false - tokenize: false content: value: "No courses offered in the current quarter.
' - format: basic_html - plugin_id: text - relationships: - field_hs_course_section_instruc: - id: field_hs_course_section_instruc - table: node__field_hs_course_section_instruc - field: field_hs_course_section_instruc - relationship: none - group_type: group - admin_label: 'field_hs_course_section_instruc: Course Collections' - required: false - plugin_id: standard - arguments: { } + footer: { } display_extenders: { } - use_ajax: true - group_by: false - filter_groups: - operator: AND - groups: - 1: AND - 2: OR cache_metadata: max-age: -1 contexts: @@ -1098,14 +1122,12 @@ display: - 'config:field.storage.node.field_hs_course_section_quarter' - 'config:field.storage.node.field_hs_course_section_st_time' - 'config:field.storage.node.field_hs_course_subject' - - extensions list: - display_plugin: block id: list display_title: 'All List' + display_plugin: block position: 1 display_options: - display_extenders: { } style: type: pattern options: @@ -1120,9 +1142,6 @@ display: 'header:area': destination: header weight: '0' - defaults: - style: false - row: false row: type: ui_patterns options: @@ -1181,9 +1200,13 @@ display: weight: 7 plugin: views_row source: field_hs_course_section_end_time + defaults: + style: false + row: false + display_description: '' exposed_block: true + display_extenders: { } block_category: 'Courses (Views)' - display_description: '' cache_metadata: max-age: -1 contexts: @@ -1201,37 +1224,39 @@ display: - 'config:field.storage.node.field_hs_course_section_quarter' - 'config:field.storage.node.field_hs_course_section_st_time' - 'config:field.storage.node.field_hs_course_subject' - - extensions not_offered_list: - display_plugin: block id: not_offered_list display_title: 'Not Currently Offered' + display_plugin: block position: 2 display_options: - display_extenders: { } - display_description: '' filters: status: - value: '1' + id: status table: node_field_data field: status - plugin_id: boolean entity_type: node entity_field: status - id: status + plugin_id: boolean + value: '1' + group: 1 expose: operator: '' - group: 1 + operator_limit_selection: false + operator_list: { } type: id: type table: node_field_data field: type - value: - hs_course: hs_course entity_type: node entity_field: type plugin_id: bundle + value: + hs_course: hs_course group: 1 + expose: + operator_limit_selection: false + operator_list: { } field_hs_course_section_id_value: id: field_hs_course_section_id_value table: node__field_hs_course_section_id @@ -1239,6 +1264,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: numeric operator: empty value: min: '' @@ -1252,15 +1278,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -1273,7 +1301,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: numeric title: id: title table: node_field_data @@ -1281,6 +1308,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: node + entity_field: title + plugin_id: string operator: word value: '' group: 1 @@ -1291,6 +1321,8 @@ display: description: '' use_operator: false operator: title_op + operator_limit_selection: false + operator_list: { } identifier: title required: false remember: false @@ -1315,9 +1347,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - entity_type: node - entity_field: title - plugin_id: string field_hs_course_section_quarter_value: id: field_hs_course_section_quarter_value table: node__field_hs_course_section_quarter @@ -1325,6 +1354,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: list_field operator: or value: { } group: 1 @@ -1335,6 +1365,8 @@ display: description: '' use_operator: false operator: field_hs_course_section_quarter_value_op + operator_limit_selection: false + operator_list: { } identifier: quarter required: false remember: false @@ -1360,7 +1392,6 @@ display: default_group_multiple: { } group_items: { } reduce_duplicates: false - plugin_id: list_field field_hs_course_requirements_value: id: field_hs_course_requirements_value table: node__field_hs_course_requirements @@ -1368,6 +1399,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: string operator: word value: '' group: 1 @@ -1378,6 +1410,8 @@ display: description: '' use_operator: false operator: field_hs_course_requirements_value_op + operator_limit_selection: false + operator_list: { } identifier: reqs required: false remember: false @@ -1402,7 +1436,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: string field_hs_course_academic_career_value: id: field_hs_course_academic_career_value table: node__field_hs_course_academic_career @@ -1410,6 +1443,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: list_field operator: or value: { } group: 1 @@ -1420,6 +1454,8 @@ display: description: '' use_operator: false operator: field_hs_course_academic_career_value_op + operator_limit_selection: false + operator_list: { } identifier: academic_career required: false remember: false @@ -1445,14 +1481,16 @@ display: default_group_multiple: { } group_items: { } reduce_duplicates: false - plugin_id: list_field title_1: id: title_1 - table: course_collections_field_data - field: title + table: hs_entity + field: label relationship: field_hs_course_section_instruc group_type: group admin_label: '' + entity_type: hs_entity + entity_field: label + plugin_id: string operator: word value: '' group: 1 @@ -1463,6 +1501,8 @@ display: description: '' use_operator: false operator: title_1_op + operator_limit_selection: false + operator_list: { } identifier: instructor required: false remember: false @@ -1487,9 +1527,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - entity_type: course_collections - entity_field: title - plugin_id: string delta_1: id: delta_1 table: node__field_hs_course_section_instruc @@ -1497,6 +1534,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: numeric operator: empty value: min: '' @@ -1510,15 +1548,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -1531,7 +1571,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: numeric delta: id: delta table: node__field_hs_course_section_instruc @@ -1539,6 +1578,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: numeric operator: '=' value: min: '' @@ -1552,15 +1592,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -1573,12 +1615,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: numeric - defaults: - filters: false - filter_groups: false - style: false - row: false filter_groups: operator: AND groups: @@ -1661,6 +1697,13 @@ display: weight: 8 plugin: views_row source: field_hs_course_section_end_time + defaults: + style: false + row: false + filters: false + filter_groups: false + display_description: '' + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -1678,122 +1721,39 @@ display: - 'config:field.storage.node.field_hs_course_section_quarter' - 'config:field.storage.node.field_hs_course_section_st_time' - 'config:field.storage.node.field_hs_course_subject' - - extensions offered_list: - display_plugin: block id: offered_list display_title: 'Currently Offered' + display_plugin: block position: 2 display_options: - display_extenders: { } - display_description: '' - style: - type: pattern - options: - pattern: table_pattern - pattern_mapping: - rows: - destination: items - weight: '0' - title: - destination: '' - weight: '0' - 'header:area': - destination: header - weight: '0' - 'header:result': - destination: '' - weight: '0' - defaults: - style: false - row: false - filters: false - filter_groups: false - row: - type: ui_patterns - options: - default_field_elements: 1 - inline: - field_hs_course_subject: 0 - field_hs_course_code: 0 - title: 0 - field_hs_course_section_instruc: 0 - field_hs_course_academic_year: 0 - field_hs_course_section_quarter: 0 - field_hs_course_section_days: 0 - field_hs_course_section_st_time: 0 - field_hs_course_section_end_time: 0 - separator: '' - hide_empty: 0 - pattern: table_row - pattern_mapping: - 'views_row:field_hs_course_subject': - destination: column_1 - weight: 0 - plugin: views_row - source: field_hs_course_subject - 'views_row:field_hs_course_code': - destination: column_1 - weight: 1 - plugin: views_row - source: field_hs_course_code - 'views_row:title': - destination: column_1 - weight: 2 - plugin: views_row - source: title - 'views_row:field_hs_course_section_instruc': - destination: column_2 - weight: 3 - plugin: views_row - source: field_hs_course_section_instruc - 'views_row:field_hs_course_academic_year': - destination: column_3 - weight: 4 - plugin: views_row - source: field_hs_course_academic_year - 'views_row:field_hs_course_section_quarter': - destination: column_3 - weight: 5 - plugin: views_row - source: field_hs_course_section_quarter - 'views_row:field_hs_course_section_days': - destination: column_4 - weight: 6 - plugin: views_row - source: field_hs_course_section_days - 'views_row:field_hs_course_section_st_time': - destination: column_4 - weight: 7 - plugin: views_row - source: field_hs_course_section_st_time - 'views_row:field_hs_course_section_end_time': - destination: column_4 - weight: 8 - plugin: views_row - source: field_hs_course_section_end_time filters: status: - value: '1' + id: status table: node_field_data field: status - plugin_id: boolean entity_type: node entity_field: status - id: status + plugin_id: boolean + value: '1' + group: 1 expose: operator: '' - group: 1 + operator_limit_selection: false + operator_list: { } type: id: type table: node_field_data field: type - value: - hs_course: hs_course entity_type: node entity_field: type plugin_id: bundle + value: + hs_course: hs_course group: 1 + expose: + operator_limit_selection: false + operator_list: { } field_hs_course_section_id_value: id: field_hs_course_section_id_value table: node__field_hs_course_section_id @@ -1801,6 +1761,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: numeric operator: '>=' value: min: '' @@ -1814,15 +1775,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -1835,7 +1798,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: numeric title: id: title table: node_field_data @@ -1843,6 +1805,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: node + entity_field: title + plugin_id: string operator: word value: '' group: 1 @@ -1853,6 +1818,8 @@ display: description: '' use_operator: false operator: title_op + operator_limit_selection: false + operator_list: { } identifier: title required: false remember: false @@ -1877,9 +1844,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - entity_type: node - entity_field: title - plugin_id: string field_hs_course_section_quarter_value: id: field_hs_course_section_quarter_value table: node__field_hs_course_section_quarter @@ -1887,6 +1851,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: list_field operator: or value: { } group: 1 @@ -1897,6 +1862,8 @@ display: description: '' use_operator: false operator: field_hs_course_section_quarter_value_op + operator_limit_selection: false + operator_list: { } identifier: quarter required: false remember: false @@ -1922,7 +1889,6 @@ display: default_group_multiple: { } group_items: { } reduce_duplicates: false - plugin_id: list_field field_hs_course_requirements_value: id: field_hs_course_requirements_value table: node__field_hs_course_requirements @@ -1930,6 +1896,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: string operator: word value: '' group: 1 @@ -1940,6 +1907,8 @@ display: description: '' use_operator: false operator: field_hs_course_requirements_value_op + operator_limit_selection: false + operator_list: { } identifier: reqs required: false remember: false @@ -1964,7 +1933,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: string field_hs_course_academic_career_value: id: field_hs_course_academic_career_value table: node__field_hs_course_academic_career @@ -1972,6 +1940,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: list_field operator: or value: { } group: 1 @@ -1982,6 +1951,8 @@ display: description: '' use_operator: false operator: field_hs_course_academic_career_value_op + operator_limit_selection: false + operator_list: { } identifier: academic_career required: false remember: false @@ -2007,14 +1978,16 @@ display: default_group_multiple: { } group_items: { } reduce_duplicates: false - plugin_id: list_field title_1: id: title_1 - table: course_collections_field_data - field: title + table: hs_entity + field: label relationship: field_hs_course_section_instruc group_type: group admin_label: '' + entity_type: hs_entity + entity_field: label + plugin_id: string operator: word value: '' group: 1 @@ -2025,6 +1998,8 @@ display: description: '' use_operator: false operator: title_1_op + operator_limit_selection: false + operator_list: { } identifier: instructor required: false remember: false @@ -2049,9 +2024,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - entity_type: course_collections - entity_field: title - plugin_id: string delta_1: id: delta_1 table: node__field_hs_course_section_instruc @@ -2059,6 +2031,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: numeric operator: empty value: min: '' @@ -2072,15 +2045,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -2093,7 +2068,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: numeric delta: id: delta table: node__field_hs_course_section_instruc @@ -2101,6 +2075,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: numeric operator: '=' value: min: '' @@ -2114,15 +2089,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -2135,7 +2112,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: numeric field_hs_course_section_end_date_value: id: field_hs_course_section_end_date_value table: node__field_hs_course_section_end_date @@ -2143,6 +2119,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: datetime operator: '>=' value: min: '' @@ -2157,15 +2134,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -2178,7 +2157,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: datetime field_hs_course_section_st_date_value: id: field_hs_course_section_st_date_value table: node__field_hs_course_section_st_date @@ -2186,6 +2164,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: datetime operator: '<=' value: min: '' @@ -2200,15 +2179,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -2221,13 +2202,106 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: datetime + exception: + exception: 1 + start_month: '7' + start_day: '21' + end_month: '9' + end_day: '2' + value: 'now +70days' filter_groups: operator: AND groups: 1: AND 2: OR + style: + type: pattern + options: + pattern: table_pattern + pattern_mapping: + rows: + destination: items + weight: '0' + title: + destination: '' + weight: '0' + 'header:area': + destination: header + weight: '0' + 'header:result': + destination: '' + weight: '0' + row: + type: ui_patterns + options: + default_field_elements: 1 + inline: + field_hs_course_subject: 0 + field_hs_course_code: 0 + title: 0 + field_hs_course_section_instruc: 0 + field_hs_course_academic_year: 0 + field_hs_course_section_quarter: 0 + field_hs_course_section_days: 0 + field_hs_course_section_st_time: 0 + field_hs_course_section_end_time: 0 + separator: '' + hide_empty: 0 + pattern: table_row + pattern_mapping: + 'views_row:field_hs_course_subject': + destination: column_1 + weight: 0 + plugin: views_row + source: field_hs_course_subject + 'views_row:field_hs_course_code': + destination: column_1 + weight: 1 + plugin: views_row + source: field_hs_course_code + 'views_row:title': + destination: column_1 + weight: 2 + plugin: views_row + source: title + 'views_row:field_hs_course_section_instruc': + destination: column_2 + weight: 3 + plugin: views_row + source: field_hs_course_section_instruc + 'views_row:field_hs_course_academic_year': + destination: column_3 + weight: 4 + plugin: views_row + source: field_hs_course_academic_year + 'views_row:field_hs_course_section_quarter': + destination: column_3 + weight: 5 + plugin: views_row + source: field_hs_course_section_quarter + 'views_row:field_hs_course_section_days': + destination: column_4 + weight: 6 + plugin: views_row + source: field_hs_course_section_days + 'views_row:field_hs_course_section_st_time': + destination: column_4 + weight: 7 + plugin: views_row + source: field_hs_course_section_st_time + 'views_row:field_hs_course_section_end_time': + destination: column_4 + weight: 8 + plugin: views_row + source: field_hs_course_section_end_time + defaults: + style: false + row: false + filters: false + filter_groups: false + display_description: '' exposed_block: true + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -2245,4 +2319,3 @@ display: - 'config:field.storage.node.field_hs_course_section_quarter' - 'config:field.storage.node.field_hs_course_section_st_time' - 'config:field.storage.node.field_hs_course_subject' - - extensions diff --git a/docroot/modules/humsci/hs_courses/hs_courses.info.yml b/docroot/modules/humsci/hs_courses/hs_courses.info.yml index fde3da7377..02555f74b5 100644 --- a/docroot/modules/humsci/hs_courses/hs_courses.info.yml +++ b/docroot/modules/humsci/hs_courses/hs_courses.info.yml @@ -6,9 +6,9 @@ version: 8.2.7 package: 'Humanities & Sciences' dependencies: - datetime - - eck - field_formatter_class - field_group + - hs_entities - hs_field_helpers - hs_layouts - hs_person diff --git a/docroot/modules/humsci/hs_events/config/install/core.base_field_override.node.hs_event.promote.yml b/docroot/modules/humsci/hs_events/config/install/core.base_field_override.node.hs_event.promote.yml index bcc75a4846..0908921f73 100644 --- a/docroot/modules/humsci/hs_events/config/install/core.base_field_override.node.hs_event.promote.yml +++ b/docroot/modules/humsci/hs_events/config/install/core.base_field_override.node.hs_event.promote.yml @@ -1,3 +1,4 @@ +uuid: a2826a56-7eca-48c3-bd81-ec338fb5bd38 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/eck.eck_entity_type.event_collections.yml b/docroot/modules/humsci/hs_events/config/install/eck.eck_entity_type.event_collections.yml deleted file mode 100644 index 1f1a01bd6f..0000000000 --- a/docroot/modules/humsci/hs_events/config/install/eck.eck_entity_type.event_collections.yml +++ /dev/null @@ -1,11 +0,0 @@ -langcode: en -status: true -dependencies: { } -_core: - default_config_hash: alpO-KfdmucorAsjGAyjOWW4-8QKpVlvtMbkJaSym7Y -id: event_collections -label: 'Event Collections' -created: false -changed: false -uid: false -title: true diff --git a/docroot/modules/humsci/hs_events/config/install/eck.eck_type.event_collections.speaker.yml b/docroot/modules/humsci/hs_events/config/install/eck.eck_type.event_collections.speaker.yml deleted file mode 100644 index b54f0cd1d6..0000000000 --- a/docroot/modules/humsci/hs_events/config/install/eck.eck_type.event_collections.speaker.yml +++ /dev/null @@ -1,10 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - eck.eck_entity_type.event_collections -_core: - default_config_hash: OSVogGYGckUu_H15-sGsEM8hbxIhPkAaq3KWmJwbqfM -name: Speaker -type: speaker -description: '' diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.body.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.body.yml index 748718d87d..57eccc1e79 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.body.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.body.yml @@ -1,3 +1,4 @@ +uuid: e10529a0-4442-4e32-9796-13cf87370a2b langcode: en status: true dependencies: @@ -20,4 +21,6 @@ default_value: { } default_value_callback: '' settings: display_summary: true + required_summary: false + allowed_formats: { } field_type: text_with_summary diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_admission.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_admission.yml index 9d207764ac..a35a996265 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_admission.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_admission.yml @@ -1,15 +1,14 @@ +uuid: 42843b41-653f-43b6-b27c-e9b0a6ffaf01 langcode: en status: true dependencies: config: - field.storage.node.field_hs_event_admission + - filter.format.minimal_html + - filter.format.plain_text - node.type.hs_event module: - - allowed_formats - text -third_party_settings: - allowed_formats: - plain_text: plain_text _core: default_config_hash: OsXGBAd_oCkXVZVqBY7uLDTO9DEu4MzNCyrgdAW8dE8 id: node.hs_event.field_hs_event_admission @@ -22,5 +21,8 @@ required: false translatable: false default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - minimal_html + - plain_text field_type: text_long diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_audience.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_audience.yml index 68b3a6fe08..703c38ef64 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_audience.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_audience.yml @@ -1,3 +1,4 @@ +uuid: 522b4abd-e746-4831-9cdf-4e1e2f3faf1b langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_category.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_category.yml index 07cbeab503..5b22a3cfbb 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_category.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_category.yml @@ -1,3 +1,4 @@ +uuid: 04ff3137-6c4c-4168-acaf-c92d1a90474b langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_contact_email.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_contact_email.yml index 8f8f1dd6eb..905b345a5e 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_contact_email.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_contact_email.yml @@ -1,3 +1,4 @@ +uuid: 5aa50761-35a3-4ac5-932b-37502b7e89f9 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_contact_phone.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_contact_phone.yml index 30ee6a37c4..1ddb7a29d3 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_contact_phone.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_contact_phone.yml @@ -1,3 +1,4 @@ +uuid: e15c0c7f-6f68-4e8e-b421-bdc5c42a6f93 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_date.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_date.yml index 22e06ee7d1..e0952f50e2 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_date.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_date.yml @@ -1,3 +1,4 @@ +uuid: 9e106871-97fc-4960-ac4f-f24a78ca7da6 langcode: en status: true dependencies: @@ -5,23 +6,21 @@ dependencies: - field.storage.node.field_hs_event_date - node.type.hs_event module: - - datetime_range -_core: - default_config_hash: THMFluROCyw8Oy51lNA7c32YudL3_-lVExx0EYtYIuA + - smart_date id: node.hs_event.field_hs_event_date field_name: field_hs_event_date entity_type: node bundle: hs_event -label: Date +label: 'Date Range' description: '' required: false translatable: false default_value: - - default_date_type: now - default_date: now - default_end_date_type: '' - default_end_date: '' + default_duration: 0 + default_duration_increments: "30\r\n60|1 hour\r\n90\r\n120|2 hours\r\ncustom" + default_date_type: '' + default_date: '' default_value_callback: '' settings: { } -field_type: daterange +field_type: smartdate diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_image.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_image.yml index d77e1cf437..5fb0511f1f 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_image.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_image.yml @@ -1,3 +1,4 @@ +uuid: f5c1be2b-d03c-44bd-bfe3-02803e4c52a3 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_link.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_link.yml index 229d3e1a16..3c5c434848 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_link.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_link.yml @@ -1,3 +1,4 @@ +uuid: 8d57c28a-0199-4449-8704-b5e570ef6225 langcode: en status: true dependencies: @@ -19,6 +20,6 @@ translatable: false default_value: { } default_value_callback: '' settings: - link_type: 17 title: 1 + link_type: 17 field_type: link diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_location.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_location.yml index 45631696d2..0723ed71ab 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_location.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_location.yml @@ -1,3 +1,4 @@ +uuid: 2684181e-5f56-46cf-ae73-6a7fa6be6a11 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_map_link.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_map_link.yml index e256365b9b..57ddfcbad5 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_map_link.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_map_link.yml @@ -1,3 +1,4 @@ +uuid: 1a2763a8-8dd8-45c9-9620-02c34ac563d1 langcode: en status: true dependencies: @@ -19,6 +20,6 @@ translatable: false default_value: { } default_value_callback: '' settings: - link_type: 17 title: 1 + link_type: 17 field_type: link diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_series.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_series.yml index 8c427296cb..d5e810efd2 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_series.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_series.yml @@ -1,3 +1,4 @@ +uuid: 90825bcd-4bbb-43e7-b9e9-9f2fb365f49b langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_speaker.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_speaker.yml index 6e5f5647da..b8cffd8bf2 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_speaker.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_speaker.yml @@ -1,8 +1,8 @@ +uuid: f895cb4a-1b05-40e6-a711-b0f7da0c9e40 langcode: en status: true dependencies: config: - - eck.eck_type.event_collections.speaker - field.storage.node.field_hs_event_speaker - node.type.hs_event _core: @@ -18,12 +18,13 @@ translatable: false default_value: { } default_value_callback: '' settings: - handler: 'default:event_collections' + handler: 'default:hs_entity' handler_settings: target_bundles: - speaker: speaker + event_collections__speaker: event_collections__speaker sort: - field: _none - auto_create: 0 + field: label + direction: ASC + auto_create: true auto_create_bundle: '' -field_type: bricks +field_type: entity_reference diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_sponsor.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_sponsor.yml index 7ff639bbc3..f77e284f54 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_sponsor.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_sponsor.yml @@ -1,3 +1,4 @@ +uuid: 22e309e7-f915-4d47-8fcf-94fe11340158 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_status.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_status.yml index d81dbc75b1..e3328c005f 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_status.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_status.yml @@ -1,3 +1,4 @@ +uuid: ba7a89eb-7dd4-4bc2-b31c-fb9e9dd7506c langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_type.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_type.yml index dbd9c69237..7f09ddff25 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_type.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_type.yml @@ -1,3 +1,4 @@ +uuid: 01e5d8e6-df9f-4cf8-868c-feafc399b6ea langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_video.yml b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_video.yml index b18989deaf..af9c6e5c04 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_video.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.field.node.hs_event.field_hs_event_video.yml @@ -1,3 +1,4 @@ +uuid: a0901a18-0e6f-43dd-aeff-8b12499ae37b langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_admission.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_admission.yml index f998ae1566..ac2519b015 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_admission.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_admission.yml @@ -1,3 +1,4 @@ +uuid: 01109459-1861-4184-8b7b-f1a4ca943c8e langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_audience.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_audience.yml index fea1bc15c2..d409503cd0 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_audience.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_audience.yml @@ -1,3 +1,4 @@ +uuid: 3f39bca6-f9ad-4b0a-82d6-6cb046dfe9d1 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_category.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_category.yml index 674200b86a..4f5edd6ac4 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_category.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_category.yml @@ -1,3 +1,4 @@ +uuid: 2ca3ff6c-2999-47bb-8a90-19e08b3578af langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_contact_email.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_contact_email.yml index dcc8346ed4..060a6bd994 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_contact_email.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_contact_email.yml @@ -1,3 +1,4 @@ +uuid: ed462387-ff50-429e-8c83-07e3d7a4fa44 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_contact_phone.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_contact_phone.yml index 5b92eba2ed..6c4d4b4512 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_contact_phone.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_contact_phone.yml @@ -1,3 +1,4 @@ +uuid: c5802e9c-f121-4256-857c-359c5fa2f1c4 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_date.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_date.yml index b8219f8e37..ed6885462f 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_date.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_date.yml @@ -1,18 +1,16 @@ +uuid: e7c58e93-8004-4486-983e-f6c0522f4fde langcode: en status: true dependencies: module: - - datetime_range - node -_core: - default_config_hash: '-bk7vQ_5H-X_n5dNirTU91F-6AtFClESMxNnhV13J1k' + - smart_date id: node.field_hs_event_date field_name: field_hs_event_date entity_type: node -type: daterange -settings: - datetime_type: datetime -module: datetime_range +type: smartdate +settings: { } +module: smart_date locked: false cardinality: 1 translatable: true diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_image.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_image.yml index 306079aa03..af9e4cd10a 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_image.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_image.yml @@ -1,3 +1,4 @@ +uuid: 3a338949-c462-43c0-82e1-95486f131117 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_link.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_link.yml index a4a6303be1..2525c8fea9 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_link.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_link.yml @@ -1,3 +1,4 @@ +uuid: 9150782f-9380-4ac6-9f84-bd65a60eeb81 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_location.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_location.yml index 5bcfe41d56..3c5c697449 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_location.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_location.yml @@ -1,3 +1,4 @@ +uuid: e80bd5e1-7e45-4cf4-ad2b-4e7af3df9c66 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_map_link.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_map_link.yml index 6364835fd1..c46423c615 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_map_link.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_map_link.yml @@ -1,3 +1,4 @@ +uuid: c04b7fea-35ee-4d03-bde9-4449f033bc03 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_series.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_series.yml index eba8c94025..6bfa2d2f2a 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_series.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_series.yml @@ -1,3 +1,4 @@ +uuid: 9510b8c6-aa1f-4204-95e9-90223e5b5455 langcode: en status: true dependencies: @@ -13,7 +14,7 @@ settings: target_type: node module: core locked: false -cardinality: 1 +cardinality: -1 translatable: true indexes: { } persist_with_no_fields: false diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_speaker.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_speaker.yml index f9d721fede..83e995a78f 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_speaker.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_speaker.yml @@ -1,17 +1,19 @@ +uuid: e92c75f6-bcc3-4d92-8205-7e13cbd215ce langcode: en status: true dependencies: - - eck + module: + - hs_entities - node _core: default_config_hash: 8Uhp2twGSrzMJMCte4pOAKL9wkyixWMK727IQKVDCII id: node.field_hs_event_speaker field_name: field_hs_event_speaker entity_type: node -type: bricks +type: entity_reference settings: - target_type: event_collections -module: bricks + target_type: hs_entity +module: core locked: false cardinality: -1 translatable: true diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_sponsor.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_sponsor.yml index 95a9ca5ff4..73548cc6a5 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_sponsor.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_sponsor.yml @@ -1,3 +1,4 @@ +uuid: 0efb3d54-9fab-407a-a072-9b779eae9e64 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_status.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_status.yml index 086c598be3..38b764612f 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_status.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_status.yml @@ -1,3 +1,4 @@ +uuid: f6be1b90-89a0-4d61-aeb2-20c277f80f47 langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_type.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_type.yml index b3e312c6c1..cfe468ec84 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_type.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_type.yml @@ -1,3 +1,4 @@ +uuid: 5a97b361-d8f3-4bd7-ae85-6f45ff0dacfa langcode: en status: true dependencies: diff --git a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_video.yml b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_video.yml index a3045d1987..311e01d3fb 100644 --- a/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_video.yml +++ b/docroot/modules/humsci/hs_events/config/install/field.storage.node.field_hs_event_video.yml @@ -1,3 +1,4 @@ +uuid: a2f947c2-bbc4-4d2b-8451-bc7690560efb langcode: en status: true dependencies: @@ -14,7 +15,7 @@ settings: target_type: media module: core locked: false -cardinality: 1 +cardinality: -1 translatable: true indexes: { } persist_with_no_fields: false diff --git a/docroot/modules/humsci/hs_events/config/install/node.type.hs_event.yml b/docroot/modules/humsci/hs_events/config/install/node.type.hs_event.yml index 1e63bca71a..271b9861d6 100644 --- a/docroot/modules/humsci/hs_events/config/install/node.type.hs_event.yml +++ b/docroot/modules/humsci/hs_events/config/install/node.type.hs_event.yml @@ -1,18 +1,23 @@ +uuid: cfe7a7d0-1c1f-475a-9ef8-7d8244e366bb langcode: en status: true dependencies: module: - - menu_ui + - node_revision_delete third_party_settings: menu_ui: available_menus: { } parent: '' + node_revision_delete: + minimum_revisions_to_keep: 5 + minimum_age_to_delete: 0 + when_to_delete: 0 _core: default_config_hash: _RqEpKFtMIL9phINGaFF5UMPY919G_-TEZEbMFHaBII name: Event type: hs_event -description: 'An event pulled in from events-legacy.stanford.edu.' +description: 'An event pulled in from events-legacy.stanford.edu or local event.' help: '' new_revision: true -preview_mode: 1 +preview_mode: 0 display_submitted: false diff --git a/docroot/modules/humsci/hs_events/config/install/pathauto.pattern.hs_events.yml b/docroot/modules/humsci/hs_events/config/install/pathauto.pattern.hs_events.yml index 2e74560a3a..36c6acce2c 100644 --- a/docroot/modules/humsci/hs_events/config/install/pathauto.pattern.hs_events.yml +++ b/docroot/modules/humsci/hs_events/config/install/pathauto.pattern.hs_events.yml @@ -1,21 +1,24 @@ +uuid: c2cf433a-d16b-462e-98dd-5e80cf20e0a7 langcode: en status: true dependencies: module: - node +_core: + default_config_hash: '-dPJrNitUDxRJ58vkbfFBNSXyBMEWH6LFDqHUYk8rcg' id: hs_events label: 'Events Content' type: 'canonical_entities:node' pattern: 'events/[node:title]' selection_criteria: - 84209e61-9c8c-4b2e-838f-d88f4e9160d0: - id: node_type - bundles: - hs_event: hs_event + 2fdaa554-3a98-4a9e-9518-60752d37935a: + id: 'entity_bundle:node' negate: false + uuid: 2fdaa554-3a98-4a9e-9518-60752d37935a context_mapping: node: node - uuid: 84209e61-9c8c-4b2e-838f-d88f4e9160d0 + bundles: + hs_event: hs_event selection_logic: and weight: -5 relationships: { } diff --git a/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_audience.yml b/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_audience.yml index 26ff3720dc..1db1dc10aa 100644 --- a/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_audience.yml +++ b/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_audience.yml @@ -1,3 +1,4 @@ +uuid: cbb2ede8-958c-463d-b613-1172df570947 langcode: en status: true dependencies: { } @@ -6,5 +7,4 @@ _core: name: 'Event Audience' vid: hs_event_audience description: '' -hierarchy: 0 weight: 0 diff --git a/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_category.yml b/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_category.yml index d99f69a0d4..7b43607195 100644 --- a/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_category.yml +++ b/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_category.yml @@ -1,3 +1,4 @@ +uuid: e562f5d8-bb25-41c1-b5ba-f699cb7dc607 langcode: en status: true dependencies: { } @@ -6,5 +7,4 @@ _core: name: 'Event Category' vid: hs_event_category description: '' -hierarchy: 0 weight: 0 diff --git a/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_status.yml b/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_status.yml index b97e01ab1f..823f5b5e65 100644 --- a/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_status.yml +++ b/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_status.yml @@ -1,3 +1,4 @@ +uuid: f6c03f6b-da32-4bc7-9ebf-03451b699e83 langcode: en status: true dependencies: { } @@ -6,5 +7,4 @@ _core: name: 'Event Status' vid: hs_event_status description: '' -hierarchy: 0 weight: 0 diff --git a/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_type.yml b/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_type.yml index e0f56be469..31a1a47de8 100644 --- a/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_type.yml +++ b/docroot/modules/humsci/hs_events/config/install/taxonomy.vocabulary.hs_event_type.yml @@ -1,3 +1,4 @@ +uuid: 149f70f2-8777-4e78-821c-e7e42df885bc langcode: en status: true dependencies: { } @@ -6,5 +7,4 @@ _core: name: 'Event Type' vid: hs_event_type description: '' -hierarchy: 0 weight: 0 diff --git a/docroot/modules/humsci/hs_events/config/install/views.view.hs_events.yml b/docroot/modules/humsci/hs_events/config/install/views.view.hs_events.yml index 513fb07719..828dfccca2 100644 --- a/docroot/modules/humsci/hs_events/config/install/views.view.hs_events.yml +++ b/docroot/modules/humsci/hs_events/config/install/views.view.hs_events.yml @@ -1,18 +1,17 @@ +uuid: e8a625c7-6d7c-4260-94d3-40ae21f5586e langcode: en -status: true +status: false dependencies: config: - core.entity_view_mode.node.hs_horizontal_card - core.entity_view_mode.node.hs_vertical_card - field.storage.node.body - - field.storage.node.field_hs_event_date - field.storage.node.field_hs_event_image - field.storage.node.field_hs_event_location - node.type.hs_event module: - - datetime - - hs_field_helpers - node + - smart_date - stanford_media - text - user @@ -27,93 +26,36 @@ description: '' tag: '' base_table: node_field_data base_field: nid -core: 8.x display: default: - display_plugin: default id: default display_title: Master + display_plugin: default position: 0 display_options: - access: - type: perm - options: - perm: 'access content' - cache: - type: tag - options: { } - query: - type: views_query - options: - disable_sql_rewrite: false - distinct: false - replica: false - query_comment: '' - query_tags: { } - exposed_form: - type: basic - options: - submit_button: Apply - reset_button: false - reset_button_label: Reset - exposed_sorts_label: 'Sort by' - expose_sort_order: true - sort_asc_label: Asc - sort_desc_label: Desc - pager: - type: infinite_scroll - options: - items_per_page: 5 - offset: 0 - id: 0 - total_pages: null - tags: - previous: '‹ Previous' - next: 'Next ›' - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - views_infinite_scroll: - button_text: 'Load More' - automatically_load_content: false - style: - type: default - row: - type: 'entity:node' - options: - relationship: none - view_mode: hs_horizontal_card + title: 'Upcoming Events' fields: title: id: title table: node_field_data field: title + relationship: none + group_type: group + admin_label: '' entity_type: node entity_field: title + plugin_id: field label: '' + exclude: false alter: alter_text: false make_link: false absolute: false - trim: false word_boundary: false ellipsis: false strip_tags: false + trim: false html: false - hide_empty: false - empty_zero: false - settings: - link_to_entity: true - plugin_id: field - relationship: none - group_type: group - admin_label: '' - exclude: false element_type: '' element_class: '' element_label_type: '' @@ -123,9 +65,13 @@ display: element_wrapper_class: '' element_default_classes: true empty: '' + hide_empty: false + empty_zero: false hide_alter_empty: true click_sort_column: value type: string + settings: + link_to_entity: true group_column: value group_columns: { } group_rows: true @@ -143,6 +89,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: '' exclude: false alter: @@ -197,7 +144,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_hs_event_image: id: field_hs_event_image table: node__field_hs_event_image @@ -205,6 +151,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: '' exclude: false alter: @@ -250,8 +197,8 @@ display: type: media_image_formatter settings: view_mode: default + link: true image_style: medium - link: 1 group_column: target_id group_columns: { } group_rows: true @@ -262,14 +209,14 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_hs_event_date: id: field_hs_event_date table: node__field_hs_event_date - field: field_hs_event_date + field: field_hs_event_date_value relationship: none group_type: group admin_label: '' + plugin_id: date label: '' exclude: false alter: @@ -311,12 +258,10 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true + date_format: custom + custom_date_format: 'l, F j, Y' click_sort_column: value type: datetime_hs - settings: - timezone_override: '' - date_format: 'l, F j, Y' - display: start_date group_column: value group_columns: { } group_rows: true @@ -327,14 +272,14 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_hs_event_date_1: id: field_hs_event_date_1 table: node__field_hs_event_date - field: field_hs_event_date + field: field_hs_event_date_value relationship: none group_type: group admin_label: 'Content: Date - Time' + plugin_id: date label: '' exclude: false alter: @@ -376,12 +321,10 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true + date_format: custom + custom_date_format: 'g:i A' click_sort_column: value type: datetime_hs - settings: - timezone_override: '' - date_format: 'g:i A' - display: start_date group_column: value group_columns: { } group_rows: true @@ -392,7 +335,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_hs_event_location: id: field_hs_event_location table: node__field_hs_event_location @@ -400,6 +342,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: '' exclude: false alter: @@ -454,28 +397,100 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field + pager: + type: infinite_scroll + options: + offset: 0 + items_per_page: 5 + total_pages: null + id: 0 + tags: + next: 'Next ›' + previous: '‹ Previous' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + views_infinite_scroll: + button_text: 'Load More' + automatically_load_content: false + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: perm + options: + perm: 'access content' + cache: + type: tag + options: { } + empty: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + plugin_id: text + empty: true + content: + value: 'No events to view at this time. Please check back again soon.
' + format: basic_html + tokenize: false + sorts: + field_hs_event_date_value: + id: field_hs_event_date_value + table: node__field_hs_event_date + field: field_hs_event_date_value + relationship: none + group_type: group + admin_label: '' + plugin_id: datetime + order: ASC + expose: + label: '' + field_identifier: field_hs_event_date_value + exposed: false + granularity: second + arguments: { } filters: status: - value: '1' + id: status table: node_field_data field: status - plugin_id: boolean entity_type: node entity_field: status - id: status + plugin_id: boolean + value: '1' + group: 1 expose: operator: '' - group: 1 + operator_limit_selection: false + operator_list: { } type: id: type table: node_field_data field: type - value: - hs_event: hs_event entity_type: node entity_field: type plugin_id: bundle + value: + hs_event: hs_event + expose: + operator_limit_selection: false + operator_list: { } field_hs_event_date_value: id: field_hs_event_date_value table: node__field_hs_event_date @@ -483,6 +498,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: datetime operator: '>=' value: min: '' @@ -497,15 +513,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -518,42 +536,26 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: datetime - sorts: - field_hs_event_date_value: - id: field_hs_event_date_value - table: node__field_hs_event_date - field: field_hs_event_date_value + style: + type: default + row: + type: 'entity:node' + options: relationship: none - group_type: group - admin_label: '' - order: ASC - exposed: false - expose: - label: '' - granularity: second - plugin_id: datetime - title: 'Upcoming Events' + view_mode: hs_horizontal_card + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + use_ajax: true header: { } footer: { } - empty: - area: - id: area - table: views - field: area - relationship: none - group_type: group - admin_label: '' - empty: true - tokenize: false - content: - value: 'No events to view at this time. Please check back again soon.
' - format: basic_html - plugin_id: text - relationships: { } - arguments: { } display_extenders: { } - use_ajax: true cache_metadata: max-age: -1 contexts: @@ -567,45 +569,17 @@ display: - 'config:field.storage.node.field_hs_event_date' - 'config:field.storage.node.field_hs_event_image' - 'config:field.storage.node.field_hs_event_location' - - extensions next_featured: - display_plugin: block id: next_featured display_title: 'Next Upcoming Featured' + display_plugin: block position: 5 display_options: - display_extenders: { } - display_description: '' - style: - type: default - options: { } - defaults: - style: false - row: false - pager: false - use_more: false - use_more_always: false - use_more_text: false - link_display: false - link_url: false - empty: false - filters: false - filter_groups: false - row: - type: 'entity:node' - options: - relationship: none - view_mode: hs_vertical_card pager: type: some options: - items_per_page: 1 offset: 0 - use_more: true - use_more_always: false - use_more_text: 'See More Events' - link_display: custom_url - link_url: /events/upcoming-events + items_per_page: 1 empty: view: id: view @@ -614,31 +588,36 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: view empty: true view_to_insert: 'hs_events:next_upcoming' inherit_arguments: false - plugin_id: view filters: status: - value: '1' + id: status table: node_field_data field: status - plugin_id: boolean entity_type: node entity_field: status - id: status + plugin_id: boolean + value: '1' + group: 1 expose: operator: '' - group: 1 + operator_limit_selection: false + operator_list: { } type: id: type table: node_field_data field: type - value: - hs_event: hs_event entity_type: node entity_field: type plugin_id: bundle + value: + hs_event: hs_event + expose: + operator_limit_selection: false + operator_list: { } field_hs_event_date_value: id: field_hs_event_date_value table: node__field_hs_event_date @@ -646,6 +625,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: datetime operator: '>=' value: min: '' @@ -660,15 +640,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -681,7 +663,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: datetime promote: id: promote table: node_field_data @@ -689,6 +670,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: node + entity_field: promote + plugin_id: boolean operator: '=' value: '1' group: 1 @@ -699,6 +683,8 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false @@ -717,13 +703,37 @@ display: default_group: All default_group_multiple: { } group_items: { } - entity_type: node - entity_field: promote - plugin_id: boolean filter_groups: operator: AND groups: 1: AND + style: + type: default + options: { } + row: + type: 'entity:node' + options: + relationship: none + view_mode: hs_vertical_card + defaults: + empty: false + pager: false + use_more: false + use_more_always: false + use_more_text: false + link_display: false + link_url: false + style: false + row: false + filters: false + filter_groups: false + display_description: '' + use_more: true + use_more_always: false + use_more_text: 'See More Events' + link_display: custom_url + link_url: /events/upcoming-events + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -736,42 +746,41 @@ display: - 'config:field.storage.node.field_hs_event_date' - 'config:field.storage.node.field_hs_event_image' - 'config:field.storage.node.field_hs_event_location' - - extensions next_upcoming: - display_plugin: block id: next_upcoming display_title: 'Next Upcoming Event' + display_plugin: block position: 5 display_options: - display_extenders: { } - display_description: '' + pager: + type: some + options: + offset: 0 + items_per_page: 1 style: type: default options: { } + row: + type: 'entity:node' + options: + relationship: none + view_mode: hs_vertical_card defaults: - style: false - row: false pager: false use_more: false use_more_always: false use_more_text: false link_display: false link_url: false - row: - type: 'entity:node' - options: - relationship: none - view_mode: hs_vertical_card - pager: - type: some - options: - items_per_page: 1 - offset: 0 + style: false + row: false + display_description: '' use_more: true use_more_always: true use_more_text: 'See More Events' link_display: custom_url link_url: /events/upcoming-events + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -784,21 +793,13 @@ display: - 'config:field.storage.node.field_hs_event_date' - 'config:field.storage.node.field_hs_event_image' - 'config:field.storage.node.field_hs_event_location' - - extensions past_event: - display_plugin: block id: past_event display_title: 'Past Events' + display_plugin: block position: 2 display_options: - display_extenders: { } - display_description: '' title: 'Past Events' - defaults: - title: false - sorts: false - filters: false - filter_groups: false sorts: field_hs_event_date_value: id: field_hs_event_date_value @@ -807,33 +808,39 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: datetime order: DESC - exposed: false expose: label: '' + field_identifier: field_hs_event_date_value + exposed: false granularity: second - plugin_id: datetime filters: status: - value: '1' + id: status table: node_field_data field: status - plugin_id: boolean entity_type: node entity_field: status - id: status + plugin_id: boolean + value: '1' + group: 1 expose: operator: '' - group: 1 + operator_limit_selection: false + operator_list: { } type: id: type table: node_field_data field: type - value: - hs_event: hs_event entity_type: node entity_field: type plugin_id: bundle + value: + hs_event: hs_event + expose: + operator_limit_selection: false + operator_list: { } field_hs_event_date_value: id: field_hs_event_date_value table: node__field_hs_event_date @@ -841,6 +848,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: datetime operator: '<=' value: min: '' @@ -855,15 +863,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -876,11 +886,17 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: datetime filter_groups: operator: AND groups: 1: AND + defaults: + title: false + sorts: false + filters: false + filter_groups: false + display_description: '' + display_extenders: { } block_hide_empty: true cache_metadata: max-age: -1 @@ -895,14 +911,13 @@ display: - 'config:field.storage.node.field_hs_event_date' - 'config:field.storage.node.field_hs_event_image' - 'config:field.storage.node.field_hs_event_location' - - extensions past_event_type: - display_plugin: block id: past_event_type display_title: 'Past Event Type' + display_plugin: block position: 3 display_options: - display_extenders: { } + title: 'Past Events' arguments: term_node_taxonomy_name_depth: id: term_node_taxonomy_name_depth @@ -911,6 +926,8 @@ display: relationship: none group_type: group admin_label: '' + entity_type: node + plugin_id: taxonomy_index_name_depth default_action: 'not found' exception: value: all @@ -921,12 +938,11 @@ display: default_argument_type: fixed default_argument_options: argument: '' - default_argument_skip_url: false summary_options: base_path: '' count: true - items_per_page: 25 override: false + items_per_page: 25 summary: sort_order: asc number_of_records: 0 @@ -936,41 +952,37 @@ display: type: none fail: 'not found' validate_options: { } + break_phrase: true depth: '0' + use_taxonomy_term_path: false vocabularies: hs_event_type: hs_event_type - break_phrase: true - use_taxonomy_term_path: false - entity_type: node - plugin_id: taxonomy_index_name_depth - defaults: - arguments: false - title: false - filters: false - filter_groups: false - display_description: '' - title: 'Past Events' filters: status: - value: '1' + id: status table: node_field_data field: status - plugin_id: boolean entity_type: node entity_field: status - id: status + plugin_id: boolean + value: '1' + group: 1 expose: operator: '' - group: 1 + operator_limit_selection: false + operator_list: { } type: id: type table: node_field_data field: type - value: - hs_event: hs_event entity_type: node entity_field: type plugin_id: bundle + value: + hs_event: hs_event + expose: + operator_limit_selection: false + operator_list: { } field_hs_event_date_value: id: field_hs_event_date_value table: node__field_hs_event_date @@ -978,6 +990,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: datetime operator: '<=' value: min: '' @@ -992,15 +1005,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -1013,11 +1028,17 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: datetime filter_groups: operator: AND groups: 1: AND + defaults: + title: false + arguments: false + filters: false + filter_groups: false + display_description: '' + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -1032,18 +1053,17 @@ display: - 'config:field.storage.node.field_hs_event_date' - 'config:field.storage.node.field_hs_event_image' - 'config:field.storage.node.field_hs_event_location' - - extensions upcoming_event: - display_plugin: block id: upcoming_event display_title: 'Upcoming Events' + display_plugin: block position: 1 display_options: - display_extenders: { } - display_description: '' - block_hide_empty: true defaults: pager: true + display_description: '' + display_extenders: { } + block_hide_empty: true cache_metadata: max-age: -1 contexts: @@ -1057,14 +1077,12 @@ display: - 'config:field.storage.node.field_hs_event_date' - 'config:field.storage.node.field_hs_event_image' - 'config:field.storage.node.field_hs_event_location' - - extensions upcoming_event_type: - display_plugin: block id: upcoming_event_type display_title: 'Upcoming Event Type' + display_plugin: block position: 3 display_options: - display_extenders: { } arguments: term_node_taxonomy_name_depth: id: term_node_taxonomy_name_depth @@ -1073,6 +1091,8 @@ display: relationship: none group_type: group admin_label: '' + entity_type: node + plugin_id: taxonomy_index_name_depth default_action: 'not found' exception: value: all @@ -1083,12 +1103,11 @@ display: default_argument_type: fixed default_argument_options: argument: '' - default_argument_skip_url: false summary_options: base_path: '' count: true - items_per_page: 25 override: false + items_per_page: 25 summary: sort_order: asc number_of_records: 0 @@ -1098,16 +1117,15 @@ display: type: none fail: 'not found' validate_options: { } + break_phrase: true depth: '0' + use_taxonomy_term_path: false vocabularies: hs_event_type: hs_event_type - break_phrase: true - use_taxonomy_term_path: false - entity_type: node - plugin_id: taxonomy_index_name_depth defaults: arguments: false display_description: '' + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -1122,4 +1140,3 @@ display: - 'config:field.storage.node.field_hs_event_date' - 'config:field.storage.node.field_hs_event_image' - 'config:field.storage.node.field_hs_event_location' - - extensions diff --git a/docroot/modules/humsci/hs_events/hs_events.info.yml b/docroot/modules/humsci/hs_events/hs_events.info.yml index 981c6ce58a..ae7fc52a41 100755 --- a/docroot/modules/humsci/hs_events/hs_events.info.yml +++ b/docroot/modules/humsci/hs_events/hs_events.info.yml @@ -9,8 +9,8 @@ dependencies: - ctools - datetime - datetime_range - - eck - field_group + - hs_entities - hs_field_helpers - inline_entity_form - link diff --git a/docroot/modules/humsci/hs_field_helpers/hs_field_helpers.module b/docroot/modules/humsci/hs_field_helpers/hs_field_helpers.module index a89e261f79..c229079c9f 100644 --- a/docroot/modules/humsci/hs_field_helpers/hs_field_helpers.module +++ b/docroot/modules/humsci/hs_field_helpers/hs_field_helpers.module @@ -16,7 +16,6 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Layout\LayoutDefinition; use Drupal\Core\Render\Element; use Drupal\Core\Routing\RouteMatchInterface; -use Drupal\eck\Entity\EckEntity; use Drupal\field\Entity\FieldConfig; use Drupal\field\FieldStorageConfigInterface; use Drupal\field_permissions\Plugin\FieldPermissionTypeInterface; diff --git a/docroot/modules/humsci/hs_migrate/src/Plugin/migrate/process/UrlToTerm.php b/docroot/modules/humsci/hs_migrate/src/Plugin/migrate/process/UrlToTerm.php index 079498d7e9..3583c4976c 100644 --- a/docroot/modules/humsci/hs_migrate/src/Plugin/migrate/process/UrlToTerm.php +++ b/docroot/modules/humsci/hs_migrate/src/Plugin/migrate/process/UrlToTerm.php @@ -50,14 +50,14 @@ public function __construct(array $configuration, $plugin_id, $plugin_definition */ public function transform($value, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) { $importer_storage = $this->entityTypeManager->getStorage('importers'); - $eck_ids = $importer_storage->getQuery() + $entity_reference_ids = $importer_storage->getQuery() ->condition('field_url', $value) ->accessCheck(FALSE) ->execute(); - if ($eck_ids) { - $eck = $importer_storage->load(reset($eck_ids)); - return $eck->get('field_terms')->getValue(); + if ($entity_reference_ids) { + $entity_references = $importer_storage->load(reset($entity_reference_ids)); + return $entity_references->get('field_terms')->getValue(); } return NULL; } diff --git a/docroot/modules/humsci/hs_publications/config/install/.htaccess b/docroot/modules/humsci/hs_publications/config/install/.htaccess deleted file mode 100644 index 0e4a69afd2..0000000000 --- a/docroot/modules/humsci/hs_publications/config/install/.htaccess +++ /dev/null @@ -1,24 +0,0 @@ -# Deny all requests from Apache 2.4+. -No publications are available at this time. Please check back again soon.
' + format: basic_html + tokenize: false + sorts: + field_hs_publication_year_value: + id: field_hs_publication_year_value + table: node__field_hs_publication_year + field: field_hs_publication_year_value + relationship: none + group_type: group + admin_label: '' + plugin_id: datetime + order: DESC + expose: + label: '' + field_identifier: field_hs_publication_year_value + exposed: false + granularity: year + created: + id: created + table: node_field_data + field: created + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: created + plugin_id: date + order: DESC + expose: + label: '' + field_identifier: created + exposed: false + granularity: second + arguments: { } filters: status: - value: '1' + id: status table: node_field_data field: status - plugin_id: boolean entity_type: node entity_field: status - id: status + plugin_id: boolean + value: '1' + group: 1 expose: operator: '' - group: 1 + operator_limit_selection: false + operator_list: { } type: id: type table: node_field_data field: type - value: - hs_publications: hs_publications entity_type: node entity_field: type plugin_id: bundle + value: + hs_publications: hs_publications group: 1 + expose: + operator_limit_selection: false + operator_list: { } title: id: title table: node_field_data @@ -486,6 +474,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: node + entity_field: title + plugin_id: string operator: word value: '' group: 1 @@ -496,6 +487,8 @@ display: description: '' use_operator: false operator: title_op + operator_limit_selection: false + operator_list: { } identifier: name required: false remember: false @@ -517,16 +510,16 @@ display: default_group: All default_group_multiple: { } group_items: { } - entity_type: node - entity_field: title - plugin_id: string title_1: id: title_1 - table: publications_collections_field_data - field: title + table: hs_entity + field: label relationship: field_hs_publication_author group_type: group admin_label: '' + entity_type: hs_entity + entity_field: label + plugin_id: string operator: word value: '' group: 1 @@ -537,6 +530,8 @@ display: description: '' use_operator: false operator: title_1_op + operator_limit_selection: false + operator_list: { } identifier: pub_author required: false remember: false @@ -558,9 +553,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - entity_type: publications_collections - entity_field: title - plugin_id: string field_hs_publication_type_target_id: id: field_hs_publication_type_target_id table: node__field_hs_publication_type @@ -568,6 +560,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: taxonomy_index_tid operator: or value: { } group: 1 @@ -578,6 +571,8 @@ display: description: '' use_operator: false operator: field_hs_publication_type_target_id_op + operator_limit_selection: false + operator_list: { } identifier: type required: false remember: false @@ -600,100 +595,15 @@ display: default_group_multiple: { } group_items: { } reduce_duplicates: false - type: select - limit: true vid: hs_publication_type + type: select hierarchy: false + limit: true error_message: true - plugin_id: taxonomy_index_tid - sorts: - field_hs_publication_year_value: - id: field_hs_publication_year_value - table: node__field_hs_publication_year - field: field_hs_publication_year_value - relationship: none - group_type: group - admin_label: '' - order: DESC - exposed: false - expose: - label: '' - granularity: year - plugin_id: datetime - created: - id: created - table: node_field_data - field: created - order: DESC - entity_type: node - entity_field: created - plugin_id: date - relationship: none - group_type: group - admin_label: '' - exposed: false - expose: - label: '' - granularity: second - title: Publications - header: { } - footer: { } - empty: - area: - id: area - table: views - field: area - relationship: none - group_type: group - admin_label: '' - empty: true - tokenize: false - content: - value: 'No publications are available at this time. Please check back again soon.
' - format: basic_html - plugin_id: text - relationships: - field_hs_publication_author: - id: field_hs_publication_author - table: node__field_hs_publication_author - field: field_hs_publication_author - relationship: none - group_type: group - admin_label: 'field_hs_publication_author: Publications Collections' - required: false - plugin_id: standard - arguments: { } - display_extenders: { } - use_ajax: true filter_groups: operator: AND groups: 1: AND - group_by: true - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - - user - - 'user.node_grants:view' - - user.permissions - tags: - - 'config:field.storage.node.field_hs_publication_author' - - 'config:field.storage.node.field_hs_publication_image' - - 'config:field.storage.node.field_hs_publication_type' - - 'config:field.storage.node.field_hs_publication_year' - - extensions - author_list: - display_plugin: block - id: author_list - display_title: 'Author''s List' - position: 3 - display_options: - display_extenders: { } - display_description: '' style: type: pattern options: @@ -705,17 +615,6 @@ display: title: destination: '' weight: '0' - defaults: - style: false - row: false - arguments: false - group_by: false - filters: false - filter_groups: false - fields: false - empty: false - title: false - pager: false row: type: ui_patterns options: @@ -761,68 +660,50 @@ display: weight: 5 plugin: views_row source: field_hs_publication_year - arguments: - field_hs_publication_author_target_id: - id: field_hs_publication_author_target_id - table: publications_collections__field_hs_publication_author - field: field_hs_publication_author_target_id - relationship: field_hs_publication_author + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: + field_hs_publication_author: + id: field_hs_publication_author + table: node__field_hs_publication_author + field: field_hs_publication_author + relationship: none group_type: group - admin_label: '' - default_action: default - exception: - value: all - title_enable: false - title: All - title_enable: false - title: '' - default_argument_type: node - default_argument_options: { } - default_argument_skip_url: false - summary_options: - base_path: '' - count: true - items_per_page: 25 - override: false - summary: - sort_order: asc - number_of_records: 0 - format: default_summary - specify_validation: false - validate: - type: none - fail: 'not found' - validate_options: { } - break_phrase: false - not: false - plugin_id: numeric + admin_label: 'field_hs_publication_author: Publications Collections' + plugin_id: standard + required: false + use_ajax: true group_by: false - filters: - status: - value: '1' - table: node_field_data - field: status - plugin_id: boolean - entity_type: node - entity_field: status - id: status - expose: - operator: '' - group: 1 - type: - id: type - table: node_field_data - field: type - value: - hs_publications: hs_publications - entity_type: node - entity_field: type - plugin_id: bundle - group: 1 - filter_groups: - operator: AND - groups: - 1: AND + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_hs_publication_author' + - 'config:field.storage.node.field_hs_publication_image' + - 'config:field.storage.node.field_hs_publication_type' + - 'config:field.storage.node.field_hs_publication_year' + author_list: + id: author_list + display_title: "Author's List" + display_plugin: block + position: 3 + display_options: + title: 'Featured Publications' fields: field_hs_publication_image: id: field_hs_publication_image @@ -831,6 +712,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: '' exclude: false alter: @@ -876,8 +758,8 @@ display: type: media_image_formatter settings: view_mode: default - image_style: responsive_small - link: 1 + link: true + image_style: hs_vertical_rectangle_360x430 group_column: target_id group_columns: { } group_rows: true @@ -888,7 +770,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field field_hs_publication_type: id: field_hs_publication_type table: node__field_hs_publication_type @@ -896,6 +777,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: '' exclude: false alter: @@ -951,7 +833,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field title: id: title table: node_field_data @@ -959,6 +840,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: node + entity_field: title + plugin_id: field label: '' exclude: false alter: @@ -1014,9 +898,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: node - entity_field: title - plugin_id: field field_hs_publication_year: id: field_hs_publication_year table: node__field_hs_publication_year @@ -1024,6 +905,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: '' exclude: false alter: @@ -1080,172 +962,542 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field - empty: { } - title: 'Featured Publications' - pager: - type: some - options: - items_per_page: 3 - offset: 0 - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - 'user.node_grants:view' - - user.permissions - tags: - - 'config:field.storage.node.field_hs_publication_image' - - 'config:field.storage.node.field_hs_publication_type' - - 'config:field.storage.node.field_hs_publication_year' - - extensions - masonry_list: - display_plugin: block - id: masonry_list - display_title: 'Masonry List' - position: 1 - display_options: - display_extenders: { } - exposed_block: true - display_description: '' - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - - user - - 'user.node_grants:view' - - user.permissions - tags: - - 'config:field.storage.node.field_hs_publication_author' - - 'config:field.storage.node.field_hs_publication_image' - - 'config:field.storage.node.field_hs_publication_type' - - 'config:field.storage.node.field_hs_publication_year' - - extensions - single_featured: - display_plugin: block - id: single_featured - display_title: 'Single Featured' - position: 2 - display_options: - display_extenders: { } - display_description: '' pager: type: some options: - items_per_page: 1 offset: 0 - defaults: - pager: false - relationships: false - group_by: false - filters: false - filter_groups: false - fields: false - sorts: false - style: false - row: false - use_more: false - use_more_always: false - use_more_text: false - link_display: false - link_url: false - relationships: { } - group_by: false - filters: - status: - value: '1' - table: node_field_data - field: status - plugin_id: boolean - entity_type: node - entity_field: status - id: status - expose: - operator: '' + items_per_page: 3 + empty: { } + arguments: + field_hs_publication_author_target_id: + id: field_hs_publication_author_target_id + table: hs_entity__field_hs_publication_author + field: field_hs_publication_author_target_id + relationship: field_hs_publication_author + group_type: group + admin_label: '' + plugin_id: numeric + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: node + default_argument_options: { } + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + break_phrase: false + not: false + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' group: 1 + expose: + operator: '' + operator_limit_selection: false + operator_list: { } type: id: type table: node_field_data field: type - value: - hs_publications: hs_publications entity_type: node entity_field: type plugin_id: bundle + value: + hs_publications: hs_publications group: 1 - promote: - id: promote + expose: + operator_limit_selection: false + operator_list: { } + filter_groups: + operator: AND + groups: + 1: AND + style: + type: pattern + options: + pattern: masonry + pattern_mapping: + rows: + destination: items + weight: '0' + title: + destination: '' + weight: '0' + row: + type: ui_patterns + options: + default_field_elements: 1 + inline: + field_hs_publication_image: 0 + field_hs_publication_type: 0 + title: 0 + field_hs_publication_author: 0 + field_hs_publication_year: 0 + nid: 0 + separator: '' + hide_empty: 1 + pattern: masonry_item + pattern_mapping: + 'views_row:field_hs_publication_image': + destination: image + weight: 0 + plugin: views_row + source: field_hs_publication_image + 'views_row:nid': + destination: body + weight: 1 + plugin: views_row + source: nid + 'views_row:field_hs_publication_type': + destination: body + weight: 2 + plugin: views_row + source: field_hs_publication_type + 'views_row:title': + destination: body + weight: 3 + plugin: views_row + source: title + 'views_row:field_hs_publication_author': + destination: body + weight: 4 + plugin: views_row + source: field_hs_publication_author + 'views_row:field_hs_publication_year': + destination: body + weight: 5 + plugin: views_row + source: field_hs_publication_year + defaults: + empty: false + title: false + pager: false + group_by: false + style: false + row: false + fields: false + arguments: false + filters: false + filter_groups: false + group_by: false + display_description: '' + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_hs_publication_image' + - 'config:field.storage.node.field_hs_publication_type' + - 'config:field.storage.node.field_hs_publication_year' + masonry_list: + id: masonry_list + display_title: 'Masonry List' + display_plugin: block + position: 1 + display_options: + fields: + field_hs_publication_image: + id: field_hs_publication_image + table: node__field_hs_publication_image + field: field_hs_publication_image + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '0' + element_class: '' + element_label_type: '0' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '0' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: media_image_formatter + settings: + view_mode: default + link: true + image_style: responsive_small + group_column: target_id + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + field_hs_publication_type: + id: field_hs_publication_type + table: node__field_hs_publication_type + field: field_hs_publication_type + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: div + element_class: 'accent-dash masonry-item--type' + element_label_type: '0' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '0' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: true + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_label + settings: + link: false + group_column: target_id + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + title: + id: title table: node_field_data - field: promote + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: false + ellipsis: false + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: h3 + element_class: 'no-dash masonry-item--title' + element_label_type: '0' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '0' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + field_hs_publication_year: + id: field_hs_publication_year + table: node__field_hs_publication_year + field: field_hs_publication_year + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '0' + element_class: '' + element_label_type: '0' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '0' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: datetime_custom + settings: + timezone_override: '' + date_format: 'Y' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + field_hs_publication_author: + id: field_hs_publication_author + table: node__field_hs_publication_author + field: field_hs_publication_author relationship: none group_type: group admin_label: '' - operator: '=' - value: '1' - group: 1 - exposed: false - expose: - operator_id: '' - label: '' - description: '' - use_operator: false - operator: '' - identifier: '' - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - entity_type: node - entity_field: promote - plugin_id: boolean - filter_groups: - operator: AND - groups: - 1: AND + plugin_id: field + label: '' + exclude: false + alter: + alter_text: true + text: '{% if field_hs_publication_author|render|striptags|trim %} {% endif %}{{ field_hs_publication_year|trim }}' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: true + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: masonry-item--author-year + element_label_type: '0' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '0' + element_wrapper_class: '' + element_default_classes: false + empty: '{{ field_hs_publication_year }}' + hide_empty: false + empty_zero: true + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_entity_view + settings: + view_mode: default + group_column: target_id + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: true + replica: false + query_tags: null + defaults: + query: false + fields: false + display_description: '' + exposed_block: true + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_hs_publication_author' + - 'config:field.storage.node.field_hs_publication_image' + - 'config:field.storage.node.field_hs_publication_type' + - 'config:field.storage.node.field_hs_publication_year' + single_featured: + id: single_featured + display_title: 'Single Featured' + display_plugin: block + position: 2 + display_options: fields: title: id: title table: node_field_data field: title + relationship: none + group_type: group + admin_label: '' entity_type: node entity_field: title + plugin_id: field label: '' + exclude: false alter: alter_text: false make_link: false absolute: false - trim: false word_boundary: false ellipsis: false strip_tags: false + trim: false html: false - hide_empty: false - empty_zero: false - settings: - link_to_entity: true - plugin_id: field - relationship: none - group_type: group - admin_label: '' - exclude: false element_type: '' element_class: '' element_label_type: '' @@ -1255,9 +1507,13 @@ display: element_wrapper_class: '' element_default_classes: true empty: '' + hide_empty: false + empty_zero: false hide_alter_empty: true click_sort_column: value type: string + settings: + link_to_entity: true group_column: value group_columns: { } group_rows: true @@ -1268,6 +1524,11 @@ display: multi_type: separator separator: ', ' field_api_classes: false + pager: + type: some + options: + offset: 0 + items_per_page: 1 sorts: field_hs_publication_year_value: id: field_hs_publication_year_value @@ -1276,27 +1537,100 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: datetime order: DESC - exposed: false expose: label: '' + field_identifier: field_hs_publication_year_value + exposed: false granularity: year - plugin_id: datetime created: id: created table: node_field_data field: created - order: DESC + relationship: none + group_type: group + admin_label: '' entity_type: node entity_field: created plugin_id: date + order: DESC + expose: + label: '' + field_identifier: created + exposed: false + granularity: second + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + type: + id: type + table: node_field_data + field: type + entity_type: node + entity_field: type + plugin_id: bundle + value: + hs_publications: hs_publications + group: 1 + expose: + operator_limit_selection: false + operator_list: { } + promote: + id: promote + table: node_field_data + field: promote relationship: none group_type: group admin_label: '' + entity_type: node + entity_field: promote + plugin_id: boolean + operator: '=' + value: '1' + group: 1 exposed: false expose: + operator_id: '' label: '' - granularity: second + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + filter_groups: + operator: AND + groups: + 1: AND style: type: default options: @@ -1308,11 +1642,30 @@ display: options: relationship: none view_mode: hs_vertical_card + defaults: + pager: false + use_more: false + use_more_always: false + use_more_text: false + link_display: false + link_url: false + group_by: false + style: false + row: false + relationships: false + fields: false + sorts: false + filters: false + filter_groups: false + relationships: { } + group_by: false + display_description: '' use_more: true use_more_always: true use_more_text: 'See More Publications' link_display: custom_url link_url: /research/publications + display_extenders: { } cache_metadata: max-age: -1 contexts: diff --git a/docroot/modules/humsci/hs_publications/config/optional/field.field.publications_collections.publication_author.field_hs_publication_author.yml b/docroot/modules/humsci/hs_publications/config/optional/field.field.publications_collections.publication_author.field_hs_publication_author.yml deleted file mode 100644 index 0928137b04..0000000000 --- a/docroot/modules/humsci/hs_publications/config/optional/field.field.publications_collections.publication_author.field_hs_publication_author.yml +++ /dev/null @@ -1,28 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - eck.eck_type.publications_collections.publication_author - - field.storage.publications_collections.field_hs_publication_author - - node.type.hs_person -id: publications_collections.publication_author.field_hs_publication_author -field_name: field_hs_publication_author -entity_type: publications_collections -bundle: publication_author -label: 'Author Person' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - handler: 'default:node' - handler_settings: - target_bundles: - hs_person: hs_person - sort: - field: title - direction: ASC - auto_create: false - auto_create_bundle: '' -field_type: entity_reference diff --git a/docroot/modules/humsci/hs_publications/config/optional/field.storage.publications_collections.field_hs_publication_author.yml b/docroot/modules/humsci/hs_publications/config/optional/field.storage.publications_collections.field_hs_publication_author.yml deleted file mode 100644 index 21c8f72a17..0000000000 --- a/docroot/modules/humsci/hs_publications/config/optional/field.storage.publications_collections.field_hs_publication_author.yml +++ /dev/null @@ -1,19 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - eck - - node -id: publications_collections.field_hs_publication_author -field_name: field_hs_publication_author -entity_type: publications_collections -type: entity_reference -settings: - target_type: node -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/docroot/modules/humsci/hs_publications/hs_publications.info.yml b/docroot/modules/humsci/hs_publications/hs_publications.info.yml index ef31f5f6a2..b56e765f66 100644 --- a/docroot/modules/humsci/hs_publications/hs_publications.info.yml +++ b/docroot/modules/humsci/hs_publications/hs_publications.info.yml @@ -6,7 +6,7 @@ version: 8.2.7 package: 'Humanities & Sciences' dependencies: - datetime - - eck + - hs_entities - hs_field_helpers - inline_entity_form - layout_builder diff --git a/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/install/core.entity_form_display.node.hs_publications.default.yml b/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/install/core.entity_form_display.node.hs_publications.default.yml index aeb3646ba0..4322d07bd3 100644 --- a/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/install/core.entity_form_display.node.hs_publications.default.yml +++ b/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/install/core.entity_form_display.node.hs_publications.default.yml @@ -3,9 +3,9 @@ langcode: en status: true dependencies: config: - - entity_browser.browser.image_browser - field.field.node.hs_publications.body - field.field.node.hs_publications.field_hs_publication_author + - field.field.node.hs_publications.field_hs_publication_citation - field.field.node.hs_publications.field_hs_publication_documents - field.field.node.hs_publications.field_hs_publication_image - field.field.node.hs_publications.field_hs_publication_link @@ -14,11 +14,10 @@ dependencies: - field.field.node.hs_publications.field_hs_publication_year - node.type.hs_publications module: - - entity_browser - - entity_browser_entity_form - hs_field_helpers - inline_entity_form - link + - media_library - path - text _core: @@ -30,120 +29,115 @@ mode: default content: body: type: text_textarea_with_summary - weight: 14 + weight: 3 + region: content settings: rows: 9 summary_rows: 3 placeholder: '' + show_summary: false third_party_settings: { } - region: content created: type: datetime_timestamp - weight: 3 + weight: 5 region: content settings: { } third_party_settings: { } field_hs_publication_author: - weight: 13 + type: inline_entity_form_complex + weight: 12 + region: content settings: form_mode: default override_labels: true label_singular: Author label_plural: Authors allow_new: true - match_operator: CONTAINS allow_existing: false - third_party_settings: - entity_browser_entity_form: - entity_browser_id: _none - type: inline_entity_form_complex + match_operator: CONTAINS + allow_duplicate: false + collapsible: false + collapsed: false + revision: false + third_party_settings: { } + field_hs_publication_citation: + type: string_textarea + weight: 1 region: content - field_hs_publication_documents: - weight: 15 settings: - entity_browser: file_browser - field_widget_display: rendered_entity - field_widget_edit: true - field_widget_remove: true - selection_mode: selection_append - field_widget_display_settings: - view_mode: thumbnail - field_widget_replace: false - open: false - third_party_settings: { } - type: entity_browser_entity_reference + rows: 5 + placeholder: '' + third_party_settings: { } + field_hs_publication_documents: + type: media_library_widget + weight: 16 region: content - field_hs_publication_image: - weight: 1 settings: - entity_browser: image_browser - field_widget_display: rendered_entity - field_widget_edit: true - field_widget_remove: true - selection_mode: selection_append - field_widget_display_settings: - view_mode: thumbnail - field_widget_replace: false - open: false - third_party_settings: { } - type: entity_browser_entity_reference + media_types: { } + third_party_settings: { } + field_hs_publication_image: + type: media_library_widget + weight: 2 region: content + settings: + media_types: { } + third_party_settings: { } field_hs_publication_link: - weight: 10 + type: link_default + weight: 13 + region: content settings: placeholder_url: '' placeholder_title: '' third_party_settings: { } - type: link_default - region: content field_hs_publication_publisher: - weight: 12 + type: string_textfield + weight: 15 + region: content settings: size: 60 placeholder: '' third_party_settings: { } - type: string_textfield - region: content field_hs_publication_type: - weight: 9 - settings: { } - third_party_settings: { } type: options_select + weight: 14 region: content + settings: { } + third_party_settings: { } field_hs_publication_year: + type: datetime_year_only weight: 11 + region: content settings: - min: 'now - 10 years' + min: '1970' max: 'now + 10 years' third_party_settings: { } - type: datetime_year_only - region: content path: type: path - weight: 6 + weight: 8 region: content settings: { } third_party_settings: { } promote: type: boolean_checkbox + weight: 6 + region: content settings: display_label: true - weight: 4 - region: content third_party_settings: { } status: type: boolean_checkbox + weight: 10 + region: content settings: display_label: true - weight: 8 - region: content third_party_settings: { } sticky: type: boolean_checkbox + weight: 7 + region: content settings: display_label: true - weight: 5 - region: content third_party_settings: { } title: type: string_textfield @@ -155,15 +149,16 @@ content: third_party_settings: { } uid: type: entity_reference_autocomplete - weight: 2 + weight: 4 + region: content settings: match_operator: CONTAINS + match_limit: 10 size: 60 placeholder: '' - region: content third_party_settings: { } url_redirects: - weight: 7 + weight: 9 region: content settings: { } third_party_settings: { } diff --git a/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/install/core.entity_view_display.node.hs_publications.default.yml b/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/install/core.entity_view_display.node.hs_publications.default.yml index 666ecc1c55..5e03eb5734 100644 --- a/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/install/core.entity_view_display.node.hs_publications.default.yml +++ b/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/install/core.entity_view_display.node.hs_publications.default.yml @@ -5,6 +5,7 @@ dependencies: config: - field.field.node.hs_publications.body - field.field.node.hs_publications.field_hs_publication_author + - field.field.node.hs_publications.field_hs_publication_citation - field.field.node.hs_publications.field_hs_publication_documents - field.field.node.hs_publications.field_hs_publication_image - field.field.node.hs_publications.field_hs_publication_link @@ -20,80 +21,77 @@ dependencies: - user third_party_settings: layout_builder: + enabled: true + allow_custom: false sections: - layout_id: three_column_w_image layout_settings: + label: '' + context_mapping: { } section_width: decanter-grid + region_widths: '' + image_float: align-left components: - 044e738a-222f-42da-b06b-1825238cbcea: - uuid: 044e738a-222f-42da-b06b-1825238cbcea - region: top - configuration: - id: 'field_block:node:hs_publications:title' - label: Title - provider: layout_builder - label_display: '0' - formatter: - label: hidden - type: entity_title_heading - settings: - tag: h1 - third_party_settings: { } - context_mapping: - entity: layout_builder.entity - additional: { } - weight: 0 - 2ee63ce7-4930-468f-a038-d26d7227b0e9: - uuid: 2ee63ce7-4930-468f-a038-d26d7227b0e9 - region: image - configuration: - id: 'field_block:node:hs_publications:field_hs_publication_image' - label: 'Publication Image' - provider: layout_builder - label_display: '0' - formatter: - label: hidden - type: media_image_formatter - settings: - view_mode: default - image_style: hs_medium_square_360x360 - link: 0 - third_party_settings: { } - context_mapping: - entity: layout_builder.entity - additional: { } - weight: 0 9f2ea3b6-1b3f-4bba-b196-1c0fc24df01e: uuid: 9f2ea3b6-1b3f-4bba-b196-1c0fc24df01e region: left_sidebar configuration: id: 'menu_block:main' label: 'Main navigation' - provider: menu_block label_display: visible - follow: 1 - follow_parent: '-1' - level: 1 + provider: menu_block + context_mapping: { } + follow: false + follow_parent: active + label_link: true + label_type: root + level: 2 depth: 0 - expand: 1 + expand_all_items: true parent: 'main:' - suggestion: main - label_type: root - context_mapping: { } - additional: { } + suggestion: menu_block__main weight: 0 + additional: { } + 5c724759-2354-4d97-a7b5-bf4c17e5420c: + uuid: 5c724759-2354-4d97-a7b5-bf4c17e5420c + region: main_above + configuration: + id: 'field_block:node:hs_publications:field_hs_publication_documents' + label: 'Publication Documents' + label_display: '' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: entity_reference_entity_view + label: above + settings: + view_mode: default + third_party_settings: + field_formatter_class: + class: hb-highlighted-label + ds: + ds_limit: '' + hs_field_helpers: + inline_contents: 0 + weight: 8 + additional: { } 175f27f1-1a75-4457-90af-8722fa5816b5: uuid: 175f27f1-1a75-4457-90af-8722fa5816b5 region: main_above configuration: id: 'field_block:node:hs_publications:field_hs_publication_link' - label: 'Publication Link' + label: 'Read the publication' + label_display: '' provider: layout_builder - label_display: '0' + context_mapping: + entity: layout_builder.entity + view_mode: view_mode formatter: - label: hidden type: link + label: above settings: trim_length: 80 url_only: false @@ -101,90 +99,156 @@ third_party_settings: rel: '0' target: '0' third_party_settings: + field_formatter_class: + class: hb-highlighted-label + hs_field_helpers: + inline_contents: 0 + weight: 9 + additional: { } + e85d35ab-2351-4cd0-af5c-67c394e15446: + uuid: e85d35ab-2351-4cd0-af5c-67c394e15446 + region: top + configuration: + id: 'field_block:node:hs_publications:field_hs_publication_author' + label: Author(s) + label_display: '' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: entity_reference_entity_view + label: above + settings: + view_mode: default + third_party_settings: + field_formatter_class: + class: hb-highlighted-label ds: ds_limit: '' + hs_field_helpers: + inline_contents: 0 + weight: 2 + additional: { } + f7f89312-0d70-4007-a70a-bf6bd4c3561d: + uuid: f7f89312-0d70-4007-a70a-bf6bd4c3561d + region: top + configuration: + id: 'field_block:node:hs_publications:field_hs_publication_publisher' + label: Publisher + label_display: '' + provider: layout_builder context_mapping: entity: layout_builder.entity + view_mode: view_mode + formatter: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: + field_formatter_class: + class: hb-highlighted-label + hs_field_helpers: + inline_contents: 0 + weight: 3 additional: { } - weight: 0 7be5daa9-a55a-4a01-ad60-54dc099c14ba: uuid: 7be5daa9-a55a-4a01-ad60-54dc099c14ba - region: main_above + region: top configuration: id: 'field_block:node:hs_publications:field_hs_publication_year' label: 'Publication Year' + label_display: '' provider: layout_builder - label_display: '0' + context_mapping: + entity: layout_builder.entity + view_mode: view_mode formatter: - label: hidden type: datetime_custom + label: hidden settings: timezone_override: '' date_format: 'Y' - third_party_settings: { } + third_party_settings: + field_formatter_class: + class: hb-subtitle + hs_field_helpers: + inline_contents: 0 + weight: 1 + additional: { } + 044e738a-222f-42da-b06b-1825238cbcea: + uuid: 044e738a-222f-42da-b06b-1825238cbcea + region: title + configuration: + id: 'field_block:node:hs_publications:title' + label: Title + label_display: '0' + provider: layout_builder context_mapping: entity: layout_builder.entity - additional: { } + formatter: + type: entity_title_heading + label: hidden + settings: + tag: h1 + third_party_settings: { } weight: 1 - 83f8fce7-f3dc-46a0-b3a1-2d4c6e573fe0: - uuid: 83f8fce7-f3dc-46a0-b3a1-2d4c6e573fe0 + additional: { } + 2ee63ce7-4930-468f-a038-d26d7227b0e9: + uuid: 2ee63ce7-4930-468f-a038-d26d7227b0e9 region: main_above configuration: - id: 'field_block:node:hs_publications:field_hs_publication_author' - label: Author + id: 'field_block:node:hs_publications:field_hs_publication_image' + label: 'Publication Image' + label_display: '' provider: layout_builder - label_display: '0' + context_mapping: + entity: layout_builder.entity + view_mode: view_mode formatter: + type: media_image_formatter label: hidden - type: entity_reference_entity_view settings: - view_mode: default + view_mode: caption_credit + link: false + image_style: hs_medium_scaled_360px third_party_settings: - ds: - ds_limit: '' - context_mapping: - entity: layout_builder.entity + field_formatter_class: + class: hb-main-body-detail-image + hs_field_helpers: + inline_contents: 0 + weight: 7 additional: { } - weight: 2 9e34500f-1fcd-4b1e-b3eb-b3f5a2bc2182: uuid: 9e34500f-1fcd-4b1e-b3eb-b3f5a2bc2182 - region: main_below + region: main_above configuration: id: 'field_block:node:hs_publications:body' label: Body - provider: layout_builder label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity formatter: - label: hidden type: text_default + label: hidden settings: { } third_party_settings: { } - context_mapping: - entity: layout_builder.entity + weight: 10 additional: { } - weight: 0 - 5c724759-2354-4d97-a7b5-bf4c17e5420c: - uuid: 5c724759-2354-4d97-a7b5-bf4c17e5420c - region: main_below + 41d2de4a-c8a2-4dfe-b07e-b6de39c8f2a2: + uuid: 41d2de4a-c8a2-4dfe-b07e-b6de39c8f2a2 + region: title configuration: - id: 'field_block:node:hs_publications:field_hs_publication_documents' - label: 'Publication Documents' - provider: layout_builder - label_display: '0' - formatter: - label: hidden - type: entity_reference_entity_view - settings: - view_mode: default - third_party_settings: - ds: - ds_limit: '' - context_mapping: - entity: layout_builder.entity + id: hs_layouts_skipnav_main_anchor + label: 'Main content anchor target' + label_display: hidden + provider: hs_layouts + context_mapping: { } + weight: 0 additional: { } - weight: 1 - enabled: true - allow_custom: false + third_party_settings: { } _core: default_config_hash: ehwq1DmA62lLdGErJNMTRhmHOSau7saUQWGHqnpn72k id: node.hs_publications.default @@ -193,16 +257,18 @@ bundle: hs_publications mode: default content: links: - weight: 100 - region: content settings: { } third_party_settings: { } + weight: 100 + region: content hidden: body: true field_hs_publication_author: true + field_hs_publication_citation: true field_hs_publication_documents: true field_hs_publication_image: true field_hs_publication_link: true field_hs_publication_publisher: true field_hs_publication_type: true field_hs_publication_year: true + search_api_excerpt: true diff --git a/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/install/core.entity_view_display.node.hs_publications.hs_vertical_card.yml b/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/install/core.entity_view_display.node.hs_publications.hs_vertical_card.yml index 1a6a118a48..2834c32eb1 100644 --- a/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/install/core.entity_view_display.node.hs_publications.hs_vertical_card.yml +++ b/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/install/core.entity_view_display.node.hs_publications.hs_vertical_card.yml @@ -6,6 +6,7 @@ dependencies: - core.entity_view_mode.node.hs_vertical_card - field.field.node.hs_publications.body - field.field.node.hs_publications.field_hs_publication_author + - field.field.node.hs_publications.field_hs_publication_citation - field.field.node.hs_publications.field_hs_publication_documents - field.field.node.hs_publications.field_hs_publication_image - field.field.node.hs_publications.field_hs_publication_link @@ -18,8 +19,6 @@ dependencies: - ds - field_formatter_class - hs_field_helpers - - layout_builder - - layout_discovery - stanford_media - user third_party_settings: @@ -38,7 +37,9 @@ third_party_settings: description: - field_hs_publication_type - node_title + author: - field_hs_publication_author + year: - field_hs_publication_year fields: node_title: @@ -56,46 +57,61 @@ bundle: hs_publications mode: hs_vertical_card content: field_hs_publication_author: - type: entity_reference_entity_view - weight: 3 - region: description + type: entity_reference_label label: hidden settings: link: false - view_mode: default - third_party_settings: { } + third_party_settings: + field_formatter_class: + class: vertical-card__author-year--author + ds: + ds_limit: '' + hs_field_helpers: + inline_contents: 0 + weight: 3 + region: author field_hs_publication_image: - type: media_image_formatter - weight: 0 - region: image + type: media_responsive_image_formatter label: hidden settings: view_mode: default - image_style: hs_vertical_rectangle_360x430 - link: '1' - third_party_settings: { } + link: true + image_style: portrait_rectangle + third_party_settings: + field_formatter_class: + class: '' + hs_field_helpers: + inline_contents: 0 + weight: 0 + region: image field_hs_publication_type: type: entity_reference_label - weight: 1 - region: description label: hidden settings: link: false third_party_settings: field_formatter_class: class: accent-dash + weight: 1 + region: description field_hs_publication_year: type: datetime_custom - weight: 4 - region: description label: hidden settings: timezone_override: '' date_format: 'Y' - third_party_settings: { } + third_party_settings: + field_formatter_class: + class: vertical-card__author-year--year + hs_field_helpers: + inline_contents: 0 + weight: 4 + region: year hidden: body: true + field_hs_publication_citation: true field_hs_publication_documents: true field_hs_publication_link: true field_hs_publication_publisher: true links: true + search_api_excerpt: true diff --git a/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/optional/core.entity_form_display.publications_collections.publication_author.default.yml b/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/optional/core.entity_form_display.publications_collections.publication_author.default.yml deleted file mode 100644 index 4b09445762..0000000000 --- a/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/optional/core.entity_form_display.publications_collections.publication_author.default.yml +++ /dev/null @@ -1,33 +0,0 @@ -uuid: 2851983c-1ecd-4e17-b03e-76b0edbcdc1d -langcode: en -status: true -dependencies: - config: - - eck.eck_type.publications_collections.publication_author - - field.field.publications_collections.publication_author.field_hs_publication_author -id: publications_collections.publication_author.default -targetEntityType: publications_collections -bundle: publication_author -mode: default -content: - field_hs_publication_author: - type: options_select - weight: 1 - region: content - settings: { } - third_party_settings: { } - field_hs_publication_author_link: - weight: 3 - settings: { } - third_party_settings: { } - type: options_select - region: content - title: - type: string_textfield - weight: 0 - region: content - settings: - size: 60 - placeholder: '' - third_party_settings: { } -hidden: { } diff --git a/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/optional/core.entity_view_display.publications_collections.publication_author.default.yml b/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/optional/core.entity_view_display.publications_collections.publication_author.default.yml deleted file mode 100644 index 7c8dce821b..0000000000 --- a/docroot/modules/humsci/hs_publications/modules/hs_publications_display/config/optional/core.entity_view_display.publications_collections.publication_author.default.yml +++ /dev/null @@ -1,35 +0,0 @@ -uuid: 6b61b4ea-8881-49e2-9675-a5686097906e -langcode: en -status: true -dependencies: - config: - - eck.eck_type.publications_collections.publication_author - - field.field.publications_collections.publication_author.field_hs_publication_author - module: - - field_formatter_class - - layout_builder - - layout_discovery -id: publications_collections.publication_author.default -targetEntityType: publications_collections -bundle: publication_author -mode: default -content: - field_hs_publication_author: - weight: 1 - label: hidden - settings: - link: true - third_party_settings: - field_formatter_class: - class: '' - type: entity_reference_label - region: content - title: - type: string - weight: 0 - region: content - label: hidden - settings: - link_to_entity: false - third_party_settings: { } -hidden: { } diff --git a/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.install b/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.install index 670fad2617..a174a75058 100644 --- a/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.install +++ b/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.install @@ -863,3 +863,55 @@ function su_humsci_profile_update_9705() { $themes_to_uninstall = array_intersect($legacy_themes, array_keys($installed_themes)); \Drupal::service('theme_installer')->uninstall($themes_to_uninstall); } + +/** + * Remove eck dependencies in views configuration. + */ +function su_humsci_profile_update_9706() { + $config_factory = \Drupal::configFactory(); + $view_config_names = $config_factory->listAll('views.view.'); + + $count_config = 0; + $count_module = 0; + + foreach ($view_config_names as $config_name) { + $config = $config_factory->getEditable($config_name); + $raw = $config->getRawData(); + + // Remove eck_type dependencies. + if (isset($raw['dependencies']['config'])) { + foreach ($raw['dependencies']['config'] as $key => $config_dependency) { + if (str_contains($config_dependency, 'eck_type')) { + unset($raw['dependencies']['config'][$key]); + $count_config++; + } + } + } + + // Remove eck module dependency. + if (isset($raw['dependencies']['module'])) { + foreach ($raw['dependencies']['module'] as $key => $module_dependency) { + if ($module_dependency == 'eck') { + unset($raw['dependencies']['module'][$key]); + $count_module++; + } + } + } + $config->setData($raw)->save(TRUE); + } + + return "Removed " . $count_config . " config dependencies and " . $count_module . " module dependencies."; +} + + +/** + * Delete eck configuration and uninstall eck module. + */ +function su_humsci_profile_update_9707() { + // Delete ECK settings configuration. + $eck_settings = \Drupal::configFactory()->getEditable('eck.settings'); + $eck_settings->delete(); + + // Uninstall eck module. + \Drupal::service('module_installer')->uninstall(['eck']); +}