Extra Block Types (EBT) - New Layout Builder experience❗

Extra Block Types (EBT) - styled, customizable block types: Slideshows, Tabs, Cards, Accordions and many others. Built-in settings for background, DOM Box, javascript plugins. Experience the future of layout building today.

Demo EBT modules Download EBT modules

❗Extra Paragraph Types (EPT) - New Paragraphs experience

Extra Paragraph Types (EPT) - analogical paragraph based set of modules.

Demo EPT modules Download EPT modules

Scroll

Articles

12/04/2025, by Ivan

Dynamic queries refer to queries that are dynamically created by Drupal, rather than being supplied as an explicit query string. All insert, update, delete, and merge queries must be dynamic. Select queries can be either static or dynamic. Hence, "dynamic query" usually refers to a dynamic Select query.

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

12/04/2025, by Ivan

The Select query builder supports using expressions in the field list. Example expressions include "double the age field," "count of all name fields," and a substring of the title field. Note that many expressions may use SQL functions, and not all SQL functions are standardized across all databases. Module developers must ensure that only expressions compatible with supported databases are used. (See List of functions and operators)

Source URL:
12/04/2025, by Ivan

This cheat sheet provides an overview of commonly used methods, classes, and interfaces for content entities.

d8-entity-thumb

Download

/sites/default/files/drupal-content-entity-8.0.pdf

Source URL:

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

12/04/2025, by Ivan

Any query can have a corresponding "count query". A count query returns the number of rows in the original query. To get a count query from an existing query (which is a select query object implementing the SelectInterface), use the countQuery() method.

Source URL:
Source authors:

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

12/04/2025, by Ivan

This cheat sheet provides an overview of commonly used methods, classes, and interfaces for content entities.

d8-entity-thumb

Download

/sites/default/files/drupal-content-entity-8.0.pdf

Source URL:

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

12/04/2025, by Ivan

This cheat sheet provides an overview of commonly used methods, classes, and interfaces for content entities.

d8-entity-thumb

Download

/sites/default/files/drupal-content-entity-8.0.pdf

Source URL:

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

12/04/2025, by Ivan

Merge queries are a special type of hybrid query. Although the syntax for them is defined in the SQL 2003 specification, virtually no database supports the standard syntax. However, most provide an alternative implementation using database-specific syntax. Drupal’s merge query builder abstracts the concept of a merge query into a structured object that can be compiled into the appropriate syntax for each database. They are sometimes referred to as "UPSERT" queries, a combination of UPDATE and INSERT.

Source URL:

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

12/04/2025, by Ivan

Select queries always return a result set object containing zero or more records. There are several ways to retrieve data from this result set depending on the use case. Records are fetched as objects by default unless you change the fetch mode (see: setFetchMode).

The most common use case is iterating over the result set with a foreach() loop.

Source URL:

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.