Form Object Gravity Forms [closed]

According to this page about the form fields object, it looks like you’d need to do something like this:

$my_id = '37';
foreach($form['fields'] as $field){
    if($field['id'] == $my_id){
        $field['content'] = 'This is a html-block';
    }
}

where $my_id is the id of the field you are targeting