- golem15.menu plugin, tables golem15_menu_menus and golem15_menu_menu_entries with the PHP columns plus a nullable url_pattern (D-02) - MenuEntry BeforeSave ports PHP beforeSave: nest columns 0, menu from the parent, sort_order after the menu's last - entry type dropdown: url, divider and the signpost registry types; reference depends on type through signpost.ReferenceOptions - URL scheme allowlist (errors.url_scheme), target _self or _blank, menu and parent cycle checks - menu filter, toolbar reorder/create/delete and config_reorder.yaml partitioned by menu - navigation Menus with Menus and Menu entries, permission golem15.menu.manage_menu, en and pl phrasebooks - TestMenuAdminSmoke
40 lines
999 B
YAML
40 lines
999 B
YAML
# ===================================
|
|
# List Behavior Config
|
|
# ===================================
|
|
|
|
# Model List Column configuration
|
|
list: ~/plugins/golem15/menu/models/menu/columns.yaml
|
|
|
|
# Model Class name
|
|
modelClass: Golem15\Menu\Models\Menu
|
|
|
|
# List Title
|
|
title: golem15.menu::lang.models.menu.label_plural
|
|
|
|
# Link URL for each record
|
|
recordUrl: golem15/menu/menus/update/:id
|
|
|
|
# Message to display if the list is empty
|
|
noRecordsMessage: backend::lang.list.no_records
|
|
|
|
# Records to display per page
|
|
recordsPerPage: 20
|
|
|
|
# Options to provide the user when selecting how many records to display per page
|
|
perPageOptions: [20, 40, 80, 100, 120]
|
|
|
|
# Displays the list column set up button
|
|
showSetup: true
|
|
|
|
# Displays the sorting link on each column
|
|
showSorting: true
|
|
|
|
# Display checkboxes next to each record
|
|
showCheckboxes: true
|
|
|
|
# Toolbar: the PHP list_toolbar partial held create and delete selected
|
|
toolbar:
|
|
buttons: [create, delete]
|
|
search:
|
|
prompt: backend::lang.list.search_prompt
|