diff --git a/core/modules/block/src/BlockListBuilder.php b/core/modules/block/src/BlockListBuilder.php index ac8872d..907889c 100644 --- a/core/modules/block/src/BlockListBuilder.php +++ b/core/modules/block/src/BlockListBuilder.php @@ -13,7 +13,6 @@ use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Entity\EntityStorageInterface; use Drupal\Core\Entity\EntityTypeInterface; -use Drupal\Core\Operations\OperationsProviderInterface; use Drupal\Core\Form\FormBuilderInterface; use Drupal\Core\Form\FormInterface; use Drupal\Core\Form\FormStateInterface; @@ -347,10 +346,6 @@ public function getDefaultOperations(EntityInterface $entity) { $operations['edit']['title'] = $this->t('Configure'); } - if ($entity instanceof OperationsProviderInterface) { - $operations += $entity->getOperationLinks(); - } - return $operations; }