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

Autocomplete Deluxe - best D7 pick autocomplete taging

Posted 22 hours 14 min ago by (zincica) in Initiatives

Page navigation also above the page content?

Posted 3 days 55 min ago by (opentype) in How-To and Troubleshooting

December 18th, 2025 - Weekly Meetings

Posted 1 week 10 hours ago by (indigoxela) in Weekly Meetings

Recent comments

Thank you very, very much :)

Posted 19 hours 8 min ago by (zincica) on:

Autocomplete Deluxe - best D7 pick autocomplete taging

It is already done, but there is not release: https://github.com/backdrop-contrib/autocomplete_deluxe I don't know what is its state.

Posted 21 hours 41 min ago by Robert Garrigos (robertgarrigos) on:

Autocomplete Deluxe - best D7 pick autocomplete taging

Hi @opentype. Thanks for confirming it worked. It is helpful for others if you can also mark the answer using the "accept this answer" button as this will show that the question has an answer...

Posted 2 days 9 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

Page navigation also above the page content?

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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