You are here

public function ModuleH5PAdminSettingsForm::disabledByDefault in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/Form/ModuleH5PAdminSettingsForm.php \Drupal\opigno_module\Form\ModuleH5PAdminSettingsForm::disabledByDefault()

Returns disabled H5P libraries by default.

Return value

array

4 calls to ModuleH5PAdminSettingsForm::disabledByDefault()
ModuleH5PAdminSettingsForm::buildForm in src/Form/ModuleH5PAdminSettingsForm.php
Form constructor.
ModuleH5PAdminSettingsForm::submitForm in src/Form/ModuleH5PAdminSettingsForm.php
Form submission handler.
opigno_module_install in ./opigno_module.install
Implements hook_install().
opigno_module_update_8037 in ./opigno_module.install
Set default not recommended H5P libraries.

File

src/Form/ModuleH5PAdminSettingsForm.php, line 35

Class

ModuleH5PAdminSettingsForm
Class LearningPathAdminSettingsForm.

Namespace

Drupal\opigno_module\Form

Code

public function disabledByDefault() {
  return [
    'H5P.Dialogcards',
    'H5P.MarkTheWords',
    'H5P.Audio',
    'H5P.Summary',
    'H5P.TwitterUserFeed',
    'H5P.AppearIn',
    'H5P.SingleChoiceSet',
    'H5P.Accordion',
    'H5P.Agamotto',
    'H5P.Collage',
    'H5P.ImageMultipleHotspotQuestion',
    'H5P.IFrameEmbed',
    'H5P.MemoryGame',
  ];
}