public function reset_component( $component )
    {
        $component->value = $component->default;
        $this->final_instance[$component->name] = $component->default;
        return $this->final_instance;
    }
public function reset_component( $component )
    {
        $component->value = $component->default;
        $this->final_instance[$component->name] = $component->default;
        return $this->final_instance;
    }
public function reset_component ( $ component ) { $ component -> value = $ component -> default ; $ this -> final_instance [ $ component -> name ] = $ component -> default ; return $ this -> final_instance ; }
Reset the given component to its default value.

@param AbstractComponent $component
@return void
Reset the given component to its default value .