You are here

public static function FeedTypeTamperMeta::create in Feeds Tamper 8.2

Creates a new instance.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The service container.

\Drupal\feeds\FeedTypeInterface $feed_type: The feed type to manage tamper plugins for.

Return value

static A new FeedTypeTamperMeta instance.

1 call to FeedTypeTamperMeta::create()
FeedTypeTamperManager::getTamperMeta in src/FeedTypeTamperManager.php
Gets Tamper functionality for a feed type.

File

src/FeedTypeTamperMeta.php, line 71

Class

FeedTypeTamperMeta
Class for managing tamper plugins for a feed type.

Namespace

Drupal\feeds_tamper

Code

public static function create(ContainerInterface $container, FeedTypeInterface $feed_type) {
  return new static($container
    ->get('uuid'), $container
    ->get('plugin.manager.tamper'), $feed_type);
}