Drupal 8  8.0.2
TaxonomyController Class Reference
Inheritance diagram for TaxonomyController:

Public Member Functions

 addForm (VocabularyInterface $taxonomy_vocabulary)
 
 vocabularyTitle (VocabularyInterface $taxonomy_vocabulary)
 
 termTitle (TermInterface $taxonomy_term)
 

Detailed Description

Provides route responses for taxonomy.module.

Member Function Documentation

addForm ( VocabularyInterface  $taxonomy_vocabulary)

Returns a form to add a new term to a vocabulary.

Parameters
\Drupal\taxonomy\VocabularyInterface$taxonomy_vocabularyThe vocabulary this term will be added to.
Returns
array The taxonomy term add form.

References Drupal\entityManager(), and EntityInterface\id().

Here is the call graph for this function:

termTitle ( TermInterface  $taxonomy_term)

Route title callback.

Parameters
\Drupal\taxonomy\TermInterface$taxonomy_termThe taxonomy term.
Returns
array The term label as a render array.

References Xss\getHtmlTagList(), and TermInterface\getName().

Here is the call graph for this function:

vocabularyTitle ( VocabularyInterface  $taxonomy_vocabulary)

Route title callback.

Parameters
\Drupal\taxonomy\VocabularyInterface$taxonomy_vocabularyThe vocabulary.
Returns
string The vocabulary label as a render array.

References Xss\getHtmlTagList(), and EntityInterface\label().

Here is the call graph for this function:


The documentation for this class was generated from the following file: