summaryrefslogtreecommitdiffstats
path: root/core/modules/contact/lib/Drupal/contact/CategoryForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/contact/lib/Drupal/contact/CategoryForm.php')
-rw-r--r--core/modules/contact/lib/Drupal/contact/CategoryForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/contact/lib/Drupal/contact/CategoryForm.php b/core/modules/contact/lib/Drupal/contact/CategoryForm.php
index a810b1e..14c893d 100644
--- a/core/modules/contact/lib/Drupal/contact/CategoryForm.php
+++ b/core/modules/contact/lib/Drupal/contact/CategoryForm.php
@@ -37,7 +37,7 @@ class CategoryForm extends EntityForm {
'#default_value' => $category->id(),
'#maxlength' => EntityTypeInterface::BUNDLE_MAX_LENGTH,
'#machine_name' => array(
- 'exists' => 'contact_category_load',
+ 'exists' => '\Drupal\contact\Entity\Category::load',
),
'#disabled' => !$category->isNew(),
);