You are here

public function FilePlainConfigSourceBase::fields in Media Migration 8

3 calls to FilePlainConfigSourceBase::fields()
FilePlainFieldFormatter::fields in src/Plugin/migrate/source/d7/FilePlainFieldFormatter.php
FilePlainFieldWidget::fields in src/Plugin/migrate/source/d7/FilePlainFieldWidget.php
FilePlainSourceFieldInstance::fields in src/Plugin/migrate/source/d7/FilePlainSourceFieldInstance.php
3 methods override FilePlainConfigSourceBase::fields()
FilePlainFieldFormatter::fields in src/Plugin/migrate/source/d7/FilePlainFieldFormatter.php
FilePlainFieldWidget::fields in src/Plugin/migrate/source/d7/FilePlainFieldWidget.php
FilePlainSourceFieldInstance::fields in src/Plugin/migrate/source/d7/FilePlainSourceFieldInstance.php

File

src/Plugin/migrate/source/d7/FilePlainConfigSourceBase.php, line 158

Class

FilePlainConfigSourceBase
Base class for config migrate source plugins of plain file migrations.

Namespace

Drupal\media_migration\Plugin\migrate\source\d7

Code

public function fields() {
  return [
    'mimes' => $this
      ->t('List of the files main MIME type (before the slash), separated by "::"'),
    'schemes' => $this
      ->t('List of the files uri scheme (the ID of the stream wrapper), separated by "::"'),
  ];
}