# ===================================
#  List Behavior Config
# ===================================

# Model List Column configuration
list: $/rainlab/blog/models/category/columns.yaml

# Model Class name
modelClass: RainLab\Blog\Models\Category

# List Title
title: rainlab.blog::lang.categories.list_title

# Link URL for each record
recordUrl: rainlab/blog/categories/update/:id

# Message to display if the list is empty
noRecordsMessage: backend::lang.list.no_records

# Records to display per page
recordsPerPage: 5

# Display checkboxes next to each record
showCheckboxes: true

# Toolbar widget configuration
toolbar:
    # Partial for toolbar buttons
    buttons: list_toolbar

    # Search widget configuration
    search:
        prompt: backend::lang.list.search_prompt

# Legacy (v1)
showTree: true

# Reordering
structure:
    showTree: true
    showReorder: true
    treeExpanded: true
    maxDepth: 0
