You are here

function social_core_update_8903 in Open Social 10.2.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_core/social_core.install \social_core_update_8903()
  2. 10.3.x modules/social_features/social_core/social_core.install \social_core_update_8903()
  3. 10.0.x modules/social_features/social_core/social_core.install \social_core_update_8903()
  4. 10.1.x modules/social_features/social_core/social_core.install \social_core_update_8903()

Install the redirect module to prevent index.php from being accessed.

File

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

Code

function social_core_update_8903() {
  \Drupal::service('module_installer')
    ->install([
    'redirect',
  ]);
}