src/Http/Controllers/Adminarea/TenantsController.php
public function import(Tenant $tenant, ImportRecordsDataTable $importRecordsDataTable)
    {
        return $importRecordsDataTable->with([
            'resource' => $tenant,
            'tabs' => 'adminarea.tenants.tabs',
            'url' => route('adminarea.tenants.stash'),
            'id' => "adminarea-tenants-{$tenant->getRouteKey()}-import-table",
        ])->render('cortex/foundation::adminarea.pages.datatable-dropzone');
    }
public function import(Tenant $tenant, ImportRecordsDataTable $importRecordsDataTable)
    {
        return $importRecordsDataTable->with([
            'resource' => $tenant,
            'tabs' => 'adminarea.tenants.tabs',
            'url' => route('adminarea.tenants.stash'),
            'id' => "adminarea-tenants-{$tenant->getRouteKey()}-import-table",
        ])->render('cortex/foundation::adminarea.pages.datatable-dropzone');
    }
public function import ( Tenant $ tenant , ImportRecordsDataTable $ importRecordsDataTable ) { return $ importRecordsDataTable -> with ( [ 'resource' => $ tenant , 'tabs' => 'adminarea.tenants.tabs' , 'url' => route ( 'adminarea.tenants.stash' ) , 'id' => "adminarea-tenants-{$tenant->getRouteKey()}-import-table" , ] ) -> render ( 'cortex/foundation::adminarea.pages.datatable-dropzone' ) ; }
Import tenants.

@param \Cortex\Tenants\Models\Tenant                        $tenant
@param \Cortex\Foundation\DataTables\ImportRecordsDataTable $importRecordsDataTable

@return \Illuminate\View\View
Import tenants .