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

New here โ€” excited to learn more about Backdrop CMS

Posted 1 day 15 hours ago by Emdadul Huq (emdadulhuq) in Other

I need to understand how active and staging folders work โ€“ configuration management

Posted 1 day 20 hours ago by (paucku) in How-To and Troubleshooting

Problem upon submission

Posted 2 days 18 hours ago by (onyx) in How-To and Troubleshooting

Recent comments

I'll be very happy to test this and will report back.

Posted 14 hours 17 min ago by Martin Jones (nattyweb) on:

Database update warning - but no pending updates

For anyone interested in an improvement to the Status report that should help with this, please see this issue and the associated pull request: https://github.com/backdrop/backdrop-issues/...

Posted 16 hours 19 min ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

Database update warning - but no pending updates

@paucku I note from this issue here: https://github.com/backdrop-contrib/domain/issues/71 That you started getting this config formatting after changing the module to what Chat...

Posted 19 hours 12 min ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

I need to understand how active and staging folders work โ€“ configuration management

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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