function CourseObjectFulfillment::grant in Course 3.x
Same name and namespace in other branches
- 8.3 src/Entity/CourseObjectFulfillment.php \Drupal\course\Entity\CourseObjectFulfillment::grant()
- 8.2 src/Entity/CourseObjectFulfillment.php \Drupal\course\Entity\CourseObjectFulfillment::grant()
Grant access to the external course object.
For example, adding a user to an access control list.
See also
CourseObjectNodeFulfillment::grant()
File
- src/
Entity/ CourseObjectFulfillment.php, line 216
Class
- CourseObjectFulfillment
- Parent class for course object fulfillment. Unlike Course objects, this is not abstract and can be used when the fulfillment requirements are simple.
Namespace
Drupal\course\EntityCode
function grant() {
}