class FilterController (View source)

Controller routines for filter routes.

Methods

array
filterTips(FilterFormatInterface $filter_format = NULL)

Displays a page with long filter tips.

string
getLabel(FilterFormatInterface $filter_format)

Gets the label of a filter format.

Details

array filterTips(FilterFormatInterface $filter_format = NULL)

Displays a page with long filter tips.

Parameters

FilterFormatInterface $filter_format

(optional) A filter format, or NULL to show tips for all formats. Defaults to NULL.

Return Value

array

A renderable array.

See also

template_preprocess_filter_tips()

string getLabel(FilterFormatInterface $filter_format)

Gets the label of a filter format.

Parameters

FilterFormatInterface $filter_format

The filter format.

Return Value

string

The label of the filter format.