Learn Drupal MCQs
Prepare Drupal MCQs (Multiple choice Questions) for exam and job interviews.
Which of the following is a core module for managing user roles in Drupal?
1) User
2) Node
3) Block
4) Taxonomy
Answer : Taxonomy
What does the `hook_views_query_alter()` function do?
1) Alters the query for a view
2) Creates a new view
3) Deletes a view
4) Manages view settings
Answer : Creates a new view
What is the purpose of `hook_field_formatter_view()`?
1) Defines how field values are displayed
2) Creates new fields
3) Deletes fields
4) Manages field settings
Answer : Deletes fields