You are here

static function Helpers::calendar_systems_profiles_update in Calendar Systems 8.2

2 calls to Helpers::calendar_systems_profiles_update()
AdminActionConfirm::submitForm in src/Form/AdminActionConfirm.php
Form submission handler.
AdminSettings::submitForm in src/Form/AdminSettings.php
Form submission handler.

File

src/Helpers.php, line 73
Contains \Drupal\calendar_systems.

Class

Helpers

Namespace

Drupal\calendar_systems

Code

static function calendar_systems_profiles_update($profiles) {
  \Drupal::configFactory()
    ->getEditable('calendar_systems.settings')
    ->set('profiles', $profiles)
    ->save();
}