You are here

public function Update310::enableMediaSlideshow in Lightning Media 8.4

Same name and namespace in other branches
  1. 8.3 src/Update/Update310.php \Drupal\lightning_media\Update\Update310::enableMediaSlideshow()

Enables the Media Slideshow sub-component.

@update

@ask Do you want to add support for creating slideshows and carousels of media assets?

File

src/Update/Update310.php, line 48

Class

Update310
Contains optional updates targeting Lightning Media 3.1.0.

Namespace

Drupal\lightning_media\Update

Code

public function enableMediaSlideshow() {
  $this->moduleInstaller
    ->install([
    'lightning_media_slideshow',
  ]);
}