You are here

public function CourseOutlineNone::render in Course 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/course/CourseOutline/CourseOutlineNone.php \Drupal\course\Plugin\course\CourseOutline\CourseOutlineNone::render()
  2. 3.x src/Plugin/course/CourseOutline/CourseOutlineNone.php \Drupal\course\Plugin\course\CourseOutline\CourseOutlineNone::render()

Render a course outline.

Parameters

\Drupal\course\Plugin\Course $course:

\Drupal\course\Plugin\AccountInterface $account:

Return value

array Render array.

Overrides CourseOutlinePluginBase::render

File

src/Plugin/course/CourseOutline/CourseOutlineNone.php, line 17

Class

CourseOutlineNone
Plugin annotation @CourseOutline( id = "none", label = @Translation("None"), )

Namespace

Drupal\course\Plugin\course\CourseOutline

Code

public function render(Course $course, AccountInterface $account) : array {
}