You are here

public function UpdateUtils::isRevisionableUpdate in Scheduled Updates 8

Determines if an update supports revisions

Parameters

\Drupal\scheduled_updates\ScheduledUpdateInterface $update:

Return value

bool

Overrides UpdateUtilsInterface::isRevisionableUpdate

File

src/UpdateUtils.php, line 83

Class

UpdateUtils
Service to determine information about Scheduled Update Types.

Namespace

Drupal\scheduled_updates

Code

public function isRevisionableUpdate(ScheduledUpdateInterface $update) {
  return $this
    ->supportsRevisionUpdates($this
    ->getUpdateType($update));
}