You are here

public function FileEntityConfigSourceBase::fields in Media Migration 8

3 calls to FileEntityConfigSourceBase::fields()
FileEntityFieldFormatter::fields in src/Plugin/migrate/source/d7/FileEntityFieldFormatter.php
FileEntityFieldWidget::fields in src/Plugin/migrate/source/d7/FileEntityFieldWidget.php
FileEntitySourceFieldInstance::fields in src/Plugin/migrate/source/d7/FileEntitySourceFieldInstance.php
3 methods override FileEntityConfigSourceBase::fields()
FileEntityFieldFormatter::fields in src/Plugin/migrate/source/d7/FileEntityFieldFormatter.php
FileEntityFieldWidget::fields in src/Plugin/migrate/source/d7/FileEntityFieldWidget.php
FileEntitySourceFieldInstance::fields in src/Plugin/migrate/source/d7/FileEntitySourceFieldInstance.php

File

src/Plugin/migrate/source/d7/FileEntityConfigSourceBase.php, line 143

Class

FileEntityConfigSourceBase
Base class for config migrate source plugins of file entity migrations.

Namespace

Drupal\media_migration\Plugin\migrate\source\d7

Code

public function fields() {
  return [
    'types' => $this
      ->t('File Entity type machine name'),
    'schemes' => $this
      ->t('The uri scheme of the file entities'),
    'bundle' => 'bundle',
    'bundle_label' => 'bundle_label',
    'source_plugin_id' => $this
      ->t('The source plugin id of the destination media type'),
    'source_field_name' => $this
      ->t('The source field name of the destination media type'),
    'source_field_label' => 'source_field_label',
  ];
}