protected function getIndependentTypes() { $types = []; /** @var ScheduledUpdateTypeInterface $type */ foreach ($this->typeStorage->loadMultiple() as $type) { if ($this->runnerUtils->isIndependentUpdater($type)) { $types[] = $type; } } return $types; }
/** * {@inheritdoc} */ public function submitForm(array &$form, FormStateInterface $form_state) { $this->scheduled_updates_update_runner->runAllUpdates(); }