Finding out the machine name of a field when using Views When using Views, I always use fields instead of content. But I noticed that Views does not show the machine name of a field and it only assumes that you already know it. Is there some other way to find out the machine name?

Knowing the machine name lets me access the field directly like so

print $fields['machine_name_here']-&gt;content;
Go to the settings page of a view, and click on "Theme information"; then you look at the IDs of each field.  For example, if "Theme information" shown this information, then "last_comment_name" would be your machine name.


  Field Node: Last comment author (ID: last_comment_name):