You are here

public function UpdateUtilsInterface::supportsRevisionUpdates in Scheduled Updates 8

Determine a scheduled update type supports creating new revisions on update.

This is determined by the entity type it updates.

Parameters

\Drupal\scheduled_updates\ScheduledUpdateTypeInterface $scheduledUpdateType:

Return value

bool

1 method overrides UpdateUtilsInterface::supportsRevisionUpdates()
UpdateUtils::supportsRevisionUpdates in src/UpdateUtils.php
Determine a scheduled update type supports creating new revisions on update.

File

src/UpdateUtilsInterface.php, line 25

Class

UpdateUtilsInterface
Service to determine information about Scheduled Update Types

Namespace

Drupal\scheduled_updates

Code

public function supportsRevisionUpdates(ScheduledUpdateTypeInterface $scheduledUpdateType);