protected function _importData()
    {
        if (Import::BEHAVIOR_DELETE == $this->getBehavior()) {
            $this->deleteCategories();
        } else {
            $this->saveCategories();
            $this->saveOnTab();
        }

        //$this->reindexImportedCategories();

        $this->eventManager->dispatch('catalog_category_import_finish_before', ['adapter' => $this]);

        return true;
    }
protected function _importData()
    {
        if (Import::BEHAVIOR_DELETE == $this->getBehavior()) {
            $this->deleteCategories();
        } else {
            $this->saveCategories();
            $this->saveOnTab();
        }

        //$this->reindexImportedCategories();

        $this->eventManager->dispatch('catalog_category_import_finish_before', ['adapter' => $this]);

        return true;
    }
protected function _importData ( ) { if ( Import :: BEHAVIOR_DELETE == $ this -> getBehavior ( ) ) { $ this -> deleteCategories ( ) ; } else { $ this -> saveCategories ( ) ; $ this -> saveOnTab ( ) ; } //$this->reindexImportedCategories(); $ this -> eventManager -> dispatch ( 'catalog_category_import_finish_before' , [ 'adapter' => $ this ] ) ; return true ; }
Create Category entity from raw data.

@throws \Exception
@return bool Result of operation.
Create Category entity from raw data .