summaryrefslogtreecommitdiffstats
path: root/core/modules/block/lib/Drupal/block/BlockForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/block/lib/Drupal/block/BlockForm.php')
-rw-r--r--core/modules/block/lib/Drupal/block/BlockForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/block/lib/Drupal/block/BlockForm.php b/core/modules/block/lib/Drupal/block/BlockForm.php
index d614dce..1249dab 100644
--- a/core/modules/block/lib/Drupal/block/BlockForm.php
+++ b/core/modules/block/lib/Drupal/block/BlockForm.php
@@ -86,7 +86,7 @@ class BlockForm extends EntityForm {
'#description' => $this->t('A unique name for this block instance. Must be alpha-numeric and underscore separated.'),
'#default_value' => !$entity->isNew() ? $entity->id() : $this->getUniqueMachineName($entity),
'#machine_name' => array(
- 'exists' => 'block_load',
+ 'exists' => '\Drupal\block\Entity\Block::load',
'replace_pattern' => '[^a-z0-9_.]+',
'source' => array('settings', 'label'),
),