spotonlive/sl-navigation

View on GitHub
src/SpotOnLive/Navigation/Options/PageOptions.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace SpotOnLive\Navigation\Options;

class PageOptions extends Options implements OptionsInterface
{
    /** @var array */
    protected $defaults = [
        'options' => [
            // Render in menu
            'render' => true,

            // Route parameters
            'route_parameters' => [],

            // Label
            'label' => '',
            'escape_html' => true,

            // Classes
            'li_class' => null,
            'ul_class' => null,

            // Wrapper
            'wrapper' => '%s',
        ],

        // Attributes
        'attributes' => [],

        // Sub pages
        'pages' => [],
    ];
}