custom block

Programmatically creating a custom block

Drupal 8. Provided our module is called customblock add the file CustomblockBlock.php to src/Plugin/Block. Inside it put something along the lines of:
Subscribe to RSS - custom block