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

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.