In this video, we will learn how to create a custom block in our Drupal 8 module.
If you liked this video, please also have a look at my new course about Drupal 8 module development here (with 50% discount):
https://goo.gl/LPyeDw
We will take a look at maybe the most popular use case for using the Drupal 8 Plugin system.
We will create a plugin class that will be basically our Block structure, where we are going to simply print a random quote. Also, we are going to activate the module and place it on our page.
The end code of the module you may find here:
https://github.com/drupal-up/drupalup...
More videos and stuff you may find on http://drupal-up.com
To support us please, don't forget to share, subscribe, like and comment on the video!