public function FilePlainFieldFormatter::fields in Media Migration 8
Overrides FilePlainConfigSourceBase::fields
File
- src/
Plugin/ migrate/ source/ d7/ FilePlainFieldFormatter.php, line 78
Class
- FilePlainFieldFormatter
- Drupal 7 media field formatter settings source based on source database.
Namespace
Drupal\media_migration\Plugin\migrate\source\d7Code
public function fields() {
return [
'field_name' => $this
->t('Name of the field.'),
'options' => $this
->t('Configuration options of the source field widget.'),
'hidden' => $this
->t('Whether the field is hidden or not.'),
] + parent::fields();
}