You are here

function lightning_media_update_8002 in Lightning Media 8.3

Same name and namespace in other branches
  1. 8.4 lightning_media.install \lightning_media_update_8002()
  2. 8 lightning_media.install \lightning_media_update_8002()
  3. 8.2 lightning_media.install \lightning_media_update_8002()

Activates Lightning Media sub-features.

File

./lightning_media.install, line 95
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',
  ]);
}