function ViewMode::fields

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

Overrides MigrateSourceInterface::fields

File

core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php, line 61

Class

ViewMode
Drupal 6 view mode source from database.

Namespace

Drupal\node\Plugin\migrate\source\d6

Code

public function fields() {
    return [
        'display_settings' => $this->t('Serialize data with display settings.'),
    ];
}

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