You are here

public function DeleteOrphan::__construct in Organic groups 8

Constructs a DeleteOrphan object.

Parameters

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

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\og\OgDeleteOrphansPluginManager $og_delete_orphans_plugin_manager: The plugin manager for OgDeleteOrphans plugins.

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/DeleteOrphan.php, line 42

Class

DeleteOrphan
Deletes orphaned group content.

Namespace

Drupal\og\Plugin\QueueWorker

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, OgDeleteOrphansPluginManager $og_delete_orphans_plugin_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->ogDeleteOrphansPluginManager = $og_delete_orphans_plugin_manager;
}