function EntityContentBase::isTranslationDestination

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php \Drupal\migrate\Plugin\migrate\destination\EntityContentBase::isTranslationDestination()
  2. 8.9.x core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php \Drupal\migrate\Plugin\migrate\destination\EntityContentBase::isTranslationDestination()
  3. 10 core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php \Drupal\migrate\Plugin\migrate\destination\EntityContentBase::isTranslationDestination()
5 calls to EntityContentBase::isTranslationDestination()
EntityContentBase::getIds in core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php
Gets the destination IDs.
EntityContentBase::import in core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php
EntityContentBase::rollback in core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php
Delete the specified destination object from the target Drupal.
EntityContentBase::updateEntity in core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php
Updates an entity with the new values from row.
EntityRevision::getIds in core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php
Gets the destination IDs.

File

core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php, line 244

Class

EntityContentBase
Provides destination class for all content entities lacking a specific class.

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

public 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.