You are here

RadioactivityDecay.php in Radioactivity 4.0.x

Same filename and directory in other branches
  1. 8.3 src/Plugin/QueueWorker/RadioactivityDecay.php

File

src/Plugin/QueueWorker/RadioactivityDecay.php
View source
<?php

namespace Drupal\radioactivity\Plugin\QueueWorker;


/**
 * Processes radioactivity decay.
 *
 * @QueueWorker(
 *   id = "radioactivity_decay",
 *   title = @Translation("Process radioactivity decay"),
 *   cron = {"time" = 10}
 * )
 */
class RadioactivityDecay extends RadioactivityQueueWorkerBase {

  /**
   * {@inheritdoc}
   */
  public function processItem($data) {
    $this->radioactivityProcessor
      ->queueProcessDecay($data['field_config'], $data['entity_ids']);
  }

}

Classes

Namesort descending Description
RadioactivityDecay Processes radioactivity decay.