diff -u b/core/includes/common.inc b/core/includes/common.inc --- b/core/includes/common.inc +++ b/core/includes/common.inc @@ -3738,23 +3738,22 @@ * '#theme' => 'image', * '#attributes' => array('class' => 'foo'), * '#theme_wrappers' => array('container'), -* ); -* @endcode -* -* and we need to pass the class 'bar' as an attribute for 'container', we -* can rewrite our element thus: -* @code -* array( -* '#theme' => 'image', -* '#attributes' => array('class' => 'foo'), -* '#theme_wrappers' => array( -* 'container' => array( -* '#attributes' => array('class' => 'bar'), -* ), -* ), -* ); -* @endcode -* + * ); + * @endcode + * and we need to pass the class 'bar' as an attribute for 'container', we + * can rewrite our element thus: + * @code + * array( + * '#theme' => 'image', + * '#attributes' => array('class' => 'foo'), + * '#theme_wrappers' => array( + * 'container' => array( + * '#attributes' => array('class' => 'bar'), + * ), + * ), + * ); + * @endcode + * * - If this element has an array of #post_render functions defined, they are * called sequentially to modify the rendered #children. Unlike #pre_render * functions, #post_render functions are passed both the rendered #children