Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 16369

The most basic form of content on a Drupal site is a node.

2 votes
2 answers
3k views

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 n …
YassineEdouiri's user avatar
0 votes
1 answer
979 views

How do I programatically add a field to a node?

I'm trying to create custom Drupal 7 module. In the form setting for the module I have checkboxes where the admin can select multiple content types: After installing the module I need to automatica …
YassineEdouiri's user avatar