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

How to Improve SEO Performance in Backdrop CMS

Posted 6 days 10 hours ago by (Tech jainya) in How-To and Troubleshooting

Autocomplete Deluxe - best D7 pick autocomplete taging

Posted 1 week 1 day ago by (zincica) in Initiatives

Page navigation also above the page content?

Posted 1 week 3 days ago by (opentype) in How-To and Troubleshooting

Recent comments

https://backdropcms.org/project/metatag https://backdropcms.org/project/xmlsitemap https://backdropcms.org/project/imagefield_tokens These are more powerful modules, in my opinion...

Posted 2 days 7 hours ago by (Enthusiast) on:

How to Improve SEO Performance in Backdrop CMS

I recently did this for my website and it increased my PageSpeed score significantly. I just installed and configured the following modules: Alt/Title Default (to set default...

Posted 6 days 8 hours ago by (NormPlum) on:

How to Improve SEO Performance in Backdrop CMS

Welcome to Backdrop CMS! To start, I recommend two basic modules: https://backdropcms.org/project/seo_meta and https://backdropcms.org/project/easy_xmlsitemap.  I hope they are...

Posted 6 days 10 hours ago by (findlabnet) on:

How to Improve SEO Performance in Backdrop CMS

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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