original_string: public function save_field_configuration(field_controller $field, stdClass $data) {
          if ($field->get('id')) {
              $field = $this->validate_field($field);
          } else {
              $this->validate_category($field->get_category());
          }
          api::save_field_configuration($field, $data);
          $this->clear_configuration_cache();
      }
code: public function save_field_configuration(field_controller $field, stdClass $data) {
          if ($field->get('id')) {
              $field = $this->validate_field($field);
          } else {
              $this->validate_category($field->get_category());
          }
          api::save_field_configuration($field, $data);
          $this->clear_configuration_cache();
      }
code_tokens: public function save_field_configuration ( field_controller $ field , stdClass $ data ) { if ( $ field -> get ( 'id' ) ) { $ field = $ this -> validate_field ( $ field ) ; } else { $ this -> validate_category ( $ field -> get_category ( ) ) ; } api :: save_field_configuration ( $ field , $ data ) ; $ this -> clear_configuration_cache ( ) ; }
docstring: Save the field configuration with the data from the form
  
  @param field_controller $field
  @param stdClass $data data from the form
docstring_tokens: Save the field configuration with the data from the form