You are here

function external_link_popup_update_8102 in External Link Pop-up 8

Fill default width setting.

File

./external_link_popup.install, line 26
Contains external_link_popup installation and upgrade actions.

Code

function external_link_popup_update_8102() {
  \Drupal::configFactory()
    ->getEditable('external_link_popup.settings')
    ->set('width', [
    'value' => '85',
    'units' => '%',
  ])
    ->save();
}