1

enter image description here
Custom Block Create button does not have in Block layout.
Please see upper image.

enter image description here
I create testing block in drupal 8. But "Create Custom Block" button does not show in Block Layout. It only shows in Custom Block library.
When I create the custom block, it does not appear in custom module list.
I'm a new in drupal 8. I used to create custom block in drupal 7 but it is easy. Please help me.

May Phyu
  • 895
  • 3
  • 23
  • 47
  • what's below demonstrate block region ? u need to have defined region so u can place your blocks in it – Matoeil Oct 24 '16 at 13:08
  • I create "TestBlock" . After that I find that block in block layout but I did not see that block. :( – May Phyu Oct 25 '16 at 07:46

2 Answers2

3

Once your block is created (I can see you created 2 bocks in your example). You need to go to "Block layout" and click "Place block" in the region you want:

enter image description here

A popup will appear. Use the filter to easily find you block and click "Place block" then click "Save block" and you block will appear in the region you chose.

enter image description here

progzy
  • 607
  • 1
  • 4
  • 5
0

You are getting confused between block plugin and block entity. The entity you are creating using UI by going to the custom block library is a block entity. The value for this is saved on database and not in code base. Where as in order to create a custom block plugin, you need to write code in your custom module inside src/Plugin/Block folder.

After that you can place the block (both entity and plugin) using block layout's place block button at your desire place. Place Block Button

Pradosh
  • 69
  • 7