You are here

public function UpdateManager::getLatestSchema in Express 8

Retrieves the latest update schema.

Return value

int|array The latest update schema.

1 call to UpdateManager::getLatestSchema()
UpdateManager::getLatestVersion in themes/contrib/bootstrap/src/Plugin/UpdateManager.php
Retrieves the latest update schema.

File

themes/contrib/bootstrap/src/Plugin/UpdateManager.php, line 63
Contains \Drupal\bootstrap\Plugin\UpdateManager.

Class

UpdateManager
Manages discovery and instantiation of Bootstrap updates.

Namespace

Drupal\bootstrap\Plugin

Code

public function getLatestSchema() {
  $schema = \Drupal::CORE_MINIMUM_SCHEMA_VERSION;
  if ($schemas = $this
    ->getSchemas()) {
    $schema = max(max($schemas), $schema);
  }
  return $schema;
}