function Field::getIds

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

Overrides MigrateSourceInterface::getIds

1 method overrides Field::getIds()
FieldOptionTranslation::getIds in core/modules/field/src/Plugin/migrate/source/d7/FieldOptionTranslation.php
Defines the source fields uniquely identifying a source row.

File

core/modules/field/src/Plugin/migrate/source/d7/Field.php, line 100

Class

Field
Drupal 7 field source from database.

Namespace

Drupal\field\Plugin\migrate\source\d7

Code

public function getIds() {
    return [
        'field_name' => [
            'type' => 'string',
            'alias' => 'fc',
        ],
        'entity_type' => [
            'type' => 'string',
            'alias' => 'fci',
        ],
    ];
}

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