protected function getPages(ServiceLocatorInterface $serviceLocator)
 {
     if (null === $this->pages) {
         $pages = parent::getPages($serviceLocator);
         /** @var Configuration $configuration */
         $configuration = $serviceLocator->get('EnliteAdminConfiguration');
         if ($configuration->getEnableNavigation()) {
             $this->pages = ArrayUtils::merge($pages, $this->getEntitiesPage($serviceLocator));
         }
     }
     return $this->pages;
 }