function TermTranslation::getIds

Same name in other branches
  1. 8.9.x core/modules/taxonomy/src/Plugin/migrate/source/d7/TermTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d7\TermTranslation::getIds()
  2. 10 core/modules/taxonomy/src/Plugin/migrate/source/d7/TermTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d7\TermTranslation::getIds()
  3. 11.x core/modules/taxonomy/src/Plugin/migrate/source/d7/TermTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d7\TermTranslation::getIds()

Overrides Term::getIds

File

core/modules/taxonomy/src/Plugin/migrate/source/d7/TermTranslation.php, line 70

Class

TermTranslation
Drupal 7 i18n taxonomy terms source from database.

Namespace

Drupal\taxonomy\Plugin\migrate\source\d7

Code

public function getIds() {
    $ids['language']['type'] = 'string';
    $ids['language']['alias'] = 'td';
    return parent::getIds() + $ids;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.