move field data 'sanitize' to #pre_render ?

yched - February 9, 2009 - 20:47
Project:Drupal
Version:7.x-dev
Component:field system
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm not too fond of the way we currently handle the 'sanitize' step (where field module should run check_markup() and stuff if needed) - currently on field_attach_view() , before building the render arrays in field_default_view().
It might be better suited as a pre_render step.

Leaving this as a reminder for further pondering.

#1

yched - February 10, 2009 - 12:20

We might want to piggyback what comes out of #369011: Performance: do check_markup() in text_field_load()

 
 

Drupal is a registered trademark of Dries Buytaert.