isTranslationDestination()) { $ids['langcode']['type'] = 'string'; } return $ids; } /** * {@inheritdoc} */ public function rollback(array $destination_identifier) { if ($this->isTranslationDestination()) { $language = $destination_identifier['langcode']; unset($destination_identifier['langcode']); $destination_identifier = [ implode('.', $destination_identifier), 'langcode' => $language, ]; } else { $destination_identifier = [implode('.', $destination_identifier)]; } parent::rollback($destination_identifier); } }