function lightning_media_update_8002 in Lightning Media 8
Same name and namespace in other branches
- 8.4 lightning_media.install \lightning_media_update_8002()
- 8.2 lightning_media.install \lightning_media_update_8002()
- 8.3 lightning_media.install \lightning_media_update_8002()
Activates Lightning Media sub-features.
File
- ./
lightning_media.install, line 60 - Contains install and update routines for Lightning Media.
Code
function lightning_media_update_8002() {
\Drupal::service('module_installer')
->install([
'features',
'lightning_media_image',
'lightning_media_instagram',
'lightning_media_twitter',
'lightning_media_video',
]);
}