DrupalJournal
Published in

DrupalJournal

Create a custom block in drupal 8

Photo by ActionVance on Unsplash

Blocks are box of content in Drupal, It is like a component and we can place it on a web page by placing it in any region of theme. Drupal provides many inbuilt blocks and you can use view to create new blocks. I believe creating a block using a view is the best method. We can create a block with dynamic content using it. However, the Drupal core system provides an annotation to create a custom block.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Udit Rawat

Udit Rawat

46 Followers

Full Stack Developer, Passionate about innovations in coding and mobile applications. [https://drupaljournal.com/]