src/Http/Controllers/Managerarea/PagesController.php
public function import(Page $page, ImportRecordsDataTable $importRecordsDataTable)
    {
        return $importRecordsDataTable->with([
            'resource' => $page,
            'tabs' => 'managerarea.pages.tabs',
            'url' => route('managerarea.pages.stash'),
            'id' => "managerarea-pages-{$page->getRouteKey()}-import-table",
        ])->render('cortex/foundation::managerarea.pages.datatable-dropzone');
    }
public function import(Page $page, ImportRecordsDataTable $importRecordsDataTable)
    {
        return $importRecordsDataTable->with([
            'resource' => $page,
            'tabs' => 'managerarea.pages.tabs',
            'url' => route('managerarea.pages.stash'),
            'id' => "managerarea-pages-{$page->getRouteKey()}-import-table",
        ])->render('cortex/foundation::managerarea.pages.datatable-dropzone');
    }
public function import ( Page $ page , ImportRecordsDataTable $ importRecordsDataTable ) { return $ importRecordsDataTable -> with ( [ 'resource' => $ page , 'tabs' => 'managerarea.pages.tabs' , 'url' => route ( 'managerarea.pages.stash' ) , 'id' => "managerarea-pages-{$page->getRouteKey()}-import-table" , ] ) -> render ( 'cortex/foundation::managerarea.pages.datatable-dropzone' ) ; }
Import pages.

@param \Cortex\Pages\Models\Page                            $page
@param \Cortex\Foundation\DataTables\ImportRecordsDataTable $importRecordsDataTable

@return \Illuminate\View\View
Import pages .