Open Data Catalog v
Drupal\datastore\Plugin\QueueWorker\ResourcePurgerWorker Class Reference
Inheritance diagram for Drupal\datastore\Plugin\QueueWorker\ResourcePurgerWorker:

Public Member Functions

 __construct (array $configuration, $plugin_id, $plugin_definition, ResourcePurger $resourcePurger)
 
 processItem ($data)
 

Static Public Member Functions

static create (ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
 

Detailed Description

Defines 'resource_purger' queue worker.

@QueueWorker( id = "resource_purger", title = @Translation("Queue to purge unneeded resources of datasets."), cron = {"time" = 10} )

Definition at line 19 of file ResourcePurgerWorker.php.

Constructor & Destructor Documentation

◆ __construct()

Drupal\datastore\Plugin\QueueWorker\ResourcePurgerWorker::__construct ( array  $configuration,
  $plugin_id,
  $plugin_definition,
ResourcePurger  $resourcePurger 
)

Constructor.

Definition at line 31 of file ResourcePurgerWorker.php.

Member Function Documentation

◆ create()

static Drupal\datastore\Plugin\QueueWorker\ResourcePurgerWorker::create ( ContainerInterface  $container,
array  $configuration,
  $plugin_id,
  $plugin_definition 
)
static

{}

Definition at line 39 of file ResourcePurgerWorker.php.

◆ processItem()

Drupal\datastore\Plugin\QueueWorker\ResourcePurgerWorker::processItem (   $data)

{}

Definition at line 51 of file ResourcePurgerWorker.php.