You are here

protected function EntityConfigBase::isTranslationDestination in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php \Drupal\migrate\Plugin\migrate\destination\EntityConfigBase::isTranslationDestination()

Get whether this destination is for translations.

Return value

bool Whether this destination is for translations.

7 calls to EntityConfigBase::isTranslationDestination()
EntityConfigBase::generateId in core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php
Generates an entity ID.
EntityConfigBase::getIds in core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php
Gets the destination IDs.
EntityConfigBase::import in core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php
Import the row.
EntityConfigBase::rollback in core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php
Delete the specified destination object from the target Drupal.
EntityFieldInstance::getIds in core/modules/migrate/src/Plugin/migrate/destination/EntityFieldInstance.php
Gets the destination IDs.

... See full list

File

core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php, line 170

Class

EntityConfigBase
Base destination class for importing configuration entities.

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

protected function isTranslationDestination() {
  return !empty($this->configuration['translations']);
}