PHP code example of normanhuth / nova-menu-order
1. Go to this page and download the library: Download normanhuth/nova-menu-order library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
normanhuth / nova-menu-order example snippets
return [
'Other' => 10,
'Archives' => 20,
];
use NormanHuth\NovaMenuOrder\Nova\CustomResource;
class Contact extends CustomResource
use NormanHuth\NovaMenuOrder\Nova\CustomResource;
class Contact extends CustomResource
{
public static $order = 20;
public static function setLabel()
{
return __('Contact');
}
public static function setSingularLabel()
{
return __('Contact');
}