You are here

function state_machine_load_class_file in State Machine 7.3

Same name and namespace in other branches
  1. 6 state_machine.module \state_machine_load_class_file()
  2. 7 state_machine.module \state_machine_load_class_file()
  3. 7.2 state_machine.module \state_machine_load_class_file()

Class file loader for base.inc.

1 call to state_machine_load_class_file()
state_machine.test in tests/state_machine.test

File

./state_machine.module, line 10
state_machine.module

Code

function state_machine_load_class_file() {
  if (!class_exists('StateMachine')) {
    require_once drupal_get_path('module', 'state_machine') . '/inc/base.inc';
  }
}