Is there any way to get content of the body field inside computed field?
$node->body contains others fields also, I tried $node->content['body']['#value'] but it doesn't work for me.

Comments

jkristos’s picture

I would love to know the same thing. I have tried that method, and every other way of capturing that data I could think of, with no luck.
You can certainly can print the body field in a template that way though.

colan’s picture

Status: Active » Closed (won't fix)

Version 5 is no longer supported.