1 dashboard.install dashboard_update_1000()

Set the URL for the Dashboard news feed.

File

core/modules/dashboard/dashboard.install, line 38
Install, update and uninstall functions for the Dashboard module.

Code

function dashboard_update_1000() {
  $config = config('dashboard.settings');
  if ($config->get('news_feed_url') === NULL) {
    $config->set('news_feed_url', 'https://backdropcms.org/api/notifications');
    $config->save();
  }
}