function FieldOptionTranslation::getIds

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

Overrides Field::getIds

File

core/modules/field/src/Plugin/migrate/source/d7/FieldOptionTranslation.php, line 76

Class

FieldOptionTranslation
Drupal 7 i18n field option label source from database.

Namespace

Drupal\field\Plugin\migrate\source\d7

Code

public function getIds() {
    return parent::getIds() + [
        'language' => [
            'type' => 'string',
        ],
        'property' => [
            'type' => 'string',
        ],
        'bundle' => [
            'type' => 'string',
        ],
    ];
}

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