Custom Block Types in Drupal 8

custom block types drupal 8

Blocks have had a major overhaul in Drupal 8.

Blocks are now broken down into two modules. The Block module simply handles the placement of blocks into regions. The Custom Block module implements a new entity that allows you create block types and add fields to them.

In these two videos, taken from our upcoming Drupal 8 Site Building class, Rod introduces you to blocks in Drupal 8.

In this first video, you’ll see how to create a new block type, with a file field:

In this second video, you’ll see how to use block types, with a file field, and manage them via your custom block library.


  • Steve Burge

    Steve is the founder of OSTraining. Originally from the UK, he now lives in Sarasota in the USA. Steve's work straddles the line between teaching and web development.

0 0 votes
Blog Rating
Notify of
Newest Most Voted
Inline Feedbacks
View all comments

Thanks Steve, it’s an intersting tutorial


Thanks Bandiakama


Would love a tutorial on how to style custom block types.


Thanks Benedikt. Most of our tutorials come from member requests. If you’re an OSTraining member, we’d be happy to create a tutorial on this for you.


Thanks. Very useful, I will never found fields for block with out this!

Suresh CJ

Hi Steve,
Thanks for share nice article. May I know, is there possibility to create a custom block types via programmatically and I need to create n number of blocks using custom block type?

Would love your thoughts, please comment.x