public function CourseObjectAccessPluginBase::getOptions in Course 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/CourseObjectAccessPluginBase.php \Drupal\course\Plugin\CourseObjectAccessPluginBase::getOptions()
- 3.x src/Plugin/CourseObjectAccessPluginBase.php \Drupal\course\Plugin\CourseObjectAccessPluginBase::getOptions()
5 calls to CourseObjectAccessPluginBase::getOptions()
- CourseObjectAccessConditional::optionsForm in src/
Plugin/ course/ CourseObjectAccess/ CourseObjectAccessConditional.php - CourseObjectAccessGrade::optionsForm in src/
Plugin/ course/ CourseObjectAccess/ CourseObjectAccessGrade.php - CourseObjectAccessGrade::take in src/
Plugin/ course/ CourseObjectAccess/ CourseObjectAccessGrade.php - CourseObjectAccessPluginBase::getOption in src/
Plugin/ CourseObjectAccessPluginBase.php - CourseObjectAccessTiming::optionsForm in src/
Plugin/ course/ CourseObjectAccess/ CourseObjectAccessTiming.php
File
- src/
Plugin/ CourseObjectAccessPluginBase.php, line 46
Class
- CourseObjectAccessPluginBase
- Base class for Course object access plugins.
Namespace
Drupal\course\PluginCode
public function getOptions() {
$plugins = $this
->getCourseObject()
->getOption('plugins');
if (isset($plugins['access'][$this->pluginId])) {
return $plugins['access'][$this->pluginId];
}
else {
return $this
->optionsDefinition();
}
}