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