You are here

public function MigrateSourceInterface::fields in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/MigrateSourceInterface.php \Drupal\migrate\Plugin\MigrateSourceInterface::fields()
  2. 9 core/modules/migrate/src/Plugin/MigrateSourceInterface.php \Drupal\migrate\Plugin\MigrateSourceInterface::fields()

Returns available fields on the source.

Return value

array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.

87 methods override MigrateSourceInterface::fields()
Action::fields in core/modules/system/src/Plugin/migrate/source/Action.php
Returns available fields on the source.
Block::fields in core/modules/block/src/Plugin/migrate/source/Block.php
Returns available fields on the source.
BlockCustom::fields in core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustom.php
Returns available fields on the source.
BlockCustomTranslation::fields in core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php
Returns available fields on the source.
BlockedIps::fields in core/modules/ban/src/Plugin/migrate/source/d7/BlockedIps.php
Returns available fields on the source.

... See full list

File

core/modules/migrate/src/Plugin/MigrateSourceInterface.php, line 32

Class

MigrateSourceInterface
Defines an interface for migrate sources.

Namespace

Drupal\migrate\Plugin

Code

public function fields();