abstract public function CourseObjectNode::getNodeTypes in Course 8.2
Same name and namespace in other branches
- 8.3 modules/course_content/src/Course/Object/CourseObjectNode.php \Drupal\course_content\Course\Object\CourseObjectNode::getNodeTypes()
- 3.x modules/course_content/src/Course/Object/CourseObjectNode.php \Drupal\course_content\Course\Object\CourseObjectNode::getNodeTypes()
Return a list of valid node types.
Return value
array An array with node type machine names.
2 calls to CourseObjectNode::getNodeTypes()
- CourseObjectNode::optionsDefinition in modules/
course_content/ src/ Course/ Object/ CourseObjectNode.php - Define configuration elements and their defaults.
- CourseObjectNode::optionsForm in modules/
course_content/ src/ Course/ Object/ CourseObjectNode.php - Default options form for all course objects.
2 methods override CourseObjectNode::getNodeTypes()
- CourseObjectBook::getNodeTypes in modules/
course_book/ src/ Plugin/ course/ CourseObject/ CourseObjectBook.php - Return a list of valid node types.
- CourseObjectContent::getNodeTypes in modules/
course_content/ src/ Plugin/ course/ CourseObject/ CourseObjectContent.php - Return a list of valid node types.
File
- modules/
course_content/ src/ Course/ Object/ CourseObjectNode.php, line 77
Class
- CourseObjectNode
- A course object that uses a node as a base.
Namespace
Drupal\course_content\Course\ObjectCode
public abstract function getNodeTypes();