Skip to content
Snippets Groups Projects
Commit be5c98c5 authored by Colan Schwartz's avatar Colan Schwartz
Browse files

Revert "Issue #3074382 by colan: Access global classes when running in static mode."

This reverts commit 2632801c.
parent 2632801c
Branches
Tags
No related merge requests found
...@@ -817,9 +817,9 @@ public static function importTaxonomiesForce($taxonomies, &$context) { ...@@ -817,9 +817,9 @@ public static function importTaxonomiesForce($taxonomies, &$context) {
* Function that signals that the import of taxonomies has finished. * Function that signals that the import of taxonomies has finished.
*/ */
public static function taxonomiesImportFinishedCallback($success, $results, $operations) { public static function taxonomiesImportFinishedCallback($success, $results, $operations) {
$message = "Successfully imported taxonomies."; StructureSyncHelper::logMessage('Successfully imported taxonomies');
StructureSyncHelper::logMessage($message);
\Drupal::messenger()->addStatus(t($message)); $this->messenger()->addStatus(t('Successfully imported taxonomies'));
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment