summaryrefslogtreecommitdiffstats
path: root/core/modules/shortcut/src/ShortcutSetForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/shortcut/src/ShortcutSetForm.php')
-rw-r--r--core/modules/shortcut/src/ShortcutSetForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/shortcut/src/ShortcutSetForm.php b/core/modules/shortcut/src/ShortcutSetForm.php
index 3dd6282..2b50ed2 100644
--- a/core/modules/shortcut/src/ShortcutSetForm.php
+++ b/core/modules/shortcut/src/ShortcutSetForm.php
@@ -31,7 +31,7 @@ class ShortcutSetForm extends EntityForm {
$form['id'] = array(
'#type' => 'machine_name',
'#machine_name' => array(
- 'exists' => 'shortcut_set_load',
+ 'exists' => '\Drupal\shortcut\Entity\ShortcutSet::load',
'source' => array('label'),
'replace_pattern' => '[^a-z0-9-]+',
'replace' => '-',