/** * Check if there are localized records with * tx_powermail_domain_model_pages.forms = 0 * * @return bool */ public function render() { $pages = $this->pageRepository->findAllWrongLocalizedPages(); if (count($pages) > 0) { return false; } return true; }