public function ViewMode::fields in Drupal 9
Same name in this branch
- 9 core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php \Drupal\node\Plugin\migrate\source\d6\ViewMode::fields()
- 9 core/modules/field/src/Plugin/migrate/source/d7/ViewMode.php \Drupal\field\Plugin\migrate\source\d7\ViewMode::fields()
Same name and namespace in other branches
- 8 core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php \Drupal\node\Plugin\migrate\source\d6\ViewMode::fields()
Returns available fields on the source.
Return value
array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.
Overrides MigrateSourceInterface::fields
File
- core/
modules/ node/ src/ Plugin/ migrate/ source/ d6/ ViewMode.php, line 59
Class
- ViewMode
- Drupal 6 view mode source from database.
Namespace
Drupal\node\Plugin\migrate\source\d6Code
public function fields() {
return [
'display_settings' => $this
->t('Serialize data with display settings.'),
];
}