protected function MultiversionManager::filterNormalizedEntity in Multiversion 8
Same name and namespace in other branches
- 8.2 src/MultiversionManager.php \Drupal\multiversion\MultiversionManager::filterNormalizedEntity()
Parameters
array $normalized_entity:
1 call to MultiversionManager::filterNormalizedEntity()
File
- src/
MultiversionManager.php, line 485
Class
Namespace
Drupal\multiversionCode
protected function filterNormalizedEntity(&$normalized_entity) {
foreach ($normalized_entity as $key => &$value) {
if ($key[0] == '_') {
unset($normalized_entity[$key]);
}
elseif (is_array($value)) {
$this
->filterNormalizedEntity($value);
}
}
}