You are here

public function ScheduledPublishCron::doUpdate in Scheduled Publish 8.3

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

Run field updates

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

File

src/Service/ScheduledPublishCron.php, line 96

Class

ScheduledPublishCron
Class ScheduledPublishCron

Namespace

Drupal\scheduled_publish\Service

Code

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