You are here

function bibcite_update_8001 in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x bibcite.install \bibcite_update_8001()

Delete "links" from bibcite.settings configuration.

File

./bibcite.install, line 32
Module installation hooks implementation.

Code

function bibcite_update_8001() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('bibcite.settings');
  $config
    ->clear('links');
  $config
    ->save(TRUE);
}