0

I'm implementing custom Views field handler and need to add entity_id-based class to the row. When the field is enabled in view it should add class to the whole row.

  • Refer this one – Abin Aug 19 '15 at 10:41
  • Thanks, Abin, but it doesn't suit my needs. I need completely standalone solution within my handler code. – Artreaktor Aug 19 '15 at 10:44
  • 1
    My first thought is to use a template_preprocess_field hook on this. Otherwise, a Views post-render? – alex laughnan Aug 24 '15 at 4:23

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.