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