This project is not covered by Drupal’s security advisory policy.

About

This is a simple module that adds schema attributes to breadcrumbs in Drupal 7.

I made this module for use on my Drupal 7 sites and decided to release it to bring this functionality to Drupal 7. I am aware that Drupal 8 uses Schema in core therefore i wont be releasing this module for Drupal 8.

Installation

To install this module you install it as you would any other module then you must edit your template.php file.

Clone the module from git using:

git clone --branch 7.x-1.x git@git.drupal.org:project/schema_breadcrumb.git

In the theme you are using edit the template.php file and edit or add the theme_breadcrumb function as so:

function theme_breadcrumb($variables) {

  $breadcrumb = $variables['breadcrumb'];

  return theme('schema_breadcrumb', array(
      'attributes' => array(
        'class' => array('breadcrumb'),
      ),
      'items' => $breadcrumb,
      'type' => 'ol',
    )
  );

}
Supporting organizations: 

Project information

Releases