Drupal Auto Blocks

/ Published in: PHP
Save to your folder(s)

This is a hook_block_info and hook_block_view template that will allow you to quickly create blocks in a Drupal module. When you use this all you have to do is create a directory "blocks" in the module and then create block.block_name.php in the directory. Inside the php you need to define a function block_block_name_content().

URL: http://www.itsgotto.be/cv.php

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.