/**
* Builds the shortcut set customize form.
+ *
+ * @internal
*/
class SetCustomize extends EntityForm {
$shortcut->setWeight($weight);
$shortcut->save();
}
- drupal_set_message(t('The shortcut set has been updated.'));
+ $this->messenger()->addStatus($this->t('The shortcut set has been updated.'));
}
}