Skip to main content
2 of 2
improved grammar and punctuation; edited tags
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

get the content type 'machine name' by the 'human readable name '

I have a content type whose human readable name is Post your blog. How can I get the content type machine name by the human readable name?

Is there a function in Drupal 7, or do I have to query the node_type table to get what I want?