code: def _get_all_field_lines(self):
          
          for field in self._get_all_fields_with_alternates():
              # Change to yield from
              for line in self._get_field_or_layer_repr(field):
                  yield line
docs: Returns all lines that represent the fields of the layer (both their names and values).