You are here

public function SearchApiMigrateSubscriber::onPostMigrate in Multiversion 8

Enable Search API node indexing.

Note that this will not be triggered in case if the migration process will fail with an exception.

File

src/EventSubscriber/SearchApiMigrateSubscriber.php, line 66

Class

SearchApiMigrateSubscriber
SearchApiMigrateSubscriber class.

Namespace

Drupal\multiversion\EventSubscriber

Code

public function onPostMigrate() {
  $this
    ->indexSetReadOnly(FALSE);
}