You are here

function social_core_update_10104 in Open Social 10.2.x

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_core/social_core.install \social_core_update_10104()

Set default settings to use entity access API as FALSE.

File

modules/social_features/social_core/social_core.install, line 1352
Install, update and uninstall functions for the social_core module.

Code

function social_core_update_10104() {
  $config = \Drupal::configFactory()
    ->getEditable('social_core.settings');
  $config
    ->set('use_entity_access_api', 0)
    ->save();
}