You are here

public function NodewordsFieldInstance::fields in Metatag 8

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.

Overrides MigrateSourceInterface::fields

File

src/Plugin/migrate/source/d6/NodewordsFieldInstance.php, line 59

Class

NodewordsFieldInstance
Drupal 6 Nodewords field instances.

Namespace

Drupal\metatag\Plugin\migrate\source\d6

Code

public function fields() {
  return [
    'type' => $this
      ->t('Configuration type'),
    'bundle' => $this
      ->t('Bundle'),
  ];
}