salesforce_logger.install in Salesforce Suite 8.4
Same filename and directory in other branches
Logger install file.
File
modules/salesforce_logger/salesforce_logger.installView 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
Name | Description |
---|---|
salesforce_logger_update_8001 | Install Salesforce Logger default log level. |