protected function get_config($name, $default = null) {
        $value = get_config($this->component, $name);
        if ($value !== false) {
            return $value;
        }
        return $default;
    }
protected function get_config($name, $default = null) {
        $value = get_config($this->component, $name);
        if ($value !== false) {
            return $value;
        }
        return $default;
    }
protected function get_config ( $ name , $ default = null ) { $ value = get_config ( $ this -> component , $ name ) ; if ( $ value !== false ) { return $ value ; } return $ default ; }
Api to get plugin config

@param string $name name of the config.
@param null|mixed $default default value to return.

@return mixed|null return config value.
Api to get plugin config