public function modifyField($name, $modifications)
    {
        $field = $this->getField($name)->updateConfig($modifications);
        $this->replaceField($name, $field);
    }
public function modifyField($name, $modifications)
    {
        $field = $this->getField($name)->updateConfig($modifications);
        $this->replaceField($name, $field);
    }
public function modifyField ( $ name , $ modifications ) { $ field = $ this -> getField ( $ name ) -> updateConfig ( $ modifications ) ; $ this -> replaceField ( $ name , $ field ) ; }
Modify the configuration of a field
@param  string $name          field name
@param  array $modifications  field configuration
@return void
Modify the configuration of a field