You are here

function panopoly_wysiwyg_update_8201 in Panopoly WYSIWYG 8.2

Enable the modules necessary for the teaser break button.

File

./panopoly_wysiwyg.install, line 35
Install hooks for Panopoly WYSIWYG.

Code

function panopoly_wysiwyg_update_8201() {

  /** @var \Drupal\Core\Extension\ModuleInstallerInterface $module_installer */
  $module_installer = \Drupal::service('module_installer');
  $module_installer
    ->install([
    'ckeditor_drupalbreaks',
    'fakeobjects',
  ]);
}