Skip to main content
backdrop Backdrop Forum
  • Welcome!
    • Login
    • Register
  • Forum
  • FAQ
  • Following
  • About
  • Wishlist
  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

Create a new theme - Starter theme

Posted 2 days 19 hours ago by (BKaernel) in How-To and Troubleshooting

missing "add block" in custom layout

Posted 1 week 16 hours ago by (pgrayove) in How-To and Troubleshooting

Unable to run update - fails with Connection timed out

Posted 1 week 2 days ago by (lias) in How-To and Troubleshooting

Recent comments

Wow, many thanks for keeping on digging. You finally found it! Yes, now I can reproduce the problem, as soon as I switch to "Use map defined setting" in the view's zoom setting section...

Posted 14 hours 14 min ago by (indigoxela) on:

Disappearing administration bar. Is this a Leaflet or a Backdrop bug?

Thank you for these clarifications.  In a few days I'll tell you more...

Posted 14 hours 31 min ago by (BKaernel) on:

Create a new theme - Starter theme

I did a bit more testing again using a new content type. It seems the problem with no sane default map zoom level is with all the maps from Leaflet More Maps (I did not try all of them, but...

Posted 16 hours 35 min ago by (Ernst) on:

Disappearing administration bar. Is this a Leaflet or a Backdrop bug?

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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