public function QuizQuestionTypeListBuilder::render in Quiz 6.x
Same name and namespace in other branches
- 8.6 src/Config/Entity/QuizQuestionTypeListBuilder.php \Drupal\quiz\Config\Entity\QuizQuestionTypeListBuilder::render()
- 8.5 src/Config/Entity/QuizQuestionTypeListBuilder.php \Drupal\quiz\Config\Entity\QuizQuestionTypeListBuilder::render()
Builds the entity listing as renderable array for table.html.twig.
@todo Add a link to add a new item to the #empty text.
Overrides EntityListBuilder::render
File
- src/
Config/ Entity/ QuizQuestionTypeListBuilder.php, line 13
Class
- QuizQuestionTypeListBuilder
- Defines the list builder for quiz question types.
Namespace
Drupal\quiz\Config\EntityCode
public function render() {
$build = parent::render();
$build['table']['#caption'] = t('Question types.');
return $build;
}