protected function FeedTypeTamperMeta::updateFeedType in Feeds Tamper 8.2
Writes tampers back on the feed type.
3 calls to FeedTypeTamperMeta::updateFeedType()
- FeedTypeTamperMeta::addTamper in src/
FeedTypeTamperMeta.php - Adds a tamper plugin instance for this feed type.
- FeedTypeTamperMeta::removeTamper in src/
FeedTypeTamperMeta.php - Removes a tamper plugin instance from this feed type.
- FeedTypeTamperMeta::setTamperConfig in src/
FeedTypeTamperMeta.php - Sets the configuration for a tamper plugin instance.
File
- src/
FeedTypeTamperMeta.php, line 198
Class
- FeedTypeTamperMeta
- Class for managing tamper plugins for a feed type.
Namespace
Drupal\feeds_tamperCode
protected function updateFeedType() {
$this
->getTampers()
->sort();
foreach ($this
->getPluginCollections() as $plugin_config_key => $plugin_collection) {
$this->feedType
->setThirdPartySetting('feeds_tamper', $plugin_config_key, $plugin_collection
->getConfiguration());
}
}