Skip to content

Commit

Permalink
Merge pull request #867 from USEPA/IN-1267a
Browse files Browse the repository at this point in the history
First block commit
  • Loading branch information
ryanletulle authored Sep 11, 2023
2 parents b33c87d + cdcdd6d commit 4f2a9e7
Show file tree
Hide file tree
Showing 10 changed files with 330 additions and 0 deletions.
25 changes: 25 additions & 0 deletions config/sync/block.block.breadcrumbs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: 6a658f2f-0c99-4685-889d-2e5c6602b09d
langcode: en
status: true
dependencies:
module:
- block_in_page_not_found
- system
theme:
- epa_intranet_2
id: breadcrumbs
theme: epa_intranet_2
region: breadcrumb
weight: -3
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
label_display: '0'
provider: system
visibility:
page_not_found_request:
id: page_not_found_request
negate: false
page_not_found: false
33 changes: 33 additions & 0 deletions config/sync/block.block.createevent_2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
uuid: 40a76366-1e5a-480c-a097-15caac21d7fb
langcode: en
status: true
dependencies:
config:
- fixed_block_content.fixed_block_content.create_event
module:
- block_in_page_not_found
- fixed_block_content
- system
theme:
- epa_intranet_2
id: createevent_2
theme: epa_intranet_2
region: sidebar_second
weight: -3
provider: null
plugin: 'fixed_block_content:create_event'
settings:
id: 'fixed_block_content:create_event'
label: 'Create Event'
label_display: visible
provider: fixed_block_content
view_mode: ''
visibility:
request_path:
id: request_path
negate: false
pages: /calendar
page_not_found_request:
id: page_not_found_request
negate: false
page_not_found: false
41 changes: 41 additions & 0 deletions config/sync/block.block.desktoplibrarysearchsidebar_2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
uuid: 6ed9a067-ace6-4274-8834-0eca74c43d6f
langcode: en
status: true
dependencies:
config:
- fixed_block_content.fixed_block_content.desktop_library_search_sidebar
module:
- block_in_page_not_found
- fixed_block_content
- node
- system
theme:
- epa_intranet_2
id: desktoplibrarysearchsidebar_2
theme: epa_intranet_2
region: sidebar_first
weight: -3
provider: null
plugin: 'fixed_block_content:desktop_library_search_sidebar'
settings:
id: 'fixed_block_content:desktop_library_search_sidebar'
label: 'Desktop Library Search Sidebar'
label_display: '0'
provider: fixed_block_content
view_mode: ''
visibility:
request_path:
id: request_path
negate: false
pages: "/library-services/*\r\n/library-region-9/*\r\n/library-hq-chemical/*"
'entity_bundle:node':
id: 'entity_bundle:node'
negate: true
context_mapping:
node: '@node.node_route_context:node'
bundles:
landing_page: landing_page
page_not_found_request:
id: page_not_found_request
negate: false
page_not_found: false
33 changes: 33 additions & 0 deletions config/sync/block.block.exposedformevent_calendarcalendar_page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
uuid: a06a30fd-b57c-455e-8284-7eab69ab1da4
langcode: en
status: true
dependencies:
config:
- views.view.event_calendar
module:
- block_in_page_not_found
- system
- views
theme:
- epa_intranet_2
id: exposedformevent_calendarcalendar_page
theme: epa_intranet_2
region: sidebar_second
weight: -4
provider: null
plugin: 'views_exposed_filter_block:event_calendar-calendar_page'
settings:
id: 'views_exposed_filter_block:event_calendar-calendar_page'
label: ''
label_display: '0'
provider: views
views_label: ''
visibility:
request_path:
id: request_path
negate: false
pages: /calendar
page_not_found_request:
id: page_not_found_request
negate: false
page_not_found: false
33 changes: 33 additions & 0 deletions config/sync/block.block.futureofworksitealert_2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
uuid: b7a7f437-eefd-4c4c-8bc1-22995f0fc8bf
langcode: en
status: true
dependencies:
config:
- fixed_block_content.fixed_block_content.future_of_work_site_alert
module:
- block_in_page_not_found
- fixed_block_content
- system
theme:
- epa_intranet_2
id: futureofworksitealert_2
theme: epa_intranet_2
region: breadcrumb
weight: -4
provider: null
plugin: 'fixed_block_content:future_of_work_site_alert'
settings:
id: 'fixed_block_content:future_of_work_site_alert'
label: 'Future of Work Site Alert'
label_display: '0'
provider: fixed_block_content
view_mode: ''
visibility:
request_path:
id: request_path
negate: false
pages: '/future-work*'
page_not_found_request:
id: page_not_found_request
negate: false
page_not_found: false
47 changes: 47 additions & 0 deletions config/sync/block.block.groupmenus_2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
uuid: fb176d10-ccd7-4fec-a305-53c2a9ad677a
langcode: en
status: true
dependencies:
module:
- block_in_page_not_found
- groupmenu_block
- node
- system
theme:
- epa_intranet_2
id: groupmenus_2
theme: epa_intranet_2
region: sidebar_first
weight: -4
provider: null
plugin: groupmenus
settings:
id: groupmenus
label: 'Group menus'
label_display: visible
provider: groupmenu_block
context_mapping:
group: '@group.group_route_context:group'
node: '@node.node_route_context:node'
max_depth: '3'
visibility:
request_path:
id: request_path
negate: true
pages: "*/web-areas/*\r\n/group/*/menus\r\n/group/*/revisions\r\n/group/*/taxonomy\r\n/group/*/member/*"
'entity_bundle:node':
id: 'entity_bundle:node'
negate: true
context_mapping:
node: '@node.node_route_context:node'
bundles:
employee_profile: employee_profile
event: event
landing_page: landing_page
mass_mailer: mass_mailer
photos_of_the_week: photos_of_the_week
staff_member: staff_member
page_not_found_request:
id: page_not_found_request
negate: false
page_not_found: false
30 changes: 30 additions & 0 deletions config/sync/block.block.mainnavigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
uuid: 28d54b17-21ca-4ca1-96f3-e7546e15951a
langcode: en
status: true
dependencies:
config:
- system.menu.main
module:
- block_in_page_not_found
- system
theme:
- epa_intranet_2
id: mainnavigation
theme: epa_intranet_2
region: primary_menu
weight: 0
provider: null
plugin: 'system_menu_block:main'
settings:
id: 'system_menu_block:main'
label: 'Main navigation'
label_display: '0'
provider: system
level: 1
depth: 3
expand_all_items: true
visibility:
page_not_found_request:
id: page_not_found_request
negate: false
page_not_found: false
25 changes: 25 additions & 0 deletions config/sync/block.block.messages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: 93cbbf22-188e-4785-a793-5f5e6e7b6770
langcode: en
status: true
dependencies:
module:
- block_in_page_not_found
- system
theme:
- epa_intranet_2
id: messages
theme: epa_intranet_2
region: highlighted
weight: 0
provider: null
plugin: system_messages_block
settings:
id: system_messages_block
label: 'Status Messages'
label_display: '0'
provider: system
visibility:
page_not_found_request:
id: page_not_found_request
negate: false
page_not_found: false
33 changes: 33 additions & 0 deletions config/sync/block.block.pagetitle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
uuid: a42d8b2d-c661-4414-aa39-36d89be15e83
langcode: en
status: true
dependencies:
module:
- block_in_page_not_found
- node
theme:
- epa_intranet_2
id: pagetitle
theme: epa_intranet_2
region: content
weight: 0
provider: null
plugin: page_title_block
settings:
id: page_title_block
label: 'Page title'
label_display: '0'
provider: core
visibility:
'entity_bundle:node':
id: 'entity_bundle:node'
negate: true
context_mapping:
node: '@node.node_route_context:node'
bundles:
landing_page: landing_page
mass_mailer: mass_mailer
page_not_found_request:
id: page_not_found_request
negate: false
page_not_found: false
30 changes: 30 additions & 0 deletions config/sync/block.block.secondarymenu_2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
uuid: 7a27d54a-3d3b-456c-a62e-0973b59f772c
langcode: en
status: true
dependencies:
config:
- system.menu.secondary-menu
module:
- block_in_page_not_found
- system
theme:
- epa_intranet_2
id: secondarymenu_2
theme: epa_intranet_2
region: secondary_menu
weight: 0
provider: null
plugin: 'system_menu_block:secondary-menu'
settings:
id: 'system_menu_block:secondary-menu'
label: 'Secondary Menu'
label_display: '0'
provider: system
level: 1
depth: 0
expand_all_items: false
visibility:
page_not_found_request:
id: page_not_found_request
negate: false
page_not_found: false

0 comments on commit 4f2a9e7

Please sign in to comment.