function FieldInstancePerViewMode::getIds

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

Overrides FieldInstance::getIds

File

core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerViewMode.php, line 53

Class

FieldInstancePerViewMode
Drupal 7 field instance per view mode source class.

Namespace

Drupal\field\Plugin\migrate\source\d7

Code

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

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