public function FeedTypeTamperMeta::removeTamper in Feeds Tamper 8.2
Removes a tamper plugin instance from this feed type.
Parameters
string $instance_id: The ID of a tamper plugin to remove.
Return value
$this
Overrides FeedTypeTamperMetaInterface::removeTamper
1 call to FeedTypeTamperMeta::removeTamper()
- FeedTypeTamperMeta::rectifyInstances in src/
FeedTypeTamperMeta.php - Removes tamper instances whose source was removed from the mapping.
File
- src/
FeedTypeTamperMeta.php, line 142
Class
- FeedTypeTamperMeta
- Class for managing tamper plugins for a feed type.
Namespace
Drupal\feeds_tamperCode
public function removeTamper($instance_id) {
$this
->getTampers()
->removeInstanceId($instance_id);
$this
->updateFeedType();
return $this;
}