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 1 week 2 days ago by (Tech jainya) in How-To and Troubleshooting

Autocomplete Deluxe - best D7 pick autocomplete taging

Posted 1 week 5 days ago by (zincica) in Initiatives

Page navigation also above the page content?

Posted 2 weeks 11 hours ago by (opentype) in How-To and Troubleshooting

Recent comments

Hi. I use the "[node:title] | [site:name]" tokens for the main image of news articles, blog posts, and similar publications. It's a quick and practical automatic ALT.

Posted 12 hours 4 min ago by (Enthusiast) on:

How to Improve SEO Performance in Backdrop CMS

I understand how tokens work, but not so much their practical use in image alt/text (maybe caption?) text. Could you give an example or two?

Posted 14 hours 19 min ago by (DanM) on:

How to Improve SEO Performance in Backdrop CMS

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 5 days 19 hours ago by (Enthusiast) 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