You are here

function multichoice_install in Quiz 8.4

Same name and namespace in other branches
  1. 5.2 multichoice.install \multichoice_install()
  2. 6.6 question_types/multichoice/multichoice.install \multichoice_install()
  3. 6.2 multichoice.install \multichoice_install()
  4. 6.3 question_types/multichoice/multichoice.install \multichoice_install()
  5. 6.4 question_types/multichoice/multichoice.install \multichoice_install()
  6. 6.5 question_types/multichoice/multichoice.install \multichoice_install()
  7. 7.6 question_types/multichoice/multichoice.install \multichoice_install()
  8. 7 question_types/multichoice/multichoice.install \multichoice_install()
  9. 7.4 question_types/multichoice/multichoice.install \multichoice_install()
  10. 7.5 question_types/multichoice/multichoice.install \multichoice_install()

Implements hook_install().

File

question_types/multichoice/multichoice.install, line 15
Sponsored by: Norwegian Centre for Telemedicine Code: falcon

Code

function multichoice_install() {

  // TODO The drupal_(un)install_schema functions are called automatically in D7.
  // drupal_install_schema('multichoice')

  //cache_clear_all('autoload:', 'cache');
  \Drupal::config('multichoice.settings')
    ->set('node_options_multichoice', array(
    'status',
  ));
}