You are here

public function ScheduledPublishCron::doUpdate in Scheduled Publish 8.2

Same name and namespace in other branches
  1. 8.3 src/Service/ScheduledPublishCron.php \Drupal\scheduled_publish\Service\ScheduledPublishCron::doUpdate()
  2. 8 src/Service/ScheduledPublishCron.php \Drupal\scheduled_publish\Service\ScheduledPublishCron::doUpdate()

Run field updates

File

src/Service/ScheduledPublishCron.php, line 74

Class

ScheduledPublishCron
Class ScheduledPublishCron

Namespace

Drupal\scheduled_publish\Service

Code

public function doUpdate() : void {
  foreach (self::$supportedTypes as $supportedType) {
    $this
      ->doUpdateFor($supportedType);
  }
}