class TaxonomyDisplayBreadcrumbDisplayHandlerIgnore in Taxonomy display 7
Add a display handler to not set any breadcrumb.
Hierarchy
- class \TaxonomyDisplayHandlerForm
Expanded class hierarchy of TaxonomyDisplayBreadcrumbDisplayHandlerIgnore
File
- handlers/
breadcrumb/ ignore.inc, line 6
View source
class TaxonomyDisplayBreadcrumbDisplayHandlerIgnore extends TaxonomyDisplayBreadcrumbDisplayHandlerCore {
/**
* Do not display anything to the user, we return an empty string.
*
* @see TaxonomyDisplayBreadcrumbDisplayHandler::buildBreacrumb()
*/
public function buildBreadcrumb($term) {
}
/**
* Set a description when the user selects this option.
*
* @see TaxonomyDisplayHandlerForm::formFieldset()
*/
public function formFieldset(&$form, &$values, $options = NULL) {
$form['#description'] = t('A breadcrumb will not be set, allowing other modules to do so.');
}
/**
* Do not want anything stored, return void.
*
* @see TaxonomyDisplayHandlerForm::formSubmit()
*/
public function formSubmit($form, &$values) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TaxonomyDisplayBreadcrumbDisplayHandlerIgnore:: |
public | function |
Do not display anything to the user, we return an empty string. Overrides TaxonomyDisplayBreadcrumbDisplayHandlerCore:: |
|
TaxonomyDisplayBreadcrumbDisplayHandlerIgnore:: |
public | function |
Set a description when the user selects this option. Overrides TaxonomyDisplayBreadcrumbDisplayHandlerCore:: |
|
TaxonomyDisplayBreadcrumbDisplayHandlerIgnore:: |
public | function |
Do not want anything stored, return void. Overrides TaxonomyDisplayBreadcrumbDisplayHandlerCore:: |
|
TaxonomyDisplayHandlerForm:: |
public | function | Perform validation on the custom formFieldset when the user submits. | 1 |