You are here

function varbase_core_optional_update_8606 in Varbase Core 8.7

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

Enable colored length indicator for Varbase Hero Slider.

File

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

Code

function varbase_core_optional_update_8606($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_8606');

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