You are here

function social_activity_update_8807 in Open Social 10.2.x

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_activity/social_activity.install \social_activity_update_8807()
  2. 10.0.x modules/social_features/social_activity/social_activity.install \social_activity_update_8807()
  3. 10.1.x modules/social_features/social_activity/social_activity.install \social_activity_update_8807()

Add filter for notifications.

File

modules/social_features/social_activity/social_activity.install, line 253
The Social activity install.

Code

function social_activity_update_8807() {

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

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

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