You are here

function datex_install in Datex 7.3

Same name and namespace in other branches
  1. 7 datex.install \datex_install()
  2. 7.2 datex.install \datex_install()

Implements hook_install().

File

./datex.install, line 35
Datex install file, for adding or removing datex variables.

Code

function datex_install() {
  _datex_fix_module_weights();
  _datex_fix_missing_datex_api_module();
  datex_uninstall();
  variable_set('datex_schema', [
    'default' => [
      'en' => 'persian',
      'fa' => 'persian',
    ],
  ]);

  // popup
  variable_set('datex_popup_js_minified', TRUE);
}