You are here

public function MigrateDestinationInterface::fields in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/MigrateDestinationInterface.php \Drupal\migrate\Plugin\MigrateDestinationInterface::fields()
  2. 9 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.
10 methods override MigrateDestinationInterface::fields()
BlockedIp::fields in core/modules/ban/src/Plugin/migrate/destination/BlockedIp.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.
Entity::fields in core/modules/migrate/src/Plugin/migrate/destination/Entity.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();