You are here

public static function RenderHelper::filterVisibleElementChildren in Helper 7

File

lib/RenderHelper.php, line 36

Class

RenderHelper

Code

public static function filterVisibleElementChildren(array $elements) {
  return array_intersect_key($elements, array_flip(element_get_visible_children($elements)));
}