You are here

public function FileEntityFieldFormatter::fields in Media Migration 8

Overrides FileEntityConfigSourceBase::fields

File

src/Plugin/migrate/source/d7/FileEntityFieldFormatter.php, line 78

Class

FileEntityFieldFormatter
Drupal 7 media field formatter settings source based on source database.

Namespace

Drupal\media_migration\Plugin\migrate\source\d7

Code

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();
}