You are here

public function MigrateSourceInterface::fields in Drupal 9

Same name and namespace in other branches
  1. 8 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.

89 methods override MigrateSourceInterface::fields()
Action::fields in core/modules/action/src/Plugin/migrate/source/Action.php
Returns available fields on the source.
AggregatorFeed::fields in core/modules/aggregator/src/Plugin/migrate/source/AggregatorFeed.php
Returns available fields on the source.
AggregatorItem::fields in core/modules/aggregator/src/Plugin/migrate/source/AggregatorItem.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.

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