You are here

function language_selection_page_install in Language Selection Page 7

Same name and namespace in other branches
  1. 7.2 language_selection_page.install \language_selection_page_install()

Implements hook_install().

Return value

void

File

./language_selection_page.install, line 67
Module installation code

Code

function language_selection_page_install() {
  $default_blacklist_paths = array(
    'admin',
    'user',
    'admin/*',
    'admin*',
    'node/add/*',
    'node/*/edit',
  );
  variable_set('language_selection_page_blacklisted_paths', implode(PHP_EOL, $default_blacklist_paths));
}