You are here

public function MigrateDestinationInterface::fields in Drupal 9

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

Returns an array of destination fields.

Derived classes must implement fields(), returning a list of available destination fields.

Return value

array

  • Keys: machine names of the fields
  • Values: Human-friendly descriptions of the fields.
11 methods override MigrateDestinationInterface::fields()
BlockedIp::fields in core/modules/ban/src/Plugin/migrate/destination/BlockedIp.php
Returns an array of destination fields.
Color::fields in core/modules/color/src/Plugin/migrate/destination/Color.php
Returns an array of destination fields.
ComponentEntityDisplayBase::fields in core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php
Returns an array of destination fields.
Config::fields in core/modules/migrate/src/Plugin/migrate/destination/Config.php
Returns an array of destination fields.
DummyDestination::fields in core/modules/migrate/tests/modules/migrate_events_test/src/Plugin/migrate/destination/DummyDestination.php
Returns an array of destination fields.

... See full list

File

core/modules/migrate/src/Plugin/MigrateDestinationInterface.php, line 90

Class

MigrateDestinationInterface
Defines an interface for Migration Destination classes.

Namespace

Drupal\migrate\Plugin

Code

public function fields();