$ret[]=Analyzer::formatMessage(t('Some roles lack permission to access content, but display %display has no access control.',array('%display'=>$display->display['display_title'])),'warning');
$ret[]=Analyzer::formatMessage(t('Display %display has no access control but does not contain a filter for published nodes.',array('%display'=>$display->display['display_title'])),'warning');
}
}
}
}
foreach($view->displayHandlersas$display){
if($display->getPluginId()=='page'){
if($display->getOption('path')=='node/%'){
$ret[]=Analyzer::formatMessage(t('Display %display has set node/% as path. This will not produce what you want. If you want to have multiple versions of the node view, use panels.',array('%display'=>$display->display['display_title'])),'warning');