You are here

function mailgun_update_8001 in Mailgun 8

Implements hook_update_N().

Rename Mailgun config object name.

File

./mailgun.install, line 83
Contains install/uninstall stuff.

Code

function mailgun_update_8001() {
  \Drupal::configFactory()
    ->rename('mailgun.adminsettings', MailgunHandlerInterface::CONFIG_NAME);
  return t('Mailgun config object was renamed. Please visit configuration page to make sure that your configuration options are correct.');
}