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

@param \Cortex\Auth\Models\Role                             $role
@param \Cortex\Foundation\DataTables\ImportRecordsDataTable $importRecordsDataTable

@return \Illuminate\View\View
Import roles .