public function FilterController::getLabel in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/filter/src/Controller/FilterController.php \Drupal\filter\Controller\FilterController::getLabel()
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.
1 string reference to 'FilterController::getLabel'
- filter.routing.yml in core/
modules/ filter/ filter.routing.yml - core/modules/filter/filter.routing.yml
File
- core/
modules/ filter/ src/ Controller/ FilterController.php, line 50 - Contains \Drupal\filter\Controller\FilterController.
Class
- FilterController
- Controller routines for filter routes.
Namespace
Drupal\filter\ControllerCode
public function getLabel(FilterFormatInterface $filter_format) {
return $filter_format
->label();
}