diff --git a/core/modules/block/custom_block/lib/Drupal/custom_block/Controller/CustomBlockController.php b/core/modules/block/custom_block/lib/Drupal/custom_block/Controller/CustomBlockController.php index 4264100..70ec8f5 100644 --- a/core/modules/block/custom_block/lib/Drupal/custom_block/Controller/CustomBlockController.php +++ b/core/modules/block/custom_block/lib/Drupal/custom_block/Controller/CustomBlockController.php @@ -82,7 +82,7 @@ public function add() { /** * Presents the custom block creation form. * - * @param Drupal\custom_block\Plugin\Core\Entity\CustomBlockType $custom_block_type + * @param \Drupal\custom_block\Plugin\Core\Entity\CustomBlockType $custom_block_type * The custom block type to add. * * @return array @@ -96,7 +96,6 @@ public function addForm(CustomBlockType $custom_block_type) { $block = $this->entityManager->getStorageController('custom_block')->create(array( 'type' => $custom_block_type->id() )); - $options = array(); if (($theme = $this->request->attributes->get('theme')) && in_array($theme, array_keys(list_themes()))) { // We have navigated to this page from the block library and will keep track // of the theme for redirecting the user to the configuration page for the