Skip to content

Commit

Permalink
Merge pull request #43 from oleh-rymar/feature/openy_repeat_schedule_…
Browse files Browse the repository at this point in the history
…for_lb

feat:  Feature/openy repeat schedule for lb
  • Loading branch information
podarok authored Apr 16, 2024
2 parents 5b1edc9 + 530fbb4 commit b1ec7dd
Show file tree
Hide file tree
Showing 9 changed files with 431 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
langcode: en
status: true
dependencies: { }
id: lb_repeat_schedules
label: 'Repeat (Group) Schedules'
revision: 0
description: 'Repeat Schedules block for Layout builder.'
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
langcode: en
status: true
dependencies:
config:
- block_content.type.lb_repeat_schedules
- field.field.block_content.lb_repeat_schedules.body
- field.field.block_content.lb_repeat_schedules.field_rs_block
module:
- paragraphs
- text
id: block_content.lb_repeat_schedules.default
targetEntityType: block_content
bundle: lb_repeat_schedules
mode: default
content:
body:
type: text_textarea_with_summary
weight: 26
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
field_rs_block:
type: paragraphs
weight: 27
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
closed_mode: summary
autocollapse: none
closed_mode_threshold: 0
add_mode: dropdown
form_display_mode: default
default_paragraph_type: repeat_schedules
features:
add_above: '0'
collapse_edit_all: collapse_edit_all
convert: '0'
duplicate: '0'
third_party_settings: { }
info:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
langcode: en
status: true
dependencies:
config:
- block_content.type.lb_repeat_schedules
- field.field.block_content.lb_repeat_schedules.body
- field.field.block_content.lb_repeat_schedules.field_rs_block
module:
- entity_reference_revisions
id: block_content.lb_repeat_schedules.default
targetEntityType: block_content
bundle: lb_repeat_schedules
mode: default
content:
field_rs_block:
type: entity_reference_revisions_entity_view
label: hidden
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 0
region: content
hidden:
body: true
langcode: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
langcode: en
status: true
dependencies:
config:
- block_content.type.lb_repeat_schedules
- field.storage.block_content.body
module:
- text
id: block_content.lb_repeat_schedules.body
field_name: body
entity_type: block_content
bundle: lb_repeat_schedules
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: false
required_summary: false
field_type: text_with_summary
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
langcode: en
status: true
dependencies:
config:
- block_content.type.lb_repeat_schedules
- field.storage.block_content.field_rs_block
- paragraphs.paragraphs_type.repeat_schedules
module:
- entity_reference_revisions
id: block_content.lb_repeat_schedules.field_rs_block
field_name: field_rs_block
entity_type: block_content
bundle: lb_repeat_schedules
label: Block
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:paragraph'
handler_settings:
target_bundles:
repeat_schedules: repeat_schedules
negate: 0
target_bundles_drag_drop:
1c:
weight: 66
enabled: false
2c:
weight: 67
enabled: false
3c:
weight: 68
enabled: false
4c:
weight: 69
enabled: false
activity_finder:
weight: 70
enabled: false
activity_finder_4:
weight: 71
enabled: false
activity_finder_search:
weight: 72
enabled: false
all_amenities:
weight: 73
enabled: false
banner:
weight: 74
enabled: false
block_date:
weight: 75
enabled: false
blog_posts_listing:
weight: 76
enabled: false
branch_amenities:
weight: 77
enabled: false
branch_amenities_with_icons:
weight: 78
enabled: false
branch_contacts_info:
weight: 79
enabled: false
branches_popup_all:
weight: 80
enabled: false
branches_popup_class:
weight: 81
enabled: false
camp_menu:
weight: 82
enabled: false
categories_listing:
weight: 83
enabled: false
class_location:
weight: 84
enabled: false
class_sessions:
weight: 85
enabled: false
classes_listing:
weight: 86
enabled: false
classes_listing_filters:
weight: 87
enabled: false
code:
weight: 88
enabled: false
embedded_groupexpro_schedule:
weight: 89
enabled: false
event_posts_listing:
weight: 90
enabled: false
faq:
weight: 91
enabled: false
featured_blogs:
weight: 92
enabled: false
featured_content:
weight: 93
enabled: false
featured_highlights:
weight: 94
enabled: false
featured_news:
weight: 95
enabled: false
gallery:
weight: 96
enabled: false
google_search:
weight: 97
enabled: false
grid_columns:
weight: 98
enabled: false
grid_content:
weight: 99
enabled: false
group_schedules:
weight: 100
enabled: false
latest_blog_posts:
weight: 101
enabled: false
latest_blog_posts_branch:
weight: 102
enabled: false
latest_blog_posts_camp:
weight: 103
enabled: false
latest_news_posts:
weight: 104
enabled: false
latest_news_posts_branch:
weight: 105
enabled: false
latest_news_posts_camp:
weight: 106
enabled: false
location_filter_by_amenities:
weight: 107
enabled: false
lto:
weight: 108
enabled: false
membership_info:
weight: 109
enabled: false
microsites_menu:
weight: 110
enabled: false
news_posts_listing:
weight: 111
enabled: false
openy_prgf_mbrshp_calc:
weight: 112
enabled: false
prgf_location_finder:
weight: 113
enabled: false
prgf_location_finder_filters:
weight: 114
enabled: false
program_registration:
weight: 115
enabled: false
promo_card:
weight: 116
enabled: false
repeat_schedules:
weight: 117
enabled: true
repeat_schedules_loc:
weight: 118
enabled: false
schedule_search_form:
weight: 119
enabled: false
schedule_search_list:
weight: 120
enabled: false
search_api:
weight: 121
enabled: false
secondary_description_sidebar:
weight: 122
enabled: false
session_time:
weight: 123
enabled: false
simple_content:
weight: 124
enabled: false
small_banner:
weight: 125
enabled: false
social_list:
weight: 126
enabled: false
story_card:
weight: 127
enabled: false
teaser:
weight: 128
enabled: false
upcoming_events:
weight: 129
enabled: false
webform:
weight: 130
enabled: false
field_type: entity_reference_revisions
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
module:
- block_content
- entity_reference_revisions
- paragraphs
id: block_content.field_rs_block
field_name: field_rs_block
entity_type: block_content
type: entity_reference_revisions
settings:
target_type: paragraph
module: entity_reference_revisions
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: true
custom_storage: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
langcode: en
status: true
dependencies:
config:
- block_content.type.lb_repeat_schedules
id: block_content.lb_repeat_schedules
target_entity_type_id: block_content
target_bundle: lb_repeat_schedules
default_langcode: site_default
language_alterable: false
7 changes: 7 additions & 0 deletions modules/lb_repeat_schedules/lb_repeat_schedules.info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: 'Y Layout Builder - Repeat Schedules'
type: module
description: 'Provides a Repeat Schedules block for Layout Builder.'
package: 'YMCA Website Services'
core_version_requirement: ^9 || ^10
dependencies:
- openy_repeat:openy_repeat
Loading

0 comments on commit b1ec7dd

Please sign in to comment.