public function TFTController::listDirectory in Taxonomy File Tree 8
Same name and namespace in other branches
- 3.x src/Controller/TFTController.php \Drupal\tft\Controller\TFTController::listDirectory()
Returns directory list.
Parameters
\Drupal\taxonomy\TermInterface|null $taxonomy_term: Term.
Return value
array Render array.
1 string reference to 'TFTController::listDirectory'
File
- src/
Controller/ TFTController.php, line 573
Class
- TFTController
- Class TFTController.
Namespace
Drupal\tft\ControllerCode
public function listDirectory(TermInterface $taxonomy_term = NULL) {
$tid = isset($taxonomy_term) ? $taxonomy_term
->id() : 'all';
return $this
->tft($tid);
}