Skip to main content
Tweeted twitter.com/#!/StackDrupal/status/342417544101126144
improved grammar and punctuation; edited tags
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

iI have a content type with thiswhose human readable name is : 'Post your blog` howPost your blog. How can iI get the content type 'machine name'machine name by the 'humanhuman readable name ' ?

isIs there a function in drupalDrupal 7, or do iI have to write some mysql php query from the node_type table node_type to get what iI want

thanks ^_^?

i have a content type with this human readable name : '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 write some mysql php query from the table node_type to get what i want

thanks ^_^

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?

Source Link

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

i have a content type with this human readable name : '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 write some mysql php query from the table node_type to get what i want

thanks ^_^