function ViewMode::getIds

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

Overrides FieldInstance::getIds

File

core/modules/field/src/Plugin/migrate/source/d7/ViewMode.php, line 52

Class

ViewMode
Drupal 7 view mode source from database.

Namespace

Drupal\field\Plugin\migrate\source\d7

Code

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

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