1 filter.admin.inc filter_admin_set_message($format)

Sets a page message for changed filter tempstore values.

File

core/modules/filter/filter.admin.inc, line 1018
Admin page callbacks for the Filter module.

Code

function filter_admin_set_message($format) {
  if (!empty($format->updated)) {
    $message = t('This form has unsaved changes. Click "Save configuration" to make changes permanent or "Cancel" to discard changes.');
    backdrop_set_message($message, 'warning', FALSE);
  }
}