function ViewMode::fields
Same name in this branch
- 9 core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php \Drupal\node\Plugin\migrate\source\d6\ViewMode::fields()
Same name in other branches
- 8.9.x core/modules/field/src/Plugin/migrate/source/d7/ViewMode.php \Drupal\field\Plugin\migrate\source\d7\ViewMode::fields()
- 8.9.x core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php \Drupal\node\Plugin\migrate\source\d6\ViewMode::fields()
- 10 core/modules/field/src/Plugin/migrate/source/d7/ViewMode.php \Drupal\field\Plugin\migrate\source\d7\ViewMode::fields()
- 10 core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php \Drupal\node\Plugin\migrate\source\d6\ViewMode::fields()
- 11.x core/modules/field/src/Plugin/migrate/source/d7/ViewMode.php \Drupal\field\Plugin\migrate\source\d7\ViewMode::fields()
- 11.x core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php \Drupal\node\Plugin\migrate\source\d6\ViewMode::fields()
Overrides FieldInstance::fields
File
-
core/
modules/ field/ src/ Plugin/ migrate/ source/ d7/ ViewMode.php, line 43
Class
- ViewMode
- Drupal 7 view mode source from database.
Namespace
Drupal\field\Plugin\migrate\source\d7Code
public function fields() {
return array_merge(parent::fields(), [
'view_mode' => $this->t('The view mode ID.'),
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.