Drupal sdc

What is Single Directory Component (SDC) in Drupal?

Drupal frontend development has evolved significantly in recent versions, and Single Directory Components (SDC) represent one of the biggest improvements to modern theming workflows.

SDC introduces a component-based architecture where everything needed to render a UI component lives in a single directory — simplifying development, improving maintainability, and aligning Drupal with modern frontend practices.

banner-img

How to Create a simple page view

In Drupal, a view is a listing of information. It can a list of nodes, users, comments, taxonomy terms, files, etc. A view scans your website using any criteria you specify and presents the results in the format of your choice. Example formats include a HTML table, a RSS feed, a PDF document, a CSV document, an interactive map, an image slideshow, or a JSON representation to be used as a REST endpoint. The same content can be presented in multiple formats at the same time. For instance, you can present a table of user information and on the same page a link to download the data in CSV format.
article image

How to create a custom block

Creating a basic custom module in Drupal involves several steps. Here, I'll walk you through creating a simple module that adds a custom block to your site. This example assumes you have a basic understanding of Drupal's file structure and where to place the files.