Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I associate my own properties with a ContentEntityObject?

Associate properties
0
Posted

How do I associate my own properties with a ContentEntityObject?

0

You will need the ContentEntityManager (see how to retrieve it). This manager allows you to store and retrieve arbitrary String values associated with a ContentEntityObject. Properties are stored as simple key/value pairs. We recommend that anyone writing a third-party plugin use the standard Java “reverse domain name” syntax to ensure their keys are unique. Keys may be no longer than 200 characters.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.