protected ConfigImporter::finish(&$context)
Finishes the batch.
array|\ArrayAccess $context.: The batch context.
protected function finish(&$context) { $this->eventDispatcher->dispatch(ConfigEvents::IMPORT, new ConfigImporterEvent($this)); // The import is now complete. $this->lock->release(static::LOCK_NAME); $this->reset(); $context['message'] = t('Finalizing configuration synchronization.'); $context['finished'] = 1; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigImporter.php/function/ConfigImporter::finish/8.1.x