You are here

public function DeleteFeed::__construct in Feeds 8.3

Constructs a DeleteFeed object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin ID for the plugin instance.

array $plugin_definition: The plugin implementation definition.

\Drupal\Core\TempStore\PrivateTempStore $temp_store: The tempstore factory.

\Drupal\Core\Session\AccountInterface $user: The current user.

Overrides PluginBase::__construct

File

src/Plugin/Action/DeleteFeed.php, line 51

Class

DeleteFeed
Redirects to a feed deletion form.

Namespace

Drupal\feeds\Plugin\Action

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, PrivateTempStore $temp_store, AccountInterface $user) {
  $this->tempStore = $temp_store;
  $this->user = $user;
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}