abstract function CourseOutlinePluginBase::render in Course 3.x
Same name and namespace in other branches
- 8.3 src/Plugin/CourseOutlinePluginBase.php \Drupal\course\Plugin\CourseOutlinePluginBase::render()
- 8.2 src/Plugin/CourseOutlinePluginBase.php \Drupal\course\Plugin\CourseOutlinePluginBase::render()
Render a course outline.
Parameters
\Drupal\course\Plugin\Course $course:
\Drupal\course\Plugin\AccountInterface $account:
Return value
array Render array.
2 methods override CourseOutlinePluginBase::render()
- CourseOutlineList::render in src/
Plugin/ course/ CourseOutline/ CourseOutlineList.php - Render a course outline.
- CourseOutlineNone::render in src/
Plugin/ course/ CourseOutline/ CourseOutlineNone.php - Render a course outline.
File
- src/
Plugin/ CourseOutlinePluginBase.php, line 23
Class
- CourseOutlinePluginBase
- Base class for Course object access plugins.
Namespace
Drupal\course\PluginCode
abstract function render(Course $course, AccountInterface $account);