Drupal Interview Questions – Set 01

Write down some modules that are used in Drupal?

Some of the modules recommended are:

  • Views
  • Token
  • Ctools
  • Quicktabs
  • Pathauto

What is node in Drupal?

Drupal treats all the stored content on its web site as nodes. Any piece of content like blog, article, page, etc is considered as node. Although, the comments are not stored as nodes but they are always connected to a node.

What are the render arrays in Drupal?

Render arrays are the basic building blocks in Drupal. They provide you a structured way to programmatically change the content before it is displayed.

Explain the use of Sections module in Drupal.

The Sections module allows applying different themes to different pages in a Drupal site.

Explain Drupal.

Drupal is free, open-source content management framework written in PHP. Drupal is distributed under GNU General Public License.

Drupal is a framework which organize, manage and publish content easily and provides a lot of features of customization.

What is Drupal distributions and when to use it.

Distributions are full copies of Drupal including Drupal core along with additional software such as modules, libraries and installation profiles.

Distributions are used for:

  • Demoing Drupal
  • Evaluating Drupal
  • Quickly binding Site
  • Learning Drupal

What is a sub theme in Drupal?

Sub themes are just like other themes of Drupal but they have a little difference. Sub themes inherit the parent’s theme. There are many sub themes that can be connected to their parents. A sub-theme can be a child of another sub-theme, and it can be branched and organized however you see fit. This is what gives sub-themes great potential.

What is template.php in Drupal?

The template.php file in the theme directory allows you to override a theme function.

What are patches in Drupal?

Patches are the files that contain a list of differences between one set of files, and another. You can make changes like addition, deletion in codes through patches. Patches can also be used to make changes to another copy of the original or main file.

Explain Taxonomy in Drupal.

Drupal classifies its content which is called taxonomy and is implemented in the core Taxonomy module.