function shrinktheweb_install in ShrinkTheWeb 8
Implements hook_install
File
- ./
shrinktheweb.install, line 165
Code
function shrinktheweb_install() {
$config = \Drupal::config('shrinktheweb.settings');
$directory = file_default_scheme() . '://' . $config
->get('shrinktheweb_thumbs_folder');
file_prepare_directory($directory, FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS);
\Drupal\shrinktheweb\Controller\ShrinkTheWebSettingsPageController::shrinktheweb_check_scheme_options();
// shrinktheweb_check_scheme_options();
}