function Config::isTranslationDestination

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/migrate/destination/Config.php \Drupal\migrate\Plugin\migrate\destination\Config::isTranslationDestination()
  2. 8.9.x core/modules/migrate/src/Plugin/migrate/destination/Config.php \Drupal\migrate\Plugin\migrate\destination\Config::isTranslationDestination()
  3. 10 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 204

Class

Config
Provides Configuration Management destination plugin.

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

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.