You are here

salesforce_logger.install in Salesforce Suite 8.4

Logger install file.

File

modules/salesforce_logger/salesforce_logger.install
View source
<?php

/**
 * @file
 * Logger install file.
 */
use Drupal\salesforce\Event\SalesforceEvents;

/**
 * Install Salesforce Logger default log level.
 */
function salesforce_logger_update_8001() {
  $settings = \Drupal::configFactory()
    ->getEditable('salesforce_logger.settings');
  $settings
    ->set('log_level', SalesforceEvents::NOTICE);
  $settings
    ->save();
}

Functions

Namesort descending Description
salesforce_logger_update_8001 Install Salesforce Logger default log level.