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

Write Permission Problems on files, ../private and /tmp on my Laptop

Posted 20 hours 6 min ago by Francis Greaves (themetman) in How-To and Troubleshooting

Disappearing administration bar. Is this a Leaflet or a Backdrop bug?

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

CKEditor Inline Images not saved as Permanent in Term descriptions

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

Recent comments

I don't have leaflet, but I have experienced random disappearances of the bar over the years. I quit spending time on it, but not before adjusting the css spacing, which did reduce the number of...

Posted 9 hours 22 min ago by (DanM) on:

Disappearing administration bar. Is this a Leaflet or a Backdrop bug?

OK, @izmeez, well I have just created a Virtual Machine running Ubuntu 24 and installed the same Backdrop Site as is on the Laptop and It is working fine, so there must be something odd about...

Posted 17 hours 49 min ago by Francis Greaves (themetman) on:

Write Permission Problems on files, ../private and /tmp on my Laptop

Nope, SELinux is not installed. I am running Ubuntu with the KDE Plasma Desktop. Aparmour is enabled by default on both machines I have enabled another site on the Laptop and am...

Posted 18 hours 50 min ago by Francis Greaves (themetman) on:

Write Permission Problems on files, ../private and /tmp on my Laptop

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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