8.5.x MigrateSourceInterface.php MigrateSourceInterface::fields()
8.0.x MigrateSourceInterface.php MigrateSourceInterface::fields()
8.1.x MigrateSourceInterface.php MigrateSourceInterface::fields()
8.2.x MigrateSourceInterface.php MigrateSourceInterface::fields()
8.3.x MigrateSourceInterface.php MigrateSourceInterface::fields()
8.4.x MigrateSourceInterface.php MigrateSourceInterface::fields()
8.6.x MigrateSourceInterface.php 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.

75 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 27

Class

MigrateSourceInterface
Defines an interface for migrate sources.

Namespace

Drupal\migrate\Plugin

Code

public function fields();