I'm looking into creating a Drupal 7 custom entity for panels pages created with ctools Page Manager, in order to index this content with the Search API. An existing project, Page Manager Search, seems to be doing just that, but I'm hitting an issue where an exception thrown when attempting to index. So I wanted to better understand the process, and whether or not it's recommended / feasible to build a custom entity off of existing data.

From what I've seen in the Page Manager Search project, it looks like it's maybe possible to create a custom entity without using hook_schema(). Anyone have any experience doing so, and any potential pitfalls?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.