public function MetatagField::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/ d7/ MetatagField.php, line 29
Class
- MetatagField
- Drupal 7 Metatag field.
Namespace
Drupal\metatag\Plugin\migrate\source\d7Code
public function fields() {
$fields = [
'entity_type' => $this
->t('Entity type'),
];
return $fields;
}