You are here

function theme_custom_breadcrumbs_help_identifiers in Custom Breadcrumbs 7

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

Builds a table of identifiers and their behaviors

2 theme calls to theme_custom_breadcrumbs_help_identifiers()
custom_breadcrumbs_form in ./custom_breadcrumbs.admin.inc
Displays an edit form for a custom breadcrumb record.
custom_breadcrumbs_help in ./custom_breadcrumbs.module
Implements hook_help().

File

./custom_breadcrumbs.module, line 219
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', array(
    'header' => $headers,
    'rows' => $rows,
  ));
}