You are here

function theme_custom_breadcrumbs_help_identifiers in Custom Breadcrumbs 6

Same name and namespace in other branches
  1. 6.2 custom_breadcrumbs.module \theme_custom_breadcrumbs_help_identifiers()
  2. 7.2 custom_breadcrumbs.module \theme_custom_breadcrumbs_help_identifiers()
  3. 7 custom_breadcrumbs.module \theme_custom_breadcrumbs_help_identifiers()

Builds a table of identifiers and their behaviors

1 theme call to theme_custom_breadcrumbs_help_identifiers()
custom_breadcrumbs_form in ./custom_breadcrumbs.admin.inc
Display an edit form for a custom breadcrumb record.

File

./custom_breadcrumbs.module, line 190
Provide custom breadcrumbs for node-type pages.

Code

function theme_custom_breadcrumbs_help_identifiers() {
  $headers = array(
    t('Identifier'),
    t('Behaviour'),
  );
  $rows = array();

  // <none> identifier
  $row = array();
  $row[] = check_plain('<none>');
  $row[] = 'This will result in a plain text crumb. This identifier should not be used with the pipe (|) symbol.';
  $rows[] = $row;

  // <pathauto> identifier
  if (module_exists('pathauto')) {
    $row = array();
    $row[] = check_plain('<pathauto>');
    $row[] = 'Cleans the given path using your pathauto replacement rules.';
    $rows[] = $row;
  }
  return theme('table', $headers, $rows, array(
    'class' => 'description',
  ));
}