function VocabularyPerType::getIds
Same name in other branches
- 8.9.x core/modules/taxonomy/src/Plugin/migrate/source/d6/VocabularyPerType.php \Drupal\taxonomy\Plugin\migrate\source\d6\VocabularyPerType::getIds()
- 10 core/modules/taxonomy/src/Plugin/migrate/source/d6/VocabularyPerType.php \Drupal\taxonomy\Plugin\migrate\source\d6\VocabularyPerType::getIds()
- 11.x core/modules/taxonomy/src/Plugin/migrate/source/d6/VocabularyPerType.php \Drupal\taxonomy\Plugin\migrate\source\d6\VocabularyPerType::getIds()
Overrides Vocabulary::getIds
File
-
core/
modules/ taxonomy/ src/ Plugin/ migrate/ source/ d6/ VocabularyPerType.php, line 55
Class
- VocabularyPerType
- Drupal 6 vocabularies with associated node types source from database.
Namespace
Drupal\taxonomy\Plugin\migrate\source\d6Code
public function getIds() {
$ids['vid']['type'] = 'integer';
$ids['vid']['alias'] = 'nt';
$ids['type']['type'] = 'string';
return $ids;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.