PHP code to remove breadcrumbs in a Drupal page

Sometimes you want to hide the breadcrumbs in a single page an keep it in the others, either using a module or inside a node.

You can remove the breadcrumb from a Drupal page with this line of code:

This is how I do it:

drupal_set_breadcrumb(array());

Leave a Reply

Your email address will not be published. Required fields are marked *