protected function ScheduledUpdateAddController::getIndependentTypes in Scheduled Updates 8
1 call to ScheduledUpdateAddController::getIndependentTypes()
- ScheduledUpdateAddController::add in src/
Controller/ ScheduledUpdateAddController.php - Displays add links for available bundles/types for entity scheduled_update .
File
- src/
Controller/ ScheduledUpdateAddController.php, line 121 - Contains Drupal\scheduled_updates\Controller\ScheduledUpdateAddController.
Class
- ScheduledUpdateAddController
- Class ScheduledUpdateAddController.
Namespace
Drupal\scheduled_updates\ControllerCode
protected function getIndependentTypes() {
$types = [];
/** @var ScheduledUpdateTypeInterface $type */
foreach ($this->typeStorage
->loadMultiple() as $type) {
if ($this->runnerUtils
->isIndependentUpdater($type)) {
$types[] = $type;
}
}
return $types;
}