7 - Custom entity with existing data

by nicolekanderson   Last Updated December 14, 2017 20:07 PM

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?

Tags : 7 entities ctools

Related Questions

Dependent selects in Ctools modal

Updated June 08, 2015 12:03 PM