public function WebformScheduledTask::calculateDependencies in Webform Scheduled Tasks 8.2
Calculates dependencies and stores them in the dependency property.
Return value
$this
Overrides ConfigEntityBase::calculateDependencies
See also
\Drupal\Core\Config\Entity\ConfigDependencyManager
File
- src/
Entity/ WebformScheduledTask.php, line 245
Class
- WebformScheduledTask
- Defines the webform schedule entity type.
Namespace
Drupal\webform_scheduled_tasks\EntityCode
public function calculateDependencies() {
parent::calculateDependencies();
$this
->addDependency($this
->getWebform()
->getConfigDependencyKey(), $this
->getWebform()
->getConfigDependencyName());
return $this;
}