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

Updating a previous feeds import?

Posted 1 day 22 hours ago by (Mike Kettle) in How-To and Troubleshooting

Problem with Field image • Select existing file

Posted 5 days 1 hour ago by (BKaernel) in How-To and Troubleshooting

Reuse a group • Module GROUP FIELD

Posted 5 days 4 hours ago by (BKaernel) in How-To and Troubleshooting

Recent comments

1.x-1.0.1 – Improvements and Bug Fixes Improved styling for forms, tables, Views, tabs, pagers, and status messages. Enhanced responsive navigation and...

Posted 32 min 11 sec ago by (shabib) on:

Free Backdrop Theme built on Tailwind CSS v3 (Based on Basis) - Seeking Feedback & Ideas!

Hi Mike, to add a "Data export" display, click the +Add button and choose "Data export" (see screenshot below). You even don't need the "Page" display, by the way. If you keep it and...

Posted 4 hours 35 min ago by Olaf Grabienski (Olafski) on:

Updating a previous feeds import?

Although this is an old topic, I think it is still relevant today. The ability to include a `config` folder in themes opens up many possibilities for theme designers. It allows themes to...

Posted 12 hours 1 min ago by (shabib) on:

Themes config folder

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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