0

I'd like to add a column to an existing view programmatically - but only temporarily.

For instance, there is a node in the html table produced by the view. I'm gathering data from a third party api related to that node, and I'd like to present that data in the view alongside the node data.

I have looked at:

Changing the List Builder Class using the hook_entity_type_alter and trying to alter the data using hook_views_post_execute, without success.

It seems like I might be able to do it with a template hook, but that also seems like the wrong place.

Thanks

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.