You are here

function varbase_core_optional_update_8601 in Varbase Core 8.6

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

Enhance the usability of admin views (Content, Media, and People).

File

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

Code

function varbase_core_optional_update_8601($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_8601', $force);

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