You are here

function varbase_core_optional_update_8706 in Varbase Core 8.7

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

Use blurred image loading effect for Lazy-loaded images.

File

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

Code

function varbase_core_optional_update_8706($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_8706');

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