function n1ed_install in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
Same name and namespace in other branches
- 7 n1ed.install \n1ed_install()
Called when installed: attaches N1ED to appropriate formats.
File
- ./
n1ed.install, line 154 - Installation hooks for N1ED module.
Code
function n1ed_install() {
n1ed_create_or_move_flmngr_dirs();
$config = \Drupal::service('config.factory')
->getEditable('n1ed.settings');
$config
->set('useFlmngrOnFileFields', true);
$config
->set('selfHosted', false);
$config
->save(true);
n1ed_update_text_formats(TRUE);
}