You are here

public function CronJob::calculateDependencies in Ultimate Cron 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/CronJob.php, line 785

Class

CronJob
Class for handling cron jobs.

Namespace

Drupal\ultimate_cron\Entity

Code

public function calculateDependencies() {
  parent::calculateDependencies();
  $this
    ->addDependency('module', $this
    ->getModule());
  return $this->dependencies;
}