public function NodeOrderListController::listing in Node Order 8
Provides the listing page for nodes in taxonomy.
Parameters
\Drupal\taxonomy\Entity\Term $taxonomy_term: Taxonomy term ID.
Return value
array A render array.
1 string reference to 'NodeOrderListController::listing'
File
- src/
Controller/ NodeOrderListController.php, line 57
Class
- NodeOrderListController
- Defines a generic controller to list entities.
Namespace
Drupal\nodeorder\ControllerCode
public function listing(Term $taxonomy_term) {
$entity_type = $this->nodeStorage
->getEntityType();
return NodeOrderListBuilder::createInstance($this->container, $entity_type, $taxonomy_term)
->render();
}