function FieldInstanceOptionTranslation::query

Same name in other branches
  1. 9 core/modules/field/src/Plugin/migrate/source/d6/FieldInstanceOptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\FieldInstanceOptionTranslation::query()
  2. 10 core/modules/field/src/Plugin/migrate/source/d6/FieldInstanceOptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\FieldInstanceOptionTranslation::query()
  3. 11.x core/modules/field/src/Plugin/migrate/source/d6/FieldInstanceOptionTranslation.php \Drupal\field\Plugin\migrate\source\d6\FieldInstanceOptionTranslation::query()

Overrides FieldOptionTranslation::query

File

core/modules/field/src/Plugin/migrate/source/d6/FieldInstanceOptionTranslation.php, line 18

Class

FieldInstanceOptionTranslation
Gets field instance option label translations.

Namespace

Drupal\field\Plugin\migrate\source\d6

Code

public function query() {
    $query = parent::query();
    $query->join('content_node_field_instance', 'cnfi', 'cnf.field_name = cnfi.field_name');
    $query->addField('cnfi', 'type_name');
    return $query;
}

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