protected function applyBlacklist(array $items, array $blacklist)
{
$blacklist = array_unique($blacklist);
if (0 < count($blacklist)) {
foreach ($blacklist as $contentElementType) {
foreach ($items as $name => $item) {
if ($item['tt_content_defValues']['CType'] === $contentElementType) {
unset($items[$name]);
}
}
}
}
return $items;
}