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

Taxonomy term description at bottom?

Posted 1 day 14 hours ago by (AvdW) in How-To and Troubleshooting

Error when trying to check for updates

Posted 1 week 2 days ago by (Enthusiast) in Requests and Feedback

Use visibility User by uid

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

Recent comments

Thanks, bugfolder! (if only I had added another page before panicking)

Posted 1 day 13 hours ago by (AvdW) on:

Taxonomy term description at bottom?

This issue just got fixed in core code: https://github.com/backdrop/backdrop-issues/issues/7060 You can apply the patch from this PR to your installation: https://github.com/...

Posted 1 day 13 hours ago by (bugfolder) on:

Taxonomy term description at bottom?

There was a Layout Paragraphs update recently in the Backdrop news feed.

Posted 4 days 8 hours ago by laryn (laryn) on:

Layout Paragraphs?

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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