You are here

function lightning_core_update_8008 in Lightning Core 8.5

Same name and namespace in other branches
  1. 8.3 lightning_core.install \lightning_core_update_8008()
  2. 8.4 lightning_core.install \lightning_core_update_8008()

Creates the Long (12-hour) date format if it does not already exist.

File

./lightning_core.install, line 153
Contains install and update routines for Lightning.

Code

function lightning_core_update_8008() {
  Config::forModule('lightning_core')
    ->getEntity('date_format', 'long_12h')
    ->save();
}