public function D7FlagListItems::fields in Flag Lists 8
Same name and namespace in other branches
- 4.0.x src/Plugin/migrate/source/D7FlagListItems.php \Drupal\flag_lists\Plugin\migrate\source\D7FlagListItems::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.
Overrides MigrateSourceInterface::fields
File
- src/
Plugin/ migrate/ source/ D7FlagListItems.php, line 45
Class
- D7FlagListItems
- Minimalistic example for a SqlBase source plugin.
Namespace
Drupal\flag_lists\Plugin\migrate\sourceCode
public function fields() {
$fields = [
'fcid' => $this
->t('Flag content id'),
'fid' => $this
->t('Flag lists id #'),
'entity_type' => $this
->t('Entity type'),
'entity_id' => $this
->t('Entity #'),
'uid' => $this
->t('Owner'),
'sid' => $this
->t('Sid'),
'timestamp' => $this
->t('Timestamp'),
];
return $fields;
}