public function CourseOutlineNone::render in Course 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/course/CourseOutline/CourseOutlineNone.php \Drupal\course\Plugin\course\CourseOutline\CourseOutlineNone::render()
- 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\CourseOutlineCode
public function render(Course $course, AccountInterface $account) : array {
}