You are here

function social_like_update_8003 in Open Social 8.4

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_like/social_like.install \social_like_update_8003()
  2. 8 modules/social_features/social_like/social_like.install \social_like_update_8003()
  3. 8.2 modules/social_features/social_like/social_like.install \social_like_update_8003()
  4. 8.3 modules/social_features/social_like/social_like.install \social_like_update_8003()
  5. 8.5 modules/social_features/social_like/social_like.install \social_like_update_8003()
  6. 8.6 modules/social_features/social_like/social_like.install \social_like_update_8003()
  7. 8.7 modules/social_features/social_like/social_like.install \social_like_update_8003()
  8. 8.8 modules/social_features/social_like/social_like.install \social_like_update_8003()
  9. 10.3.x modules/social_features/social_like/social_like.install \social_like_update_8003()
  10. 10.0.x modules/social_features/social_like/social_like.install \social_like_update_8003()
  11. 10.1.x modules/social_features/social_like/social_like.install \social_like_update_8003()
  12. 10.2.x modules/social_features/social_like/social_like.install \social_like_update_8003()

Disable bootstrap modal.

File

modules/social_features/social_like/social_like.install, line 40
Install, update and uninstall functions for the social_like module.

Code

function social_like_update_8003() {

  // Bootstrap modal breaks jquery.dialog, so turn it off.
  $settings = \Drupal::configFactory()
    ->getEditable('socialbase.settings');
  $settings
    ->set('modal_enabled', 0)
    ->save();
}