You are here

protected function Config::isTranslationDestination in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/migrate/destination/Config.php \Drupal\migrate\Plugin\migrate\destination\Config::isTranslationDestination()

Get whether this destination is for translations.

Return value

bool Whether this destination is for translations.

4 calls to Config::isTranslationDestination()
Config::getIds in core/modules/migrate/src/Plugin/migrate/destination/Config.php
Gets the destination IDs.
Config::import in core/modules/migrate/src/Plugin/migrate/destination/Config.php
Import the row.
Config::rollback in core/modules/migrate/src/Plugin/migrate/destination/Config.php
Delete the specified destination object from the target Drupal.
Config::__construct in core/modules/migrate/src/Plugin/migrate/destination/Config.php
Constructs a Config destination object.

File

core/modules/migrate/src/Plugin/migrate/destination/Config.php, line 183

Class

Config
Provides Configuration Management destination plugin.

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

protected function isTranslationDestination() {
  return !empty($this->configuration['translations']);
}