function social_like_update_10301 in Open Social 10.3.x
Disable the setting "Hide vote widget instead of disabling it".
File
- modules/
social_features/ social_like/ social_like.install, line 142 - Install, update and uninstall functions for the social_like module.
Code
function social_like_update_10301() {
\Drupal::configFactory()
->getEditable('like_and_dislike.settings')
->set('hide_vote_widget', FALSE)
->save();
}