Skip to main content
backdrop Forum
  • Forum
  • FAQ
  • Following
  • About
  • Wishlist
  • My account
    • Log In
    • Create an account
  • Try Backdrop CMS
    • Demo Backdrop CMS
    • Download version 1.35.2
    • More ways to try Backdrop
  1. Home ยป
  2. [DX] [D8] Add a `validate()` method to entity classes

[DX] [D8] Add a `validate()` method to entity classes

In Drupal 8, classes that are used in order to implement a content entity (which extend the ContentEntityBase class) have a validate() method that validates the values entered when creating the entity.

A similar method should be introduced in Backdrop and added to EntityInterface.

GitHub Link: 
https://github.com/backdrop/backdrop-issues/issues/6061
GitHub Issue #: 
6061

Weekly office hours

Bring your questions to our weekly virtual office hours, every Wednesday. Everyone is welcome.

Recent topics

Your most useful type fields for Paragraphs

Posted 21 hours 9 min ago by (BKaernel) in Requests and Feedback

new module Theme Designer Toolkit

Posted 1 day 17 hours ago by (shabib) in Requests and Feedback

Weekly Meetings Nov 26th 2026

Posted 1 day 20 hours ago by (indigoxela) in Weekly Meetings

Recent comments

I created Paragraphs Aplenty (partly a port of a Drupal module) which provides a bunch of useful paragraph types. Feel free to use or be inspired for your own. The one thing I provides...

Posted 6 hours 57 min ago by (herb) on:

Your most useful type fields for Paragraphs

I use Paragraphs a lot too. A module I created quite recently and have just expanded the capabilities is Heading Style Field. You can select the style of the heading from No heading and No style...

Posted 19 hours 25 min ago by Martin Price (yorkshirepudding) on:

Your most useful type fields for Paragraphs

Paragraphs are awesome. I always use them, when editors should be able to create appealing (landing) pages without ever messing with markup. Editors usually love that workflow. They...

Posted 20 hours 42 min ago by (indigoxela) on:

Your most useful type fields for Paragraphs

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org