context->customer)) { throw new PrestaShopException($this->trans('The customer could not be found.', [], 'Shop.Notifications.Error')); } } /** * Assign template vars related to page content. * * @see FrontController::initContent() */ public function initContent(): void { parent::initContent(); $this->setTemplate('customer/addresses'); } public function getBreadcrumbLinks(): array { $breadcrumb = parent::getBreadcrumbLinks(); $breadcrumb['links'][] = $this->addMyAccountToBreadcrumb(); $breadcrumb['links'][] = [ 'title' => $this->trans('Addresses', [], 'Shop.Theme.Global'), 'url' => $this->context->link->getPageLink('addresses'), ]; return $breadcrumb; } }