PHP code example of pavloniym / nova-shift-index-links
1. Go to this page and download the library: Download pavloniym/nova-shift-index-links 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/ */
pavloniym / nova-shift-index-links example snippets
use Pavloniym\ShiftIndexLinks\ShiftIndexLinks;
public function fields(Request $request)
{
return [
// ... Nova default fields
// Move links after checkboxes
ShiftIndexLinks::make(),
// OR set custom position
ShiftIndexLinks::make()->setPosition(4),
// ... Nova default fields
];
}