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
EntityContentBase::import in core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php
EntityContentBase::rollback in core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php
EntityContentBase::updateEntity in core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php
EntityRevision::getIds in core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php

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.