function FieldInstance::getIds

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

Overrides MigrateSourceInterface::getIds

3 methods override FieldInstance::getIds()
FieldInstancePerFormDisplay::getIds in core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerFormDisplay.php
Defines the source fields uniquely identifying a source row.
FieldInstancePerViewMode::getIds in core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerViewMode.php
Defines the source fields uniquely identifying a source row.
ViewMode::getIds in core/modules/field/src/Plugin/migrate/source/d7/ViewMode.php
Defines the source fields uniquely identifying a source row.

File

core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php, line 238

Class

FieldInstance
Drupal 7 field instances source from database.

Namespace

Drupal\field\Plugin\migrate\source\d7

Code

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

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