You are here

function jsonlog_install in JSONlog 8

Same name and namespace in other branches
  1. 8.2 jsonlog.install \jsonlog_install()
  2. 3.x jsonlog.install \jsonlog_install()

Implements hook_install().

File

./jsonlog.install, line 11
Install, update and uninstall functions for the jsonlog module.

Code

function jsonlog_install() {
  \Drupal::configFactory()
    ->getEditable('jsonlog.settings')
    ->save(true);
}