public function CourseTypeListBuilder::render in Course 3.x
Same name and namespace in other branches
- 8.3 src/Config/Entity/CourseTypeListBuilder.php \Drupal\course\Config\Entity\CourseTypeListBuilder::render()
- 8.2 src/Config/Entity/CourseTypeListBuilder.php \Drupal\course\Config\Entity\CourseTypeListBuilder::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/ CourseTypeListBuilder.php, line 13
Class
- CourseTypeListBuilder
- Defines the list builder for profile types.
Namespace
Drupal\course\Config\EntityCode
public function render() {
$build = parent::render();
$build['table']['#caption'] = t('Course types can be used to differentiate types of courses. e.g. module base activities, tree activities, external courses, etc.');
return $build;
}