CourseOutlineNone.php in Course 3.x
Same filename and directory in other branches
File
src/Plugin/course/CourseOutline/CourseOutlineNone.phpView source
<?php
namespace Drupal\course\Plugin\course\CourseOutline;
use Drupal\Core\Session\AccountInterface;
use Drupal\course\Entity\Course;
use Drupal\course\Plugin\CourseOutlinePluginBase;
/**
* @CourseOutline(
* id = "none",
* label = @Translation("None"),
* )
*/
class CourseOutlineNone extends CourseOutlinePluginBase {
public function render(Course $course, AccountInterface $account) {
return [];
}
}
Classes
Name | Description |
---|---|
CourseOutlineNone | Plugin annotation @CourseOutline( id = "none", label = @Translation("None"), ) |