JobTypeBase.php in Advanced Queue 8
File
src/Plugin/AdvancedQueue/JobType/JobTypeBase.php
View source
<?php
namespace Drupal\advancedqueue\Plugin\AdvancedQueue\JobType;
use Drupal\Core\Plugin\PluginBase;
abstract class JobTypeBase extends PluginBase implements JobTypeInterface {
public function getLabel() {
return (string) $this->pluginDefinition['label'];
}
public function getMaxRetries() {
return $this->pluginDefinition['max_retries'];
}
public function getRetryDelay() {
return $this->pluginDefinition['retry_delay'];
}
}