You are here

public static function TaxonomiesController::taxonomiesImportFinishedCallback in Structure Sync 8

Same name and namespace in other branches
  1. 2.x src/Controller/TaxonomiesController.php \Drupal\structure_sync\Controller\TaxonomiesController::taxonomiesImportFinishedCallback()

Function that signals that the import of taxonomies has finished.

1 call to TaxonomiesController::taxonomiesImportFinishedCallback()
TaxonomiesController::importTaxonomies in src/Controller/TaxonomiesController.php
Function to import taxonomy terms.

File

src/Controller/TaxonomiesController.php, line 819

Class

TaxonomiesController
Controller for syncing taxonomy terms.

Namespace

Drupal\structure_sync\Controller

Code

public static function taxonomiesImportFinishedCallback($success, $results, $operations) {
  StructureSyncHelper::logMessage('Successfully imported taxonomies');
  drupal_set_message(t('Successfully imported taxonomies'));
}