Commit dee952a0 authored by Ruben Marques's avatar Ruben Marques Committed by Damien McKenna
Browse files

Issue #3187898 by rutiolma: Comply with migrations using migrate_upgrade.

parent f6de18c1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ Metatag 8.x-1.x-dev, xxxx-xx-xx
#3186893 by DamienMcKenna: Document how to update from Metatag Access to Metatag
  Extended Perms.
#3187583 by jrb: Syntax error when running PHP 7.0.
#3187898 by rutiolma: Comply with migrations using migrate_upgrade.


Metatag 8.x-1.15, 2020-12-05
+6 −0
Original line number Diff line number Diff line
@@ -895,6 +895,12 @@ function _metatag_is_migration_plugin_supported(array $definition) {
    return FALSE;
  }

  // Support for migrate_upgrade module, to avoid adding dependencies on already
  // processed migration procedures.
  if (!empty($definition['migration_group'])) {
    return FALSE;
  }

  // This migration has destination plugins defined.
  if (!empty($definition['destination']['plugin'])) {
    // Follow logic on hook_entity_base_field_info() and exclude the metatag