public function WebformScheduledTask::getWebform in Webform Scheduled Tasks 8.2
Get the webform this task is associated with.
Return value
\Drupal\webform\WebformInterface The associated webform.
Overrides WebformScheduledTaskInterface::getWebform
2 calls to WebformScheduledTask::getWebform()
- WebformScheduledTask::registerFailedTask in src/
Entity/ WebformScheduledTask.php - Register a failed task run.
- WebformScheduledTask::registerSuccessfulTask in src/
Entity/ WebformScheduledTask.php - Register a successful task run.
File
- src/
Entity/ WebformScheduledTask.php, line 238
Class
- WebformScheduledTask
- Defines the webform schedule entity type.
Namespace
Drupal\webform_scheduled_tasks\EntityCode
public function getWebform() {
return Webform::load($this->webform);
}