3 namespace Drupal\shortcut\Plugin\migrate\destination;
5 use Drupal\migrate\Row;
6 use Drupal\migrate\Plugin\migrate\destination\EntityConfigBase;
10 * id = "entity:shortcut_set"
13 class EntityShortcutSet extends EntityConfigBase {
18 protected function getEntity(Row $row, array $old_destination_id_values) {
19 $entity = parent::getEntity($row, $old_destination_id_values);
20 // Set the "syncing" flag to TRUE, to avoid duplication of default
22 $entity->setSyncing(TRUE);