You are here

public static function RenderHelper::filterElementChildren in Helper 7

File

lib/RenderHelper.php, line 32

Class

RenderHelper

Code

public static function filterElementChildren(array $elements) {
  return array_intersect_key($elements, array_flip(element_children($elements)));
}