public static function SchemaMetatagManagerInterface::arrayTrim in Schema.org Metatag 7
Remove empty values from a nested array.
If the result is an empty array, the nested array is completely empty.
Parameters
array $array: The array to assess.
Return value
array The original array with empty values removed.
1 method overrides SchemaMetatagManagerInterface::arrayTrim()
- SchemaMetatagManager::arrayTrim in src/
SchemaMetatagManager.php - Remove empty values from a nested array.
File
- src/
SchemaMetatagManagerInterface.php, line 139
Class
- SchemaMetatagManagerInterface
- Interface SchemaMetatagManagerInterface.
Code
public static function arrayTrim($array);