function EntityConfigBase::isTranslationDestination
Same name in other branches
- 9 core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php \Drupal\migrate\Plugin\migrate\destination\EntityConfigBase::isTranslationDestination()
- 8.9.x core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php \Drupal\migrate\Plugin\migrate\destination\EntityConfigBase::isTranslationDestination()
- 10 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.
8 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.
- EntityConfigBase::updateEntity in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ EntityConfigBase.php - Updates an entity with the contents of a row.
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ EntityConfigBase.php, line 172
Class
- EntityConfigBase
- Base destination class for importing configuration entities.
Namespace
Drupal\migrate\Plugin\migrate\destinationCode
protected function isTranslationDestination() {
return !empty($this->configuration['translations']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.