26 Nov 2026

feedDrupal.org aggregator

Omega8.cc: One Car at a Time

Five small Drupal 10 sites on one platform of a test server were told to move to Drupal 11 together on 26 November by a single task of the Ægir control panel, Upgrade all sites, and we had broken one of them on purpose to see what the task does about it. Before anything is queued a table gives every site a verdict: ready, with the kind of step, not ready, with what is missing, or not allowed, where a line in the site's control file, drupal_upgrade_modes, says no (ours took nothing larger than a minor update). Then the platform is locked and the sites go one at a time, each keeping a complete copy of itself to go back to. Ours stopped at the site whose database update failed: it was put back on its old platform, the site waiting behind it was cancelled untouched, and the run's last row said who went, who failed and who was left out. We mended the module, unlocked the platform and ran it again. BOA is the open source stack we host on, and Ægir is its control panel.

26 Nov 2026 5:31pm GMT

The Drop Times: Drupal 11 Already Delivers Major Performance Gains Ahead of Drupal 12

For organisations planning their next Drupal upgrade, performance alone may not determine when to move to a new major version.

26 Nov 2026 4:50pm GMT

25 Nov 2026

feedDrupal.org aggregator

Omega8.cc: The Spare Comes First

On the evening of 25 November a small Drupal 10 site on a test server of ours moved to Drupal 11 in about three minutes and a few minutes later moved back, each trip one task in the Ægir control panel. Drupal 10 is supported until 9 December, so here is the route as the panel showed it, with the pictures: the newer platform somebody technical builds first, the Drupal updates line which says whether it is ready and what kind of step it is, the page which tells what will happen and what it costs, and the task's own log, from the copy made first to the two pages asked before and after the move. Then the way back: the site page tells the age of the kept copy and its size on disk, and Go back puts it in the site's place while the upgraded site waits beside it, switched off. Also what the two checks do not look at, and why an upgrade which matters is still tried on a clone first. BOA is our open source hosting stack with Ægir as its control panel.

25 Nov 2026 10:26pm GMT

Omega8.cc: Synchromesh, at Last

It took seventy lines to give Ægir its Migrate command. Adrian Rossouw committed them on 3 February 2009, noted that Ægir had, theoretically, both major and minor version upgrades, and left step eight of the file's list as a TODO: a diagnostic to test that everything is ok. Both lasted almost eighteen years: an upgrade was a Clone, a Migrate, another Clone, another Migrate and some prayers, and until this month database updates which broke off in the middle of a Migrate left a warning in the log and the site on the new code. BOA, the open source stack which carries Ægir as its control panel, spent those years on the installer, the platforms and the armour. Its new Upgrade task for Drupal 10 and newer sites keeps a full copy as the way back and undoes a move whose updates break off or whose home and login pages no longer answer as they did, and Go back gives that copy the site's name again. With Drupal 10 at its end of life on 9 December, this is how an old gearbox got its synchromesh.

25 Nov 2026 9:08pm GMT

Security advisories: Drupal core - Highly critical - Access bypass - SA-CORE-2026-019

Project:
Project machine name:
drupal
Date:
2026-November-25
Vulnerability:
Access bypass
Affected versions:
<10.6.23 || >= 11.0.0 <11.3.23 || >=11.4.0 <11.4.14
CVE IDs:
CVE-2026-136716
Description:

Drupal core ships with an install.php file for installing Drupal core.

If you have already secured the installer, you are not vulnerable.

SA-CORE-2026-017 recently fixed several vulnerabilities within the Drupal core installer. However, certain sites in unusual or incomplete install states remain vulnerable to site takeover following that advisory, including production sites. It is not apparent in the user interface if a site is in the affected vulnerable state, and sites that are already compromised may no longer be in the vulnerable state.

This is being exploited in the wild. Any site that left its installer remotely accessible following SA-CORE-2026-017 may still have been compromised.

  • Check your site logs for unauthorized access, especially unexpected changes to or by the user 1 account.

  • Ensure the user 1 email address is set to something you control, and consider resetting user 1's password.

  • If it appears your site may have been compromised based on the above, review Your Drupal site got hacked. Now what?.

Drupal Steward information:

This issue and SA-CORE-2026-017 are both being protected by Drupal Steward. Sites and platforms that use Drupal Steward's recommended mitigations are already protected from known attack vectors, but sites should upgrade in the near future in case additional attack vectors are discovered.

Solution:
  1. Install the latest version:

    Drupal 11

    • If you use Drupal 11.4.x, update to Drupal 11.4.14.
    • If you use Drupal 11.3.x, update to Drupal 11.3.23.
    • Drupal 11.2.x and below are end-of-life and do not receive security coverage.

    Drupal 10

    • If you use Drupal 10.6.x, update to Drupal 10.6.23.
    • Drupal 10.5.x and below are end-of-life and do not receive security coverage.
  2. Run update.php. An update hook must run to fix existing production sites in this state.

  3. Strongly recommended: Follow the instructions for securing the Drupal installer on all new and existing sites.

Drupal 8 and Drupal 9 have both reached end-of-life.

Fixed By:
Coordinated By:

25 Nov 2026 5:04pm GMT

Drupal AI Initiative: Your AI content is causing trouble, and you don't even know it

Someone on your marketing team asks AI for a blog post. The draft that comes back doesn't sound like your organization, and it promises something nobody approved. It gets posted on your website before anyone realizes.

And the next post lands with the same issues. Your organization's voice and rules live in a few people's heads, or in well-maintained brand guidelines that people rarely refer to.

Generative AI means it's easy to create content. The hard part is providing AI with the information it requires to generate content that accurately reflects your organization. That's how AI knows how you talk, who you're talking to and what it's never allowed to make up.

Why AI content drifts

One person on the team is using ChatGPT. The other person on the team is using Claude. They have different instructions, different information. Maybe they don't even have any writing examples. The voice is not the same.

If you don't provide this information, AI will happily guess, and it'll usually guess wrong, potentially resulting in sloppy content. AI likes to tweak names, too. If your offer has one, write it down exactly the way you say it.

And describing how you write only goes so far. The examples show it.

Someone using their own AI at work could cause trouble for the team.

What's at stake

It could be anything, from an embarrassing moment to a fine, because someone used AI to quickly generate some content that stated something they weren't supposed to state.

Who catches it? Usually somebody outside the organization. A customer, maybe. Maybe the boss, but rarely. Maybe the marketing people, but maybe not.

As an example, in 2022, the chatbot on Air Canada's website told a customer they could apply for a bereavement discount after their flight. The airline's actual policy didn't allow that. Air Canada argued it wasn't responsible for what its chatbot said. In 2024, a Canadian tribunal disagreed and ordered the airline to pay damages.

Start with what governs the prompt

Start with the information that should govern the prompt, instead of the prompt itself. When it lives in one place, everyone on the team uses the same information, and every kind of content follows it. A landing page, a press release, a product description.

In Drupal AI, that one place is the Context Control Center. Editors and marketers manage what the AI knows the same way they manage the rest of the site's content, with drafts, approvals, scheduling and version history.

Different pages, different rules

Investor guides have to follow certain rules and guidelines, as do health providers, universities and many other types of organizations.

In finance, FINRA, the US regulator for brokerage firms, has reminded firms that its rules for communicating with the public apply to AI-written content the same way they apply to anything a person writes. In health, the US Federal Trade Commission expects health claims in marketing to be backed by competent and reliable scientific evidence. And many universities now publish their own rules for AI in marketing. Purdue's says, "AI-generated text must be revised for brand voice, edited and approved by an accountable human before publication."

On a casual blog post, rules like these are easy to forget. You can't use broad rules for everything. Certain pages might need other rules.

In the Context Control Center, rules can apply to the whole site, or only to one section, language, topic or page. The investor page gets the investor rules, and the blog gets the blog rules.

Rules within the Context Control Center are well structured and can apply globally or be specifically targeted.

Put someone in charge of the context

There should be somebody in charge of the context, approving changes to it. One main lead on that, or a team that leads it, all in sync and in agreement with each other.

Maintain a single source of truth, a single document or collection of documents, that accurately reflects the information about your organization that AI should be aware of when generating and checking content on your website. If those documents already exist, the Context Control Center can import common files like Word documents, PDFs and spreadsheets.

Usually, when AI content goes wrong, there's no tracking or record of what was given to the AI or what context was even used.

Governed library
Slide from Context Control Center: Bringing AI Context Natively to Drupal CMS

With the Context Control Center, there is. If you're a marketing lead, you can look back and see exactly what somebody used and what rules were applied. You know exactly what they did, and whether they were using the correct rules. If not, you have the ability to update the Context Control Center to ensure the same issues don't occur again.

A person never leaves the loop. A person writes the request. A person reads every word. A person decides whether it's approved. And nothing publishes on its own.

Try Context Control Center now!

You can try Context Control Center for free as part of the official Drupal AI Demo. No set up required.

Frequently asked questions

Is it okay for my team to use their own AI tools?

No. Set an AI policy, guidelines for everyone, so they only use the sanctioned AI and office tools made available to them.

Who's responsible when AI gets something wrong?

There should always be a person behind what goes out, a final check. When AI gets something wrong, the organization can be held liable, and so can the individual people involved, especially if they didn't follow the rules. In 2023, a US judge fined two lawyers and their law firm for filing a brief with court cases ChatGPT made up.

Do I need a developer to manage the Context Control Center?

No, you don't. Editors and marketers can set up and manage the context themselves, the same way they manage the rest of the site's content, through a user interface, without writing code.

Can we start with the brand documents we already have?

Absolutely, that's where you should start. Begin with your brand documents, your brand voice and examples of your own writing, like emails, documents and articles, anything that shows your voice. From there, add things like your editorial guide, audience personas, product and service lists, FAQs, compliance rules, legal disclaimers and anything else that applies to your organization.

Learn more about Context Control Centre

Watch our presentation on Context Control Centre from DrupalCon Rotterdam 2026 which goes into more detail.

The session covers how to:

  • Replace scattered files with one central hub: Learn how Context Control Center acts as Drupal CMS's native context layer, bringing rogue prompts, PDFs, and wikis into a single governed library.
  • Keep responses on-topic with context scopes: Discover how to route the right information to the right request using language, site section, and use case-ensuring support answers never accidentally bleed into marketing copy.
  • Build a clean, maintainable library: Pick up practical rules for sizing entries, knowing when to split or merge content, eliminating duplicates, and assigning clear ownership.
  • Keep content fresh and secure: See how dynamic and remote context keeps information up to date, and how Context Control Center complements-rather than replaces-Drupal's existing AI safety and monitoring tools.

Webinar on how to introduce good AI governance in your organization

Our upcoming webinar is a practical conversation with the authors of From Policy to Deployment: AI Governance for Institutional Websites. Learn how to assess an AI use on your website, decide what safeguards it needs and know when it's ready to launch.

Register for the webinar now.

File attachments:

25 Nov 2026 3:15pm GMT

The Drop Times: What Drupal Teams Need Beyond Faster Development

A clickable prototype can expose disagreements before development begins, while an unanswered AI query can reveal a content problem after launch. Drupal practitioners share ways to improve decisions at different stages of a website's lifecycle.

25 Nov 2026 1:19pm GMT

BloomIdea: Views Board for Drupal: your own Trello-style project board, with a Gantt chart and a dependency map, in the site you already run

The work already lives in Drupal. Articles move from idea to draft to scheduled, tasks from to do to done, requests from new to answered, and each of them has a status field someone changes by opening the edit form, changing one select and saving. Seeing the whole picture means a table with a status column, or copying everything into a board in another tool and keeping the two in step by hand until they drift apart.

What the team wanted was the board itself: the same items, in columns, moved with the mouse or the keyboard, and saved where they already are.

Views Board adds three formats to Views: Board, which draws the rows of any view as cards in columns, one column per value of a field, optionally split into lanes by a second one; Gantt, which draws the same rows as bars on a time axis; and Dependencies, which sets them out in waves of what waits for what. The Gantt and Dependencies formats are submodules, as are a Dependency field and two tools that hand the board to AI agents, MCP servers and Drush. It is free software under GPL-2.0-or-later, and 1.0.0, released on 24 November, is its first stable release.

Your own Trello, in the site you already run

A Trello-style board takes no code. Create a Task content type with a list field for its state, a reference to the person doing it and a due date. Build a view of tasks, choose Board as its format, and make the state the columns and the person the lanes. Add the Dependency field and a second display in the Gantt format, and the same tasks become a plan that shows what blocks what.

The Board format's settings in the Views UI: Stage as the column field, a row per column with Shown, Collapsed and Finished boxes, a colour and work-in-progress limits, and Writer as the lane field.
The Board format's settings: the columns, their colours and limits, and the lanes, all in the Views UI.

There is no limit on boards, because a board is a display of a view. One view can carry a board, a Gantt and a map of dependencies over the same tasks, and a contextual filter turns one display into a board per project, per client or per person, each at its own address.

With the Group module, each project or client is a group with its own members and roles, and a contextual filter on the group gives every group its own board from that one view. Group decides who may see and edit each task, and Views Board asks the same question before a card moves: a member allowed to edit the group's tasks moves its cards, a member who may only read sees the board without handles, and someone outside the group sees none of its tasks.

The tasks stay where the rest of the site is: the same accounts, the same groups and permissions, and references to the content, clients and contracts they are about. We run our own projects this way. Our intranet keeps each client's work in a group, with a board per group in lanes by person, and the waves and the Gantt for plans that have milestones and dependencies. Most of the module was first something we needed there.

It is not Jira, and it does not try to be. There are no sprints, no burndown or velocity charts, the Gantt does not compute a critical path or move dates by itself, and the module sends no notifications. A move is a normal save, so whatever the site already does on save still runs, and an ECA rule or a few lines of code send the email. A rule such as "the person a task is assigned to may move it without the right to edit it" takes a small event subscriber, which is how our intranet does it.

What you can build with it

  • An editorial board where articles move from Ideas to Scheduled, split into one lane per writer, with a work-in-progress limit on Editing and the word count of each column added up in its head.
  • A task board with a switch above it to see the same cards by person, by section or with no lanes at all.
  • Cards that say "Overdue: 22 Nov" or "Due today" in words, and column heads that count what is late.
  • A launch plan set out in waves, where each step sits one column after the furthest step it waits for and the filters pick out what can start today.
  • A Gantt chart of the same plan, with a bar for each task, arrows for what blocks it and a zoom from days to months. Dragging a bar, or either of its ends, changes its dates.
  • An assistant that answers "what has been in Doing for a month?" and then puts those cards on hold, with no more rights than the account it runs as.

The board

A Views Board of articles in four columns, Ideas, Writing, Editing and Scheduled, with a lane per writer, word counts in each column head, a work-in-progress limit and an overdue card in Editing.
An editorial board: one lane per writer, a limit of two on Editing, and the word count of each column in its head.

The board is a Views format, so everything a view already does still applies. Filters, contextual filters and exposed forms decide which cards appear, which is how one view becomes a board per group, per project or per person. Any entity stored in SQL works: content, users, taxonomy terms. The columns are the values of a single-value field, a list, a taxonomy reference, a boolean or a workflow state, in the order the field gives them.

Each column can be shown, collapsed to a narrow strip that still accepts cards, coloured, marked as finished, and given a work-in-progress limit, which warns without refusing. A lane field splits the board by person, section or any other field, and the reader can switch between the lane fields you offer, or none, from links above the board. Lanes that stand for something with a date, a milestone or a sprint, can follow that date instead of the alphabet.

What a card shows is a view mode, so it is set in Manage display like any other. For long boards, the column heads can stay at the top of the window while the page scrolls, with a line naming the lane underneath, and a Full screen button gives the board, its filters included, the whole screen.

Moving cards, with the mouse or the keyboard

A card being dragged from Writing to Scheduled, then the confirmation at the bottom of the window with an Undo button.
Drag a card to another column and the confirmation offers an Undo.

Drag and drop works with a mouse, a pen or a finger. Every card the person may move also has a Move… menu, which lists the columns, the lanes and the top or bottom of the column, and works from the keyboard: arrow keys, Enter to choose, Escape to close. That follows Atlassian's guidance for accessible drag and drop, visible controls rather than dragging by keyboard.

The Move… menu open on a card, listing the columns, the lanes and Top or Bottom of column, with the card's current column and lane ticked.
The Move… menu does everything a drag does, from the keyboard.

Every move is announced to screen readers, focus returns to the card, and the confirmation at the bottom of the window has an Undo. Colour is never the only signal: an overdue card says so in words, and a column keeps its name next to its colour dot. The board uses core's SortableJS library and nothing else: no jQuery, no Bootstrap.

What waits for what

A board can say what blocks each card. Point it at an entity reference field and each card lists the items it waits for, each one pending, met or in conflict, read from the column the other item is in. A task finished before what it waited for shows the conflict in red.

The Dependency field submodule adds a field made for this: a reference that also records how one item waits for another, with the four link types of a Gantt chart (finish to start, start to start, finish to finish, start to finish), and that refuses to save a cycle.

A launch plan in four waves, each step one wave after what it waits for, with arrows between them, a red arrow where a step finished before the one it waits for, and filters above for what can start, what waits, what blocks others and what is in conflict.
The Dependencies format: each item one wave after the furthest item it waits for.

The Dependencies format sets the same cards out in waves. The first wave waits for nothing on the page, the second comes after the first, and every arrow points right, so the shape of the work shows without any dates: which chains are long, what many things wait on, what is free to start once one thing is done. Filters pick out what can start, what is waiting, what is blocking others and what is in conflict, and hovering or focusing a card follows its chain both ways.

The Gantt

A Gantt chart of a campaign plan in two lanes, Brief approved and Launch, across three weeks, with bars coloured by status, arrows between dependent tasks, a diamond at each milestone's date, a line for today and a task one day late.
The Gantt format: the plan's tasks as bars, its milestones as lanes, and what each task waits for as arrows.

The Gantt format draws the same view on a time axis: a bar per item, coloured by its column and grouped by its lane, with weekends shaded, a line for today, a diamond for the date of each lane that stands for a milestone, and what blocks each item drawn as arrows between the ends its link type names. A bar can start at a start date, at the due date less a duration such as an estimate in hours, or, on a site that keeps a history of its items, on the day work on it began, and an item with a due date alone is a marker on that day. A zoom switches between days, weeks and months.

Dragging a bar moves it in time, and dragging either end moves that end. A Change dates dialog does the same from the keyboard or on a touch screen. It needs no chart library: the bars are laid out by CSS from dates the server writes, so the chart shows even without JavaScript.

For AI agents, MCP servers and Drush

A terminal running drush tool:run views_board_read on the Editing column of the editorial board, filtered through jq, listing three cards with their title, writer, due state and whether they may be moved.
The read tool, run from Drush on the Editing column: the same answer an AI agent gets.

The Views Board Tools submodule turns a board into two tools of the Tool API: one reads a board and one moves a card. A tool is written once and reaches three kinds of caller: the agents and assistants of the AI module, MCP servers built on Tool API, and Drush. The read is the board as that account sees it, with the view's filters and access, so an agent asked what is overdue in Editing gets the cards the person would see, with their column, lane, due state and what they wait for.

A move is an edit, and it is checked like one

Views Board adds no permissions of its own. Who sees a board is the view's access, and who moves a card is the entity's update access and the edit access of every field the move changes: the column, the lane, the order. A card the person cannot move shows no handle and no Move… button. A move the server refuses puts the card back where it was and says why in plain text.

Every move is saved through the entity's normal save, so validation, revisions and anything a site does on save all run. A module can veto a move before it happens, act after it (send an email when a task reaches Review, say), or let people move cards they may not edit, such as the person a task is assigned to. Reordering a card within its column is not treated as an edit: it creates no revision and does not make the card look just changed.

The Gantt and the tools take the same route. A dragged bar is checked as a moved card is, and an agent's move goes through the same service as a drag in the browser, adding no check and removing none. An agent can only do what the account it runs as could do on the page.

Get it

composer require drupal/views_board
drush en views_board

Then create or edit a view, choose Board as its format, and pick the column field. It requires Drupal 10.3 or later, or Drupal 11, and stable releases are covered by Drupal's security advisory policy. The waves, the Gantt, the dependency field and the AI tools are submodules, enabled separately; the tools need Tool API.

The README starts with a quick start that builds a board of articles from a standard Drupal site, and covers theming, the events and the move endpoint. If your board needs something it does not do yet, tell us in the issue queue.

25 Nov 2026 10:08am GMT

Gspikes: Higher Education CMS Census: What 1,800 US College Websites Run

Higher education CMS census of 2,764 US colleges: WordPress runs 37% of readable sites, Modern Campus leads public colleges, Drupal leads R1s.

25 Nov 2026 7:00am GMT

The Drop Times: How Drupal Grounds AI Answers in a Site's Own Content

A question box can answer from a site's pages and cite each claim. Some of its safeguards are enforced in code; others are only requested of the model.

25 Nov 2026 6:08am GMT

The Drop Times: How to Connect an AI Assistant to Drupal Through a User's Own Account

What can an AI assistant discover when Drupal refuses access to unpublished content? A local test reveals both the restrictions and the information still exposed.

25 Nov 2026 6:00am GMT

Specbee: One self-hosted QA tool for visual, Figma, and accessibility checks: Truframe

Truframe checks visual regression, Figma conformance, WCAG 2.2 accessibility, and site health, and helps QA teams decide which changes matter.

25 Nov 2026 4:01am GMT

Tag1 Insights: Inside the Pyramid: Guiding Principles for a Faster Drupal Test Suite

Francesco Placella, Tag1 Senior Architect and Technical Lead, continues the four-part Inside the Pyramid series with the principles behind the guidelines he proposes for a faster Drupal test suite. This is the second post in the series. The first post covered the ideal shape for Drupal's tests. The series comes from his DrupalCon Rotterdam 2026 session and supports the initiative to adopt the Test Pyramid approach in Drupal core, which is looking for contributors.

Getting in Shape

If I did a good job so far, you are now supposed to be all fired up and looking forward to a bright future of pyramids and skyscrapers, which brings us to the how. It won't be easy or effortless but, of course, I think it can be done, through the following steps:

  1. Define clear guidelines for both production and test code, updating AI best practices accordingly.
  2. Improve Unit testability across core, focusing especially on the entity system.
  3. Add new core test tools letting us implement lightweight Integration tests relying on UnitTestCase.
  4. Push down existing core test coverage towards the base as much as possible.
  5. Make core, contrib, and custom code adopt the guidelines at the same time: no need to wait for core to be done before starting.

Some of these steps can be worked on in parallel, but coming up with guidelines is the key one, so that is what I will focus on here.

The first step in coming up with valid guidelines is to identify the core principles behind them. Aside from what we already discussed, I am going to propose a few ideas, heavily inspired by, or taken verbatim from, a very influential source: Growing Object-Oriented Software, Guided by Tests (GOOS), the manifesto of the Mockist TDD school.

Listen to the Tests

As I mentioned in the first post , one of the main reasons why currently many Unit tests need to be implemented via KernelTestBase is that the Entity objects have so many intertwined dependencies that instantiating one forces you to instantiate a significant portion of the Entity and Field systems. Trying to use test doubles does not help either for the same reason. In fact, one of GOOS' core principles says that if a test is hard to set up, that is design feedback: it is a signal that you should refactor the class to ensure its dependencies are more manageable and, hopefully, the resulting relationships more sensible.

After all, entities most often serve as data carriers between layers of a Drupal application and usually this kind of object is not supposed to get test doubles, since there is no interesting behavior to stub or mock, which brings us to the second principle.

Don't Mock What You Don't Own

This is also one of GOOS' core principles: you are only supposed to mock interfaces you own, that is, belonging to code you can change. A mock is a specific type of test double encoding expectations about which method invocations it will receive, with the related returned values, if any.

Following the previous principle, if mocking an item in your code is hard, this should be treated as design feedback, implying, again, that you should refactor your code to make the relationships between its parts saner. Of course, that is not an option when you are dealing with code you do not own.

Moreover (and this is the deal breaker), a mock object encodes your assumptions about its behavior. This is fine for a class you own and whose behavior you control, but doing this with a class you do not own is dangerous, because its internal behavior may change without you noticing, which would cause your test to keep passing when in fact it should start failing.

Stub It Instead

A related case is when an interface you do not own is so narrow and self-documenting that there is basically no risk involved in stubbing it. For instance, the TimeInterface::getCurrentTime method is so straightforward that the risk of using a mocking API to stub it is close to zero: the contract is so well defined that returning a valid value is trivial and it is all we need to do to ensure the test will behave correctly.

Speak Your Own Language

Of course, from the perspective of a module author, the Entity Field API should be seen as framework code, similar to a third-party library, not something available for refactoring. Thus, attempting to create test doubles out of its interfaces is misguided, because they are not supposed to be stubbed (no interesting behavior there), let alone mocked.

From this, one could conclude that the only correct way to deal with entities within tests is to instantiate the real objects, which forces you to rely on KernelTestBase. However, my claim is that a module developer should not need to care about how hard it is to instantiate an entity: entities are generic domain-less data carriers, while a module is all about some specific domain logic, thus its code should be structured so that entities are hidden away as much as possible, treated as an implementation detail. This makes the module code more expressive and more easily Unit-testable at the same time.

Likewise, any other framework "jargon" should be banned from module code as much as possible: any reference to persistence, network connections, file system access, or a Drupal core subsystem should be treated as an implementation detail and hidden behind a thin adapter layer or confined to equally thin integration points, typically hook implementations and event listeners.

What about module code "extending" the framework, for instance by defining a formatter? Plugin classes are integration points too, so the same approach applies: if the module includes domain logic, extract it into classes speaking the module's own language, and keep the plugin class as a thin adapter, covered by an Integration test. If there is no domain logic at all, the plugin is just wiring and an Integration test is all it needs. Things get trickier when the framework is the domain, as in the case of a new field type. There is not much left to hide, and here the rule of thumb is simple: the more a class's code is about the framework's own contract, the higher in the Pyramid its tests legitimately sit. In that case, the burden of Unit testability shifts from the module author to the framework, through test tooling - for instance, a fake implementation.

An Imperfect World

What about Deuteros? What is its place in this picture? The way I see it, Deuteros fulfills the need for an easy-to-instantiate data carrier object, same idea as the TestArticle class we are going to look at in the next post. In an ideal world, in the rare cases in which it is appropriate to instantiate an entity and not something domain-specific (it might be overkill sometimes), we should not be forced to give up on UnitTestCase tests. In the future we will hopefully be able to instantiate entity objects more easily; in the meantime, you can rely on Deuteros, which you can think of as a fake implementation of the Entity Field API's parts defining a data-carrying system, backed by contract tests: those ensure that the behavior does not diverge from the original one, while giving you easy-to-instantiate objects. This is particularly useful in existing codebases, when refactoring is not available as a strategy, but you still would like to rely on fast Unit testing.

Widen the Base

As I touched on before, our goal should be to widen the Skyscraper's base, which means leveraging UnitTestCase as much as possible, regardless of the scope of our tests. This translates into a two-question rule of thumb:

  1. Level: what is the scope of the test? Unit, Integration or End-To-End?
  2. Type: what is the lightest available tool to implement it?

The default choice would be a vanilla UnitTestCase, possibly paired with lightweight helper traits, for almost everything. Of course, we won't always manage that, but we should only go to upper stories when absolutely required, because every story costs the Drupal Association money and puts more CO2 in the atmosphere. Not to mention our precious time.

Up Next

In the next post, I put these principles to work on a small newsroom module, showing how to hide entities from domain code so it can be Unit-tested.

Want a faster, leaner test suite for your Drupal project? Talk to our team.

25 Nov 2026 12:00am GMT

24 Nov 2026

feedDrupal.org aggregator

DrupalEasy: Save $150 from Black Friday – Cyber Monday on the January session of AI Inside Drupal Essentials course!

Save $150 on the January 2027 edition of AI Inside Drupal Essentials. Register November 27–30, 2026 for the discount.

Save $150 on the January 2027 edition of AI Inside Drupal Essentials. Register November 27–30, 2026 for the discount.

If you are on the fence about learning how to leverage Drupal's AI module ecosystem, we've got a Black Friday-Cyber Monday deal that can help you move forward. Register for the January 2027 session of DrupalEasy's AI inside Drupal essentials course between November 27-30, 2026, and we'll take $150 off of the standard course fee.

This course has everything you're looking for to build a solid foundation using the Drupal AI module ecosystem. You'll learn about observability, providers, guardrails, and a whole bunch of different ways to implement AI functionality. You'll be sure to find a level of AI functionality that you and your organization can be comfortable with.

As the official training partner of the Drupal AI Initiative, this course has sections on using local LLMs, building custom agents, developing RAG searches, and using ECA to build AI powered functionality that your content authors will really appreciate. All lessons include information about token usage - giving you the information you need to build a cost-effective AI solution as well.

The course begins January 11, 2027, and runs for a total of 18 hours over two weeks. The course is split up into work-friendly three hour segments Monday, Wednesdays, and Fridays. Every class is recorded, and you'll retain access to class materials after the class finishes.

One added benefit that all DrupalEasy students and alumni get is access to our DrupalEasy Learning Community, including weekly office hours throughout the year. Whether you have a problem that needs solving, or just want to attend as a fly-on-the-wall, office hours are a great opportunity to stay active in the Drupal community and expand your personal network.

If you want to take advantage of this offer, register between Black Friday, November 27 and Cyber-Monday, November 30, 2026 and we'll automatically drop the course fee by $150-that's 25% off of the regular price of this amazing course.

The text of this blog post was written entirely by humans, with no AI. The image above was generated using AI.

24 Nov 2026 3:34pm GMT

Matt Glaman: EvolveDigital NYC 2026: agents as audience, agents as builders

My second EvolveDigital NYC: a hands-on Drupal Canvas workshop with Martin Anderson-Clutz, and two days of sessions on agents as an audience for your content and as a new way to build sites.

24 Nov 2026 2:00pm GMT

Drupal Association blog: In the Open: What’s next for Drupal.org

In the Open is a weekly series from Drupal Association Interim CEO Tiffany Farriss, sharing what she is hearing across the Drupal community and where the Association is headed. In this episode: gratitude for the people behind Drupal.org, a candid look at the funding gap and technical debt behind its challenges, and the team's commitments to bring Drupal.org back together as one site.

"Drupal.org is how the world finds Drupal."

The following is a transcript of Tiffany's remarks, lightly edited for readability.

Two truths at Thanksgiving

It's Thanksgiving here in the US, a time of feasting and family and gratitude, and Drupal has so much to be grateful for. I'm Tiffany Farriss, Interim CEO of the Drupal Association, and this is In the Open, our regular update as we navigate a year of change.

Heading into this time of gratitude, I want to acknowledge that I hold two truths together.

I'm deeply, deeply appreciative of Drupal.org as the home of the project, a place that has given us so much over the last 25 years. And I hold that with the candor that Drupal.org isn't currently where we all need it to be. Drupal.org isn't just a website or a code repository. It's a collaborative platform where we gather and build and solve all our problems together, and it's powered by everybody who contributes to Drupal.

So I want to start by saying I'm deeply grateful to the module maintainers, the documentation writers, the issue contributors, the event organizers, and community leaders who all care enough to hold the Drupal Association accountable when Drupal.org isn't meeting our expectations. And I'm equally grateful for my team at the DA, who punch way above their weight every day, keeping essential community infrastructure running and secure with very limited resources.

How we got here

We've been in a bind. For years, the Association has been fighting a losing battle against technical debt. The simplest way to put it is we provide $10 of services for every Drupal site every year, but we can only fund $7.50. So that math doesn't math, right? When you run a $10 service on a $7.50 budget, something's got to give, and you end up borrowing from your own future just to keep the lights on today, and you never get around to those nice-to-haves.

Eventually, that catches up with you. Over the last year, stretched too thin, the DA didn't always communicate very well. We didn't always manage our expectations, and sometimes we didn't deliver. And I understand why those who were disappointed may have lost some confidence in us. I acknowledge it, and we can, and we will repair it.

Drupal.org became both the victim and the most visible symptom of that dynamic. When I stepped into this role, one of the first hard calls I had to make was to stop a separate proof of concept product marketing site and fold that work into the broader Drupal.org effort. Changing course tested faith even further, but adding a third domain would have splintered us even more, when our top priority is reintegrating Drupal.org into one cohesive site.

Why one Drupal.org matters

Right now, AI assistants and search engines see www.drupal.org and new.drupal.org as two separate sources with two separate crawl budgets. Drupal.org is how the world finds Drupal. We get 425,000 visits a month from Google Search alone, and nearly half of developers turn to AI assistants when evaluating a CMS.

Look, after two years, that split has to end. Repairing this gives us back a single, authoritative home that backs up your work, whether you're building with Drupal or investing in the ecosystem through our evolving Drupal Certified program, which is going to turn Drupal.org into this trusted registry of verifiable information about those who engage with Drupal in a net neutral or net positive way.

What we're committing to

I want to share with you the commitments that the team is delivering, and why each one matters to you.

Our top priority, as I said, is unifying www.drupal.org. The first thing we're doing is switching that www site to point to what used to be new.drupal.org, or what I'm calling the modern web platform. That will consolidate our domain authority, so evaluators, search engines, and AI tools encounter just one cohesive Drupal instead of two competing sources. But not everything is going to be there right away. We're going to be layering it in over time.

The second thing is we're going to be protecting those existing links. Project pages, documentation, issues, and forums are being migrated over to that site. Anything that isn't yet migrated is going to live on a temporary host, and every existing URL will keep working automatically. That means bookmarks, shared links, and references inside Drupal core code aren't going to break in that transition.

While we do this, though, I do want to manage expectations: you should expect search fluctuations. We'll be moving roughly 80% of our search-driven pages temporarily, and this is likely going to cause a short-term dip in the search traffic while the search engines catch up. We're expecting this, and we're going to be monitoring it weekly, and we'll share how it's tracking so that there's clear visibility rather than surprises.

Since this migration needs to continue, we're going to be migrating that content strategically. Each section gets rebuilt on the modern site in the new design, and it'll return to www. We're going to start with the project pages, then move on to documentation. When they move, they'll have cleaner metadata, structured data, and markdown outputs, so that developers, coding agents, and answer engines are all going to be able to pull more accurate, more current Drupal guidance than what they've been pulling to date.

The last thing is that we're working on a comprehensive archiving strategy. We're not going to be deleting 20 years of community history. Those end of life pages are going to stay online at their existing addresses, with a clear label at the top pointing to the current guidance. The only pages that will be removed from search are the ones that have virtually no active sites and no search demand. This helps us preserve our critical security advisories and change records, while giving anyone on an unsupported version of Drupal safe migration pathways into modern Drupal.

How you can help

Drupal.org belongs to all of us. It deserves to be something that we're proud of, something that reflects the capabilities and awesomeness of Drupal and the sustainable support of our ecosystem, as well as the generosity and innovativeness of the people who are behind it all.

If you want to support our work on Drupal.org this Giving Tuesday, please consider donating. Whether it's $2.50, $25, or $250 for the last 25 years of Drupal, please go to drupal.org/donate. Your support is going to help us keep digging out of this technical debt, repair our foundation, and secure Drupal.org's future as not just a site on the current version of Drupal, which is good, or one that showcases the very best of what Drupal has to offer. That's better. But it's going to be one of the very best Drupal and open source sites in the world. I wish for nothing less.

So thank you for sticking with us, for pushing us to be better, and for everything that you contribute to Drupal and this community. If you celebrate, I hope you have a restful Thanksgiving, and we'll talk again soon.

Follow the conversation

New episodes of In the Open publish each week. Subscribe on the Drupal Association YouTube channel to follow along.

With thanks to Stephen Cross of Second Signal Media for producing this series.

24 Nov 2026 12:57pm GMT