function social_activity_update_8807 in Open Social 10.3.x
Same name and namespace in other branches
- 10.0.x modules/social_features/social_activity/social_activity.install \social_activity_update_8807()
- 10.1.x modules/social_features/social_activity/social_activity.install \social_activity_update_8807()
- 10.2.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();
}