function Vocabulary::getIds

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

Overrides MigrateSourceInterface::getIds

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

File

core/modules/taxonomy/src/Plugin/migrate/source/d6/Vocabulary.php, line 91

Class

Vocabulary
Drupal 6 vocabularies source from database.

Namespace

Drupal\taxonomy\Plugin\migrate\source\d6

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.