public function sCreateRewriteTableContent($offset = null,
$limit = null, ?ShopContextInterface
$context = null
) { // form urls
$this->
insertFormUrls($offset,
$limit,
$context);
// static pages urls
$this->
insertStaticPageUrls($offset,
$limit,
$context);
} public function createSingleContentTypeUrl(Type
$type): void
{ if (!
$type->
isShowInFrontend()) { return;
} $translator =
Shopware()->
Container()->
get(FrontendTypeTranslatorInterface::
class);
$type =
$translator->
translate($type);
// insert controller, itself
$path =
$type->
getName() . '/';
$path =
$this->
sCleanupPath($path);
$this->
sInsertUrl('sViewport=' .
$type->
getControllerName() . '&sAction=index',
$path);
}