summaryrefslogtreecommitdiffstats
path: root/core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockTypeForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockTypeForm.php')
-rw-r--r--core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockTypeForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockTypeForm.php b/core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockTypeForm.php
index c790efa..61567f8 100644
--- a/core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockTypeForm.php
+++ b/core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockTypeForm.php
@@ -35,7 +35,7 @@ class CustomBlockTypeForm extends EntityForm {
'#type' => 'machine_name',
'#default_value' => $block_type->id(),
'#machine_name' => array(
- 'exists' => 'custom_block_type_load',
+ 'exists' => '\Drupal\custom_block\Entity\CustomBlockType::load',
),
'#maxlength' => EntityTypeInterface::BUNDLE_MAX_LENGTH,
'#disabled' => !$block_type->isNew(),