You are here

public function UpdateUtils::getUpdateTypeLabel in Scheduled Updates 8

Overrides UpdateUtilsInterface::getUpdateTypeLabel

File

src/UpdateUtils.php, line 97

Class

UpdateUtils
Service to determine information about Scheduled Update Types.

Namespace

Drupal\scheduled_updates

Code

public function getUpdateTypeLabel(ScheduledUpdateInterface $update) {
  return $this
    ->getUpdateType($update)
    ->label();
}