You are here

public function FeedTypeForm::__construct in Feeds 8.3

Constructs a new FeedTypeForm object.

Parameters

\Drupal\Core\Config\Entity\ConfigEntityStorageInterface $feed_type_storage: The feed type storage controller.

\Drupal\feeds\Plugin\PluginFormFactory $factory: The form factory.

\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The services of date.

\Drupal\Core\Render\RendererInterface $renderer: The render object.

File

src/FeedTypeForm.php, line 68

Class

FeedTypeForm
Form controller for the feed type edit forms.

Namespace

Drupal\feeds

Code

public function __construct(ConfigEntityStorageInterface $feed_type_storage, PluginFormFactory $factory, DateFormatterInterface $date_formatter, RendererInterface $renderer) {
  $this->feedTypeStorage = $feed_type_storage;
  $this->formFactory = $factory;
  $this->dateFormatter = $date_formatter;
  $this->renderer = $renderer;
}