You are here

function state_machine_load_class_file in State Machine 7

Same name and namespace in other branches
  1. 6 state_machine.module \state_machine_load_class_file()
  2. 7.3 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.

2 calls to state_machine_load_class_file()
state_flow.inc in modules/state_flow/plugins/state_flow.inc
state_machine.test in tests/state_machine.test

File

./state_machine.module, line 9
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';
  }
}