Core::initDataTypes PHP Method

initDataTypes() private static method

Called by Core::init(), this initializes Core::$dataTypePlugins. Note that this will contain ALL installed plugins, not those that are selected by a particular user. In 3.2.2 that feature was added, so use Account::getDataTypePlugins() instead.
private static initDataTypes ( $runtimeContext )
    private static function initDataTypes($runtimeContext)
    {
        if (!Core::$settingsFileExists) {
            return;
        }
        // parse the Data Types folder and identify those plugins that are available
        self::$dataTypePlugins = DataTypePluginHelper::getDataTypePlugins($runtimeContext);
    }