public function QuizResultAnswerTypeListBuilder::render in Quiz 8.5
Same name and namespace in other branches
- 8.6 src/Config/Entity/QuizResultAnswerTypeListBuilder.php \Drupal\quiz\Config\Entity\QuizResultAnswerTypeListBuilder::render()
- 6.x src/Config/Entity/QuizResultAnswerTypeListBuilder.php \Drupal\quiz\Config\Entity\QuizResultAnswerTypeListBuilder::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/ QuizResultAnswerTypeListBuilder.php, line 13
Class
- QuizResultAnswerTypeListBuilder
- Defines the list builder for quiz result answer types.
Namespace
Drupal\quiz\Config\EntityCode
public function render() {
$build = parent::render();
$build['table']['#caption'] = t('Answer types.');
return $build;
}