Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace Hyde\Markdown\Contracts\FrontMatter\SubSchemas;
6
7use Hyde\Markdown\Contracts\FrontMatter\PageSchema;
8
9/**
10 * @see \Hyde\Framework\Features\Navigation\NavigationData
11 * @see \Hyde\Pages\Concerns\HydePage
12 */
13interface NavigationSchema extends PageSchema
14{
15    public const NAVIGATION_SCHEMA = [
16        'label' => 'string', // The text to display
17        'priority' => 'int',  // Order is also supported
18        'hidden' => 'bool',  // Visible is also supported (but obviously invert the value)
19        'group' => 'string', // Category is also supported
20    ];
21}