code: public List<CmsProject> filterProjectsForSelector(List<CmsProject> projects) {
  
          List<CmsProject> result = new ArrayList<CmsProject>();
          for (CmsProject project : projects) {
              if (!project.isHiddenFromSelector()) {
                  result.add(project);
              }
          }
          return result;
      }
docs: Performs additional filtering on the list of projects for the project selector.<p>
  
  @param projects the original project list
  
  @return the filtered project list