0

How to restore core/menu or other programmatically created blocks if they have been deleted in D8?

I remember in D6 and D7 was no possibility to delete programmatically created blocks. But D8 allows to delete any block. If I delete custom block, I can create it again manually, but if I delete for example Page Title block, there is no way to return page title block to my site.

1
  • 2
    a) "if I delete for example Page Title block, there is no way to return page title block to my site" is not true, b) if the block was not created programmatically but was a config then you can simply import it again(you have to have the config module installed so you get the import/export UI).
    – user21641
    Jan 8, 2016 at 19:41

1 Answer 1

3

If you delete some code block in /admin/structure/block

You just need to go on Place block and add block again.

Place Block Screenshot

Also Page Title block you can delete and return like this.

In drupal 8 every think is block, menu even a page title.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.