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(); }
Please login to continue.