You are here

function CourseObjectUbercart::getNodeTypes in Course 6

Same name and namespace in other branches
  1. 8.3 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::getNodeTypes()
  2. 8.2 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::getNodeTypes()
  3. 7.2 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::getNodeTypes()
  4. 7 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::getNodeTypes()

Return a list of valid node types.

Return value

array An array keyed by machine name of a node type. return array( 'my_event' => 'My event content type', );

Overrides CourseObjectNode::getNodeTypes

File

modules/course_uc/course_uc.classes.inc, line 60

Class

CourseObjectUbercart

Code

function getNodeTypes() {
  return uc_product_types();
}