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 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace Hyde\Markdown\Contracts\FrontMatter\SubSchemas; |
6 | |
7 | use Hyde\Markdown\Contracts\FrontMatter\PageSchema; |
8 | |
9 | /** |
10 | * @see \Hyde\Framework\Features\Navigation\NavigationData |
11 | * @see \Hyde\Pages\Concerns\HydePage |
12 | */ |
13 | interface 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 | } |