added missing parameter
renamed variables to better reflect their purpose.
renamed function
extracted more smaller methods
renamed $field_meta to $columnMeta in libraries/tbl_column_definition_form.lib.php
typo corrected