public static function HudtInternal::removeEmptyArrayElements in Hook Update Deploy Tools 7
Remove empty string elements from supplied array.
Parameters
array $array_to_clean: An array of values.
1 call to HudtInternal::removeEmptyArrayElements()
- Redirects::parseList in src/
Redirects.php - Create redirects from a list of redirects.
File
- src/
HudtInternal.php, line 231
Class
- HudtInternal
- Methods for processes internal to Hook Deploy Update Tools.
Namespace
HookUpdateDeployToolsCode
public static function removeEmptyArrayElements(&$array_to_clean) {
$array_to_clean = array_diff($array_to_clean, array(
'',
));
}