diff core/modules/block_content/src/Controller/BlockContentController.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents c2387f117808
children
line wrap: on
line diff
--- a/core/modules/block_content/src/Controller/BlockContentController.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/core/modules/block_content/src/Controller/BlockContentController.php	Thu Feb 28 13:21:36 2019 +0000
@@ -103,7 +103,7 @@
    */
   public function addForm(BlockContentTypeInterface $block_content_type, Request $request) {
     $block = $this->blockContentStorage->create([
-      'type' => $block_content_type->id()
+      'type' => $block_content_type->id(),
     ]);
     if (($theme = $request->query->get('theme')) && in_array($theme, array_keys($this->themeHandler->listInfo()))) {
       // We have navigated to this page from the block library and will keep track