function ResponsiveImageStyles::fields
Same name in other branches
- 10 core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php \Drupal\responsive_image\Plugin\migrate\source\d7\ResponsiveImageStyles::fields()
- 11.x core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php \Drupal\responsive_image\Plugin\migrate\source\d7\ResponsiveImageStyles::fields()
Overrides MigrateSourceInterface::fields
File
-
core/
modules/ responsive_image/ src/ Plugin/ migrate/ source/ d7/ ResponsiveImageStyles.php, line 36
Class
- ResponsiveImageStyles
- Gets Drupal responsive image styles source from database.
Namespace
Drupal\responsive_image\Plugin\migrate\source\d7Code
public function fields() {
$fields = [
'label' => $this->t('The human-readable name of the mapping'),
'machine_name' => $this->t('The machine name of the mapping'),
'breakpoint_group' => $this->t('The group this mapping belongs to'),
'mapping' => $this->t('The mappings linked to the breakpoints group'),
];
return $fields;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.