Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POORVU: Initial commit for Resources branch. #821

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions web/profiles/custom/yalesites_profile/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,6 @@
"drupal/migrate_plus": {
"Allow callback for Url source, and single item Json plugin https://www.drupal.org/project/migrate_plus/issues/3040427": "https://www.drupal.org/files/issues/2023-02-15/3040427-42-migrate_plus_multiple_urls.patch"
},
"drupal/focal_point": {
"Limit image styles on preview page": "https://git.drupalcode.org/project/focal_point/-/merge_requests/27.diff"
},
"drupal/selective_better_exposed_filters": {
"Hide form when no options are available:": "patches/selective_better_exposed_filters/selective_better_exposed_filters-3432551.patch"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ visibility:
request_path:
id: request_path
negate: false
pages: /search
pages: "/search\r\n/resource-tags-overview/*"
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
uuid: 6186dfa3-22a1-4a67-9b0c-34478ca3db26
langcode: en
status: true
dependencies:
module:
- entity_redirect
third_party_settings:
entity_redirect:
redirect:
add:
active: 0
destination: default
url: ''
external: ''
edit:
active: 0
destination: default
url: ''
external: ''
delete:
active: 0
destination: default
url: ''
external: ''
anonymous:
active: 0
destination: default
url: ''
external: ''
id: search_resources
label: 'Search Resources'
revision: 0
description: ''
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
uuid: a69bdfdd-d7d2-4c53-b531-54531018f15d
langcode: en
status: true
dependencies:
module:
- entity_redirect
third_party_settings:
entity_redirect:
redirect:
add:
active: 0
destination: default
url: ''
external: ''
edit:
active: 0
destination: default
url: ''
external: ''
delete:
active: 0
destination: default
url: ''
external: ''
anonymous:
active: 0
destination: default
url: ''
external: ''
id: tags
label: Tags
revision: 1
description: 'Block to display tag information about a Resource '
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
uuid: e8c4a310-7ea3-46fa-895d-576467fb076e
langcode: en
status: true
dependencies:
config:
- block_content.type.search_resources
- field.field.block_content.search_resources.field_heading
- field.field.block_content.search_resources.field_link
- field.field.block_content.search_resources.field_popular_resources_heading
- field.field.block_content.search_resources.field_search_display
- field.field.block_content.search_resources.field_search_form_heading
- field.field.block_content.search_resources.field_tags
- field.field.block_content.search_resources.field_text
module:
- allowed_formats
- hide_revision_field
- linkit
- maxlength
- text
id: block_content.search_resources.default
targetEntityType: block_content
bundle: search_resources
mode: default
content:
field_heading:
type: text_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings:
allowed_formats:
hide_help: '1'
hide_guidelines: '1'
maxlength:
maxlength_js: 50
maxlength_js_label: 'Content recommended length set to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: false
field_link:
type: linkit
weight: 3
region: content
settings:
placeholder_url: ''
placeholder_title: ''
linkit_profile: default
linkit_auto_link_text: false
third_party_settings:
maxlength:
maxlength_js: null
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: false
field_popular_resources_heading:
type: string_textfield
weight: 7
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_search_display:
type: options_buttons
weight: 4
region: content
settings: { }
third_party_settings: { }
field_search_form_heading:
type: string_textfield
weight: 6
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_tags:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_text:
type: text_textarea
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings:
allowed_formats:
hide_help: '1'
hide_guidelines: '1'
maxlength:
maxlength_js: 500
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: true
info:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 8
region: content
settings:
rows: 5
placeholder: ''
show: true
default: ''
permission_based: false
allow_user_settings: true
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
uuid: aec9487e-e4cf-4057-b324-99a12f9215f5
langcode: en
status: true
dependencies:
config:
- block_content.type.tags
- field.field.block_content.tags.field_selected_resource
module:
- hide_revision_field
id: block_content.tags.default
targetEntityType: block_content
bundle: tags
mode: default
content:
field_selected_resource:
type: entity_reference_autocomplete
weight: 82
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
info:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: true
default: ''
permission_based: false
allow_user_settings: true
third_party_settings: { }
hidden: { }
Loading
Loading