You are here

function swiftmailer_update_8101 in Swift Mailer 8

Same name and namespace in other branches
  1. 8.2 swiftmailer.install \swiftmailer_update_8101()

Set default filter_format for HTML emails with no HTML markup.

File

./swiftmailer.install, line 39
Contains install and update functions for SwiftMailer.

Code

function swiftmailer_update_8101() {
  Drupal::configFactory()
    ->getEditable('swiftmailer.message')
    ->set('filter_format', 'plain_text')
    ->save();
}