protected function EntityConfigBase::isTranslationDestination in Drupal 8
Same name and namespace in other branches
- 9 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.
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\destinationCode
protected function isTranslationDestination() {
return !empty($this->configuration['translations']);
}