function LanguageContentSettingsTaxonomyVocabulary::query
Same name in this branch
- 11.x core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettingsTaxonomyVocabulary.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettingsTaxonomyVocabulary::query()
Same name in other branches
- 9 core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettingsTaxonomyVocabulary.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettingsTaxonomyVocabulary::query()
- 9 core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettingsTaxonomyVocabulary.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettingsTaxonomyVocabulary::query()
- 8.9.x core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettingsTaxonomyVocabulary.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettingsTaxonomyVocabulary::query()
- 8.9.x core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettingsTaxonomyVocabulary.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettingsTaxonomyVocabulary::query()
- 10 core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettingsTaxonomyVocabulary.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettingsTaxonomyVocabulary::query()
- 10 core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettingsTaxonomyVocabulary.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettingsTaxonomyVocabulary::query()
Overrides Vocabulary::query
File
-
core/
modules/ language/ src/ Plugin/ migrate/ source/ d7/ LanguageContentSettingsTaxonomyVocabulary.php, line 25
Class
- LanguageContentSettingsTaxonomyVocabulary
- Drupal 7 i18n vocabularies source from database.
Namespace
Drupal\language\Plugin\migrate\source\d7Code
public function query() {
$query = parent::query();
if ($this->getDatabase()
->schema()
->fieldExists('taxonomy_vocabulary', 'i18n_mode')) {
$query->addField('v', 'language');
$query->addField('v', 'i18n_mode');
}
return $query;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.