Notes From Drupal

(Dostoyefski: Notes From Underground)

Understanding Drupal

At first look, it seems to be an unconceivalbe chaos. That’s normal for anything you try to understand. Let’s understand the basics.

What is Teaser ?

A short introductory sentence or paragraph about a piece of content that informs readers about the subject of the content. By default, the first paragraph or two of the content is used (there is a setting for how much), usually with a link to the complete node.

What is View

A view is a listing of content on a website. The core Views module handles the display of views, and the core Views UI module allows you to create and edit them in the administrative interface. When you define views, you are interested in taking data from your website and displaying it to the user.

What is a Module

A module is a set of PHP, JavaScript, and/or CSS files that extends site features and adds functionality.

The core download provides modules for functionality such as:

  • Managing user accounts (the core User module)

  • Managing basic content (the core Node module) and fields (the core Field and Field UI modules; there are also core modules providing field types)

  • Managing navigation menus (the core Menu UI module)

  • Making lists, grids, and blocks from existing content (the core Views and Views UI modules)

What is a Theme

A theme is a set of files that define the visual look and feel of your site. The core software and modules that run on your site determine which content (including HTML text and other data stored in the database, uploaded images, and any other asset files) is displayed on the pages of your site. The theme determines the HTML markup and CSS styling that wraps the content.

What are the types of data


Information (text, images, etc.) meant to be displayed to site visitors. This type of information tends to be relatively permanent, but can normally be edited.


Information about your site that is not content, but is also relatively permanent, and is used to define how your site behaves or is displayed. It is sometimes also displayed to site visitors, but tends to be smaller pieces of text (like field labels, the name of your site, etc.) rather than larger chunks that you’d normally think of as Content.


Information of a temporary nature about the current state of your site, such as the time when cron jobs were last run.


Information about individual site visitors’ interactions with the site, such as whether they are logged in and their cookies. This is technically a subtype of State information, since it is also temporary.

What is a content entity

A content entity (or more commonly, entity) is an item of content data, which can consist of text, HTML markup, images, attached files, and other data that is intended to be displayed to site visitors.

Content entities are grouped into entity types, which have different purposes and are displayed in very different ways on the site. Most entity types are also divided into entity sub-types, which are divisions within an entity type to allow for smaller variations in how the entities are used and displayed.

What is modular content

Given that the content of your site is stored in a database, it is desirable to make the content modular, meaning that certain pages on your site, rather than being edited as a whole page, are instead generated automatically from other content items.

Smaller sections of pages can also be generated as composites.

The key idea is that each piece of information is only edited in one place.

What is an editorial workflow

An editorial workflow is the process organizations follow to create, review, edit, and publish content. Multiple people in different roles in the organization can be part of the process. For example, content creators could collect information and write content; editors could review, edit, ask for changes, and publish the content once it’s ready to be shared with the audience. Later on, content revisions could go through a simple process for small changes, or a more complex process with reviews for larger changes.