migrate_drupal.post_update.php

Same filename in other branches
  1. 9 core/modules/migrate_drupal/migrate_drupal.post_update.php
  2. 10 core/modules/migrate_drupal/migrate_drupal.post_update.php
  3. 11.x core/modules/migrate_drupal/migrate_drupal.post_update.php

Post update functions for migrate_drupal.

File

core/modules/migrate_drupal/migrate_drupal.post_update.php

View source
<?php


/**
 * @file
 * Post update functions for migrate_drupal.
 */

/**
 * Force MigrateField plugin definitions to be cleared.
 *
 * @see https://www.drupal.org/node/3006470
 */
function drupal_migrate_post_update_clear_migrate_field_plugin_cache() {
    // Empty post-update hook.
}

/**
 * Uninstall migrate_drupal_multilingual since migrate_drupal is installed.
 */
function migrate_drupal_post_update_uninstall_multilingual() {
    \Drupal::service('module_installer')->uninstall([
        'migrate_drupal_multilingual',
    ]);
}

Functions

Title Deprecated Summary
drupal_migrate_post_update_clear_migrate_field_plugin_cache Force MigrateField plugin definitions to be cleared.
migrate_drupal_post_update_uninstall_multilingual Uninstall migrate_drupal_multilingual since migrate_drupal is installed.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.