function Vocabulary::getIds

Same name in this branch
  1. 11.x core/modules/taxonomy/src/Plugin/migrate/source/d6/Vocabulary.php \Drupal\taxonomy\Plugin\migrate\source\d6\Vocabulary::getIds()
Same name in other branches
  1. 9 core/modules/taxonomy/src/Plugin/migrate/source/d6/Vocabulary.php \Drupal\taxonomy\Plugin\migrate\source\d6\Vocabulary::getIds()
  2. 9 core/modules/taxonomy/src/Plugin/migrate/source/d7/Vocabulary.php \Drupal\taxonomy\Plugin\migrate\source\d7\Vocabulary::getIds()
  3. 8.9.x core/modules/taxonomy/src/Plugin/migrate/source/d6/Vocabulary.php \Drupal\taxonomy\Plugin\migrate\source\d6\Vocabulary::getIds()
  4. 8.9.x core/modules/taxonomy/src/Plugin/migrate/source/d7/Vocabulary.php \Drupal\taxonomy\Plugin\migrate\source\d7\Vocabulary::getIds()
  5. 10 core/modules/taxonomy/src/Plugin/migrate/source/d6/Vocabulary.php \Drupal\taxonomy\Plugin\migrate\source\d6\Vocabulary::getIds()
  6. 10 core/modules/taxonomy/src/Plugin/migrate/source/d7/Vocabulary.php \Drupal\taxonomy\Plugin\migrate\source\d7\Vocabulary::getIds()

Overrides MigrateSourceInterface::getIds

1 call to Vocabulary::getIds()
VocabularyTranslation::getIds in core/modules/taxonomy/src/Plugin/migrate/source/d7/VocabularyTranslation.php
Defines the source fields uniquely identifying a source row.
1 method overrides Vocabulary::getIds()
VocabularyTranslation::getIds in core/modules/taxonomy/src/Plugin/migrate/source/d7/VocabularyTranslation.php
Defines the source fields uniquely identifying a source row.

File

core/modules/taxonomy/src/Plugin/migrate/source/d7/Vocabulary.php, line 72

Class

Vocabulary
Drupal 7 vocabularies source from database.

Namespace

Drupal\taxonomy\Plugin\migrate\source\d7

Code

public function getIds() {
    $ids['vid']['type'] = 'integer';
    return $ids;
}

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