You are here

public function EntityContentBase::isTranslationDestination in Drupal 8

Same name and namespace in other branches
  1. 9 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 221

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']);
}