You are here

function easy_breadcrumb_update_8007 in Easy Breadcrumb 8

Same name and namespace in other branches
  1. 2.x easy_breadcrumb.install \easy_breadcrumb_update_8007()

Enable follow redirects.

File

./easy_breadcrumb.install, line 116
Add installation messages to help users get started and update.

Code

function easy_breadcrumb_update_8007() {
  $config = \Drupal::configFactory()
    ->getEditable(EasyBreadcrumbConstants::MODULE_SETTINGS);
  $config
    ->set(EasyBreadcrumbConstants::FOLLOW_REDIRECTS, TRUE);
  $config
    ->save(TRUE);
}