function social_graphql_update_10101 in Open Social 10.3.x
Same name and namespace in other branches
- 10.2.x modules/custom/social_graphql/social_graphql.install \social_graphql_update_10101()
Opt-in to the new entity access API.
File
- modules/
custom/ social_graphql/ social_graphql.install, line 38 - Install, update and uninstall functions for the social_graphql module.
Code
function social_graphql_update_10101() {
$config = \Drupal::configFactory()
->getEditable('social_core.settings');
$config
->set('use_entity_access_api', 1)
->save();
}