function activity_basics_update_8101 in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/activity_basics/activity_basics.install \activity_basics_update_8101()
- 8.2 modules/custom/activity_basics/activity_basics.install \activity_basics_update_8101()
- 8.3 modules/custom/activity_basics/activity_basics.install \activity_basics_update_8101()
- 8.4 modules/custom/activity_basics/activity_basics.install \activity_basics_update_8101()
- 8.5 modules/custom/activity_basics/activity_basics.install \activity_basics_update_8101()
- 8.6 modules/custom/activity_basics/activity_basics.install \activity_basics_update_8101()
- 8.7 modules/custom/activity_basics/activity_basics.install \activity_basics_update_8101()
- 8.8 modules/custom/activity_basics/activity_basics.install \activity_basics_update_8101()
- 10.3.x modules/custom/activity_basics/activity_basics.install \activity_basics_update_8101()
- 10.0.x modules/custom/activity_basics/activity_basics.install \activity_basics_update_8101()
- 10.1.x modules/custom/activity_basics/activity_basics.install \activity_basics_update_8101()
- 10.2.x modules/custom/activity_basics/activity_basics.install \activity_basics_update_8101()
Install token module.
File
- modules/
custom/ activity_basics/ activity_basics.install, line 11 - Install, update and uninstall functions for the activity_basics module.
Code
function activity_basics_update_8101(&$sandbox) {
$modules = [
'token',
];
\Drupal::service('module_installer')
->install($modules);
}