FilterController::getLabel

public FilterController::getLabel(FilterFormatInterface $filter_format)

Gets the label of a filter format.

Parameters

\Drupal\filter\FilterFormatInterface $filter_format: The filter format.

Return value

string The label of the filter format.

File

core/modules/filter/src/Controller/FilterController.php, line 45

Class

FilterController
Controller routines for filter routes.

Namespace

Drupal\filter\Controller

Code

public function getLabel(FilterFormatInterface $filter_format) {
  return $filter_format->label();
}
doc_Drupal
2016-10-29 09:14:23
Comments
Leave a Comment

Please login to continue.