You are here

class WebformScheduledTask in Webform Scheduled Tasks 8.2

Same name in this branch
  1. 8.2 src/Annotation/WebformScheduledTask.php \Drupal\webform_scheduled_tasks\Annotation\WebformScheduledTask
  2. 8.2 src/Entity/WebformScheduledTask.php \Drupal\webform_scheduled_tasks\Entity\WebformScheduledTask

Annotation for a task plugin.

Hierarchy

Expanded class hierarchy of WebformScheduledTask

1 file declares its use of WebformScheduledTask
WebformScheduledTaskManager.php in src/WebformScheduledTaskManager.php
4 classes are annotated with WebformScheduledTask
EmailedExport in src/Plugin/WebformScheduledTasks/Task/EmailedExport.php
A task which emails an export of a list of webforms.
HaltExceptionTask in tests/modules/webform_scheduled_tasks_test_types/src/Plugin/WebformScheduledTasks/Task/HaltExceptionTask.php
A test plugin that throws an exception.
RetryExceptionTask in tests/modules/webform_scheduled_tasks_test_types/src/Plugin/WebformScheduledTasks/Task/RetryExceptionTask.php
A test plugin that throws an exception.
TestTask in tests/modules/webform_scheduled_tasks_test_types/src/Plugin/WebformScheduledTasks/Task/TestTask.php
A debug task plugin.

File

src/Annotation/WebformScheduledTask.php, line 12

Namespace

Drupal\webform_scheduled_tasks\Annotation
View source
class WebformScheduledTask extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The human-readable label.
   *
   * @var \Drupal\Core\Annotation\Translation
   */
  public $label;

}

Members

Namesort descending Modifiers Type Description Overrides
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2
WebformScheduledTask::$id public property The plugin ID.
WebformScheduledTask::$label public property The human-readable label.