function ContactCategory::prepareRow
Same name in other branches
- 8.9.x core/modules/contact/src/Plugin/migrate/source/ContactCategory.php \Drupal\contact\Plugin\migrate\source\ContactCategory::prepareRow()
- 10 core/modules/contact/src/Plugin/migrate/source/ContactCategory.php \Drupal\contact\Plugin\migrate\source\ContactCategory::prepareRow()
- 11.x core/modules/contact/src/Plugin/migrate/source/ContactCategory.php \Drupal\contact\Plugin\migrate\source\ContactCategory::prepareRow()
Overrides SourcePluginBase::prepareRow
File
-
core/
modules/ contact/ src/ Plugin/ migrate/ source/ ContactCategory.php, line 44
Class
- ContactCategory
- Drupal 6/7 contact category source from database.
Namespace
Drupal\contact\Plugin\migrate\sourceCode
public function prepareRow(Row $row) {
$row->setSourceProperty('recipients', explode(',', $row->getSourceProperty('recipients')));
return parent::prepareRow($row);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.