Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. VocabularyTranslation.php

function VocabularyTranslation::fields

Same name in this branch
  1. 11.1.x core/modules/taxonomy/src/Plugin/migrate/source/d7/VocabularyTranslation.php \Drupal\taxonomy\Plugin\migrate\source\d7\VocabularyTranslation::fields()

Overrides MigrateSourceInterface::fields

File

core/modules/taxonomy/src/Plugin/migrate/source/d6/VocabularyTranslation.php, line 48

Class

VocabularyTranslation
Drupal 6 i18n vocabulary translations source from database.

Namespace

Drupal\taxonomy\Plugin\migrate\source\d6

Code

public function fields() {
    return [
        'vid' => $this->t('The vocabulary ID.'),
        'language' => $this->t('Language for this field.'),
        'property' => $this->t('Name of property being translated.'),
        'translation' => $this->t('Translation of either the title or explanation.'),
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal