Commit edfd5bbe authored by catch's avatar catch

Issue #2370115 by Upchuk, nafsinvk, jibran: Clicking 'Add to shortcuts' adds...

Issue #2370115 by Upchuk, nafsinvk, jibran: Clicking 'Add to shortcuts' adds shortcut multiple times
parent 94098ff4
......@@ -19,6 +19,16 @@ class ShortcutForm extends ContentEntityForm {
*/
protected $entity;
/**
* {@inheritdoc}
*/
public function form(array $form, FormStateInterface $form_state) {
$form = parent::form($form, $form_state);
$form['#attached']['library'][] = 'core/drupal.form';
return $form;
}
/**
* {@inheritdoc}
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment