You are here

public function FeedTypeTamperMeta::getTamper in Feeds Tamper 8.2

Returns a specific Tamper plugin.

Parameters

string $instance_id: The tamper plugin instance ID.

Return value

\Drupal\tamper\TamperInterface The tamper plugin instance.

Overrides FeedTypeTamperMetaInterface::getTamper

File

src/FeedTypeTamperMeta.php, line 82

Class

FeedTypeTamperMeta
Class for managing tamper plugins for a feed type.

Namespace

Drupal\feeds_tamper

Code

public function getTamper($instance_id) {
  return $this
    ->getTampers()
    ->get($instance_id);
}