You are here

abstract function CourseOutlinePluginBase::render in Course 8.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/CourseOutlinePluginBase.php \Drupal\course\Plugin\CourseOutlinePluginBase::render()
  2. 3.x 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\Plugin

Code

abstract function render(Course $course, AccountInterface $account);