_update_no_data()
Returns a warning message when there is no data about available updates.
function _update_no_data() { $destination = \Drupal::destination()->getAsArray(); return t('No update information available. <a href=":run_cron">Run cron</a> or <a href=":check_manually">check manually</a>.', array( ':run_cron' => \Drupal::url('system.run_cron', [], ['query' => $destination]), ':check_manually' => \Drupal::url('update.manual_status', [], ['query' => $destination]), )); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!update!update.module/function/_update_no_data/8.1.x