You are here

SupportsDeletingJobsInterface.php in Advanced Queue 8

File

src/Plugin/AdvancedQueue/Backend/SupportsDeletingJobsInterface.php
View source
<?php

namespace Drupal\advancedqueue\Plugin\AdvancedQueue\Backend;


/**
 * Provides the interface for queue backends which support deleting jobs.
 */
interface SupportsDeletingJobsInterface {

  /**
   * Deletes the job with the given ID.
   *
   * @param string $job_id
   *   The job ID.
   */
  public function deleteJob($job_id);

}

Interfaces

Namesort descending Description
SupportsDeletingJobsInterface Provides the interface for queue backends which support deleting jobs.