0

I would like to know how to add a class name to node title by altering the render array. I examined the wrapper object

$wrapper = entity_metadata_wrapper('node', $nid)

by using

dpm($wrapper->getPropertyInfo())

and

debug($wrapper) 

but got not the smallest idea how to change the markup of the title, i.e. adding a class name.

3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.