You are here

function swiftmailer_update_8101 in Swift Mailer 8.2

Same name and namespace in other branches
  1. 8 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();
}