class RadioactivityIncidents in Radioactivity 8.3
Same name and namespace in other branches
- 4.0.x src/Plugin/QueueWorker/RadioactivityIncidents.php \Drupal\radioactivity\Plugin\QueueWorker\RadioactivityIncidents
Processes radioactivity emits.
Plugin annotation
@QueueWorker(
id = "radioactivity_incidents",
title = @Translation("Process radioactivity incidents"),
cron = {"time" = 10}
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\Core\Queue\QueueWorkerBase implements QueueWorkerInterface
- class \Drupal\radioactivity\Plugin\QueueWorker\RadioactivityQueueWorkerBase implements ContainerFactoryPluginInterface
- class \Drupal\radioactivity\Plugin\QueueWorker\RadioactivityIncidents
- class \Drupal\radioactivity\Plugin\QueueWorker\RadioactivityQueueWorkerBase implements ContainerFactoryPluginInterface
- class \Drupal\Core\Queue\QueueWorkerBase implements QueueWorkerInterface
Expanded class hierarchy of RadioactivityIncidents
File
- src/
Plugin/ QueueWorker/ RadioactivityIncidents.php, line 14
Namespace
Drupal\radioactivity\Plugin\QueueWorkerView source
class RadioactivityIncidents extends RadioactivityQueueWorkerBase {
/**
* {@inheritdoc}
*/
public function processItem($data) {
$this->radioactivityProcessor
->queueProcessIncidents($data['entity_type'], $data['incidents']);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
3 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
RadioactivityIncidents:: |
public | function |
Works on a single queue item. Overrides QueueWorkerInterface:: |
|
RadioactivityQueueWorkerBase:: |
protected | property | The radioactivity.processor service. | |
RadioactivityQueueWorkerBase:: |
public static | function |
Creates an instance of the plugin. Overrides ContainerFactoryPluginInterface:: |
|
RadioactivityQueueWorkerBase:: |
public | function |
Constructs a RadioactivityQueueWorkerBase object. Overrides PluginBase:: |