I'm using ctools_context_handler_render() function to render a panels task programmatically.
To make it work properly, I'm prepared and passed an array of contexts.

And all is ok, except logic of ctools_entity_from_field_context() function — for some reason entity loaded again, while it's already available in context's data property.

In most of the cases there is no difference but in my case I want to have exactly the same $context->data object, which is modified cloned entity object, while entity_load() will load vanilla/cached entity.

So I wonder, why $context->data is not used?

Comments

IRuslan created an issue. See original summary.

MustangGB’s picture

Status: Active » Closed (outdated)