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 18 hours ago by (Mike Kettle) in How-To and Troubleshooting

Problem with Field image • Select existing file

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

Reuse a group • Module GROUP FIELD

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

Recent comments

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 25 min 47 sec 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 7 hours 51 min ago by (shabib) on:

Themes config folder

Installed the module. I've created a view that shows the NiD and Title which should be all I need to add the NiD to the original import data. How do I: "Add a new "Data export...

Posted 11 hours 25 min ago by (Mike Kettle) on:

Updating a previous feeds import?

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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