function state_machine_load_class_file in State Machine 6
Same name and namespace in other branches
- 7.3 state_machine.module \state_machine_load_class_file()
- 7 state_machine.module \state_machine_load_class_file()
- 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 6
Code
function state_machine_load_class_file() {
if (!class_exists('StateMachine')) {
require_once drupal_get_path('module', 'state_machine') . '/inc/base.inc';
}
}