Drupal Interview Questions – Set 03

Explain the database system in Drupal.

In Drupal database system, each type of information has its own database table. Different types of information will be stored in different database table. For example, nodes information is stored in nodes table.

What are system requirements for Drupal installation?

System requirements for Drupal 8:

  • Web server: Apache, Nginx, or Microsoft IIS
  • Database: MySQL 5.5.3/MariaDB 5.5.20/Percona Server 5.5.8 or higher with PDO and an InnoDB-compatible primary storage
  • engine, PostgreSQL 9.1.2 or higher with PDO, SQLite 3.6.8 or higher
  • PHP 5.5.9 or higher
  • PHP Memory: 60 MB

Name the five conceptual layers in Drupal system.

  • Data (nodes, etc)
  • Modules
  • Blocks and menus
  • User permissions
  • Themes and templates

Can Drupal run on command line?

Yes. Drupal can run on command line by using DRUSH.

How to interact with Drupal search systems?

There are three ways to interact with Drupal search system by implementing:

  • nodeapi (update index)
  • hook_search()
  • hook_update_index()

What are the supported databases by Drupal?

Drupal supports MySQL/MariaDB, PostgreSQL, and in Drupal 7 SQLite.

Explain Drupal’s features.

Drupal has a lot of features:

  • Simple and secure theme
  • Mobile first
  • Provides multilingual features
  • Easy configuration
  • Easy writing
  • Quick edits
  • Better support
  • Built-in web services
  • Fast loading speed

What is module in Drupal?

A module is a set of codes that extend Drupal features and functionality.

Drupal modules:

Core modules: These modules are included with the main download of Drupal, and you can turn on their functionality without installing additional software.

Contributed modules: These modules are downloaded from the Modules download section of drupal.org, and installed within your Drupal installation.

You can also create your own module “CustomModules” using PHP programming, and Drupal’s module API.

Explain the API in Drupal 7?

The field API allows custom data fields to be attached to Drupal entities. Any entity type can use field API to make itself “fieldable” means allows fields to attach to it.

Why is Ctools used in Drupal?

Ctools is a set of APIs and tools which is used to improve the developer experience.