Commit 96d8f259 authored by alexpott's avatar alexpott

Issue #2550105 by Eli-T: TaxonomyController::getTitle() is not used, and can...

Issue #2550105 by Eli-T: TaxonomyController::getTitle() is not used, and can be mistaken for TaxonomyController::termTitle()
parent 5236486e
......@@ -17,19 +17,6 @@
*/
class TaxonomyController extends ControllerBase {
/**
* Title callback for term pages.
*
* @param \Drupal\taxonomy\TermInterface $term
* A taxonomy term entity.
*
* @return
* The term name to be used as the page title.
*/
public function getTitle(TermInterface $term) {
return $term->label();
}
/**
* Returns a form to add a new term to a vocabulary.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment