You are here

function varbase_core_optional_update_8602 in Varbase Core 8.6

Same name and namespace in other branches
  1. 8.8 varbase_core.install \varbase_core_optional_update_8602()
  2. 8.7 varbase_core.install \varbase_core_optional_update_8602()
  3. 9.0.x varbase_core.install \varbase_core_optional_update_8602()

Enable Blazy loading for most media sizes (Image, Video, Remote Video).

File

./varbase_core.install, line 99
Install, update and uninstall functions for the Varbase core module.

Code

function varbase_core_optional_update_8602($force = FALSE) {

  /** @var \Drupal\update_helper\Updater $updateHelper */
  $updateHelper = \Drupal::service('update_helper.updater');

  // Execute configuration update definitions with logging of success.
  $updateHelper
    ->executeUpdate('varbase_core', 'varbase_core_optional_update_8602', $force);

  // Output logged messages to related channel of update execution.
  return $updateHelper
    ->logger()
    ->output();
}