public function match(View $view) { if (!$view instanceof LocationValueView) { return false; } $parent = $this->loadParentLocation($view->getLocation()->parentLocationId); return isset($this->values[$parent->getContentInfo()->contentTypeId]); }