You are here

function jsonlog_install in JSONlog 3.x

Same name and namespace in other branches
  1. 8.2 jsonlog.install \jsonlog_install()
  2. 8 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);
}