public function ImageStyles::fields in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/Plugin/migrate/source/d7/ImageStyles.php \Drupal\image\Plugin\migrate\source\d7\ImageStyles::fields()
- 9 core/modules/image/src/Plugin/migrate/source/d7/ImageStyles.php \Drupal\image\Plugin\migrate\source\d7\ImageStyles::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
- core/
modules/ image/ src/ Plugin/ migrate/ source/ d7/ ImageStyles.php, line 36
Class
- ImageStyles
- Drupal 7 image styles source from database.
Namespace
Drupal\image\Plugin\migrate\source\d7Code
public function fields() {
$fields = [
'isid' => $this
->t('The primary identifier for an image style.'),
'name' => $this
->t('The style machine name.'),
'label' => $this
->t('The style administrative name.'),
];
return $fields;
}