Change record status: 
Project: 
Introduced in branch: 
11.4.x
Introduced in version: 
11.4.0
Description: 

Instead of using hide() and show() functions, use inline #printed flag manipulation to control render array output:

Before Now
hide($element);
$element['#printed'] = TRUE;
show($element);
$element['#printed'] = FALSE;
Impacts: 
Module developers
Themers