self.machine.config_processor

class mpf.core.config_processor.ConfigProcessor(machine)

Bases: object

Config processor which loads the config.

Accessing the config_processor in code

There is only one instance of the config_processor in MPF, and it's accessible via self.machine.config_processor.

Methods & Attributes

The config_processor has the following methods & attributes available. Note that methods & attributes inherited from base classes are not included here.

static load_config_file(filename, config_type, verify_version=True, halt_on_error=True, ignore_unknown_sections=False)

Load a config file.