Drupal Overview

Understanding Drupal's overall structure before starting development makes things much easier. This is because Drupal isn't just a classic content management system where we create pages and enter content. It has a structure built from many parts working together, including the content model, user management, permissions, modules, and the configuration system.

In this section, we'll take a general look at Drupal's core components and how it works.

What Is Drupal?

Drupal is an open-source content management system and web application development platform built with PHP. It can be used in a wide range of projects, from a simple corporate website to large, multilingual platforms that integrate closely with other systems. Thanks to Drupal's modular structure, the features a project needs can be added later or developed specifically for that project.

For example, let's think about a university website. Within the same system there can be very different kinds of content: news, academic departments, events, faculty members, and announcements.

In Drupal, instead of keeping all of this inside a single generic “page” structure, we can model each of these as separate content types:

text
News
Event
Academic Department
Faculty Member
Announcement

Each content type can also have its own fields. For example, an event might have date and location fields, while a faculty member content type might have title, department, and biography fields.

This is exactly where one of Drupal's real strengths lies: being able to manage content not just as text, but as structured data.

How Drupal Works

In Drupal, content, presentation, and behavior are kept as separate as possible.

For example, a news content item might contain information such as:

text
Title
Summary
Image
Publish Date
Category
Body

How this data is displayed is decided by the theme. Which page the news items are listed on, and in what order, can be defined using Drupal tools like Views.

This way, the same content can be used in different places in different formats.

For example, the same news item might be shown:

text
On the homepage → Image + Title

On the news page → Image + Title + Date

In search results → Title + Summary

We don't need to recreate the content. We only change how the existing data is displayed.

What Is Drupal Core?

The base structure we get when we first install Drupal is called Drupal Core.

Core includes many fundamental features such as content creation, user management, permissions, menus, media management, fields, and Views. Drupal Core also ships with various modules that can be enabled when needed.

For example, to prepare a content listing, we don't need to install an extra module from the start. We can do this with the Views module that's already included in Drupal Core.

As a simple example, let's say we want to create a list of:

text
Latest 10 news items

Through Views, we could build a structure like:

text
Content type: News
Status: Published
Sort: Publish date DESC
Limit: 10

This way, we get a dynamic news listing without writing any custom PHP code.

Contributed Modules

Drupal Core provides the fundamental features most projects need. For more specific needs, we can take advantage of modules developed by the Drupal community.

These modules are called contributed modules, or contrib module for short.

For example, the Pathauto module can be used to automatically generate URLs for content.

Let's say we create a news item:

text
New Hospital Opens

By default, Drupal might give this content a technical address like:

text
/node/125

With a module like Pathauto, we can turn this into a more meaningful URL, such as:

text
/news/new-hospital-opens

Contributed modules are one of Drupal's biggest advantages. For many features we need, we can use an existing solution instead of starting development from scratch.

Custom Modules

Not every project's needs can be solved with a ready-made module. When a project has its own specific business rules, we develop a custom module.

For example, let's say a hospital website needs to import doctors from another system through an API into Drupal.

This isn't a standard feature of Drupal Core. In a case like this, a custom module named:

text
doctor_import

could be developed.

This module could connect to the external system's API to fetch doctor information, then create or update the corresponding content in Drupal.

The basic distinction here is:

text
Core      → Drupal's own built-in features
Contrib   → Features developed by the community
Custom    → Features we develop specifically for the project

Understanding this distinction also makes it easier to understand a Drupal project's folder structure and maintenance process.

Drupal Themes

In Drupal, the site's appearance is handled by the theme structure.

The content itself is separate from how it's displayed. The theme manages the HTML structure, Twig templates, CSS, JavaScript, and visual components.

For example, Drupal might have an event record like:

text
Title: Drupal Training
Date: September 20
Image: drupal.jpg

The theme could display this data to a visitor as:

text
┌───────────────────────────┐
│           Image           │
│                           │
│ Drupal Training           │
│ September 20              │
└───────────────────────────┘

Even if the theme changes, the event content in the database doesn't change. Only how the content is presented changes.

Content Types and Fields

One of Drupal's fundamental concepts is the Content Type structure.

Each content type can have different fields.

For example, our News content type might consist of:

text
Title
Image
Summary
Body
Category
Publish Date

fields.

The Doctor content type, on the other hand, could be completely different:

text
Full Name
Photo
Specialty
Medical Department
Hospital
Biography

This structure lets us store data in an organized and meaningful way.

Later, we can use these fields independently through Views, Twig, or an API.

The Entity Concept

Another concept worth knowing to better understand Drupal is the Entity structure.

In Drupal, content, users, taxonomy terms, media items, and much other data are managed through the entity system.

For example, we can think of it this way:

text
Node        → Content
User        → Users
Media       → Media items
Taxonomy    → Classifications

We don't need to know every technical detail of the entity system at first. But knowing that many of Drupal's structures are built on the same underlying data model is very useful later when doing custom development.

Users, Roles, and Permissions

In Drupal, instead of granting permissions to users one by one, we usually work through roles.

For example, on a news site we could create roles such as:

text
Editor
Content Manager
Administrator

An editor might be given permissions such as:

text
Can create news
Can edit news

while an administrator might be given broader permissions such as:

text
Can delete news
Can manage users
Can change site settings

This structure makes management easier, especially in enterprise projects with many content editors.

Configuration Management

In Drupal, it's not just content that's managed by the system — much of the site's configuration is too.

For example:

text
Content types
Fields
Views
Roles
Menus
Site settings

are part of the configuration system.

Being able to export these structures as YAML files is a significant advantage, especially for team-based work.

When we create a new field in the development environment:

bash
drush cex

we can export the configuration.

In production, we can then import the same changes with:

bash
drush cim

This way, we can track many of the changes we make in the admin interface through Git, just like code changes.

Where Can Drupal Be Used?

Drupal isn't limited to a specific type of site. It can be used for corporate websites, university and government sites, multilingual platforms, content-heavy portals, intranet applications, and projects that require heavy integration with other systems.

Drupal's structured content approach provides a significant advantage, especially in projects with many content types, user roles, languages, and integrations.

However, this flexibility also comes with more concepts to learn. Drupal's official documentation specifically notes that the system's flexibility requires a certain learning investment early on.

The Difference Between Drupal Core and Drupal CMS

Today, when talking about Drupal, we may also come across the terms Drupal Core and Drupal CMS.

Drupal Core is the base framework and CMS infrastructure that developers build custom projects on top of. Drupal CMS, on the other hand, is a separate product built on top of Drupal Core that aims to offer a more ready-made starting experience. Drupal CMS is prepared especially for site administrators, content teams, and users who want to build a site more quickly.

In classic Drupal projects that are heavily custom-development focused, the underlying structure is still Drupal Core.

Conclusion

When learning Drupal, it's not enough to just memorize the menus in the admin interface. It's much more important to understand how the system models content, and how pieces like core, contributed modules, custom modules, themes, and configuration work together.

In the coming sections, when we look at each of these structures individually, Drupal's structure — which can seem complex at first glance — will become much easier to understand.

Latest update: 18.09.2026 15:26