function ResponsiveImageStyles::prepareRow
Same name in other branches
- 9 core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php \Drupal\responsive_image\Plugin\migrate\source\d7\ResponsiveImageStyles::prepareRow()
- 10 core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php \Drupal\responsive_image\Plugin\migrate\source\d7\ResponsiveImageStyles::prepareRow()
Overrides SourcePluginBase::prepareRow
File
-
core/
modules/ responsive_image/ src/ Plugin/ migrate/ source/ d7/ ResponsiveImageStyles.php, line 57
Class
- ResponsiveImageStyles
- Gets Drupal responsive image styles source from database.
Namespace
Drupal\responsive_image\Plugin\migrate\source\d7Code
public function prepareRow(Row $row) {
$row->setSourceProperty('mapping', unserialize($row->getSourceProperty('mapping')));
return parent::prepareRow($row);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.