You are here

public function Update240::enableAudioFileMedia in Lightning Media 8.3

Same name and namespace in other branches
  1. 8.4 src/Update/Update240.php \Drupal\lightning_media\Update\Update240::enableAudioFileMedia()
  2. 8.2 src/Update/Update240.php \Drupal\lightning_media\Update\Update240::enableAudioFileMedia()

Enables Audio file media.

@update

@ask Do you want to install "Audio file" media?

File

src/Update/Update240.php, line 87

Class

Update240
Contains optional updates targeting Lightning Media 2.4.0.

Namespace

Drupal\lightning_media\Update

Code

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