function social_comment_update_8901 in Open Social 10.0.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_comment/social_comment.install \social_comment_update_8901()
- 8.8 modules/social_features/social_comment/social_comment.install \social_comment_update_8901()
- 10.3.x modules/social_features/social_comment/social_comment.install \social_comment_update_8901()
- 10.1.x modules/social_features/social_comment/social_comment.install \social_comment_update_8901()
- 10.2.x modules/social_features/social_comment/social_comment.install \social_comment_update_8901()
Ensure like_and_dislike widget is rendered correctly.
File
- modules/
social_features/ social_comment/ social_comment.install, line 141 - Install, update and uninstall functions for the social_comment module.
Code
function social_comment_update_8901() {
/** @var \Drupal\update_helper\Updater $updateHelper */
$updateHelper = \Drupal::service('update_helper.updater');
// Execute configuration update definitions with logging of success.
$updateHelper
->executeUpdate('social_comment', 'social_comment_update_8901');
// Output logged messages to related channel of update execution.
return $updateHelper
->logger()
->output();
}