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

Add main and utility group menus #16

Merged
merged 2 commits into from
May 9, 2022
Merged
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
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"drupal/core": "^9",
"drupal/field_formatter_class": "^1.5",
"drupal/group": "^1.4",
"drupal/group_content_menu": "^1.1",
"drupal/group_permissions": "^1.0@alpha",
"localgovdrupal/localgov_core": "^2.1.0"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- group.type.microsite
- group_content_menu.group_content_menu_type.lgms_utility_menu
module:
- group_content_menu
id: group_content_type_b2b480aed4898
label: 'Microsite: Group menu (Utility menu)'
description: 'Adds <em class="placeholder">Utility menu</em> menu items to groups.'
group_type: microsite
content_plugin: 'group_content_menu:lgms_utility_menu'
plugin_config:
group_cardinality: 1
entity_cardinality: 1
use_creation_wizard: true
auto_create_group_menu: true
auto_create_home_link: false
auto_create_home_link_title: Home
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- group.type.microsite
- group_content_menu.group_content_menu_type.lgms_main_menu
module:
- group_content_menu
id: group_content_type_c5efb248dbca3
label: 'Microsite: Group menu (Main menu)'
description: 'Adds <em class="placeholder">Main menu</em> menu items to groups.'
group_type: microsite
content_plugin: 'group_content_menu:lgms_main_menu'
plugin_config:
group_cardinality: 1
entity_cardinality: 1
use_creation_wizard: true
auto_create_group_menu: true
auto_create_home_link: false
auto_create_home_link_title: Home
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
langcode: en
status: true
dependencies: { }
id: lgms_main_menu
label: 'Main menu'
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
langcode: en
status: true
dependencies: { }
id: lgms_utility_menu
label: 'Utility menu'
1 change: 1 addition & 0 deletions localgov_microsites_group.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
- field_group:field_group
- group:group
- group:gnode
- group_content_menu:group_content_menu
- image:image
- link:link
- media_library:media_library
Expand Down