public function PhotosComment::fields in Album Photos 8.5
Same name in this branch
- 8.5 src/Plugin/migrate/source/PhotosComment.php \Drupal\photos\Plugin\migrate\source\PhotosComment::fields()
- 8.5 src/Plugin/migrate/destination/PhotosComment.php \Drupal\photos\Plugin\migrate\destination\PhotosComment::fields()
Same name and namespace in other branches
- 8.4 src/Plugin/migrate/source/PhotosComment.php \Drupal\photos\Plugin\migrate\source\PhotosComment::fields()
- 6.0.x src/Plugin/migrate/source/PhotosComment.php \Drupal\photos\Plugin\migrate\source\PhotosComment::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/ PhotosComment.php, line 31
Class
- PhotosComment
- Source plugin for photos image comment content.
Namespace
Drupal\photos\Plugin\migrate\sourceCode
public function fields() {
$fields = [
'fid' => $this
->t('File ID'),
'cid' => $this
->t('Comment ID'),
];
return $fields;
}