CreateSiteConfiguration

Hook for creating a basic site configuration for new pages on root level.

Internal

This class is a hook implementation and is not part of the TYPO3 Core API.

Table of Contents

Properties

$allowedPageTypes  : array<string|int, int>

Methods

processDatamap_afterDatabaseOperations()  : void
generateSiteConfigurationForRootPage()  : void
getNormalizedParams()  : NormalizedParams
siteExistsByRootPageId()  : bool
Checks whether a site exists by its root page. Sets up a new SiteFinder instance
updateSlugForPage()  : void
Updates the slug of the given pageId by spinning up a new DataHandler instance.

Properties

$allowedPageTypes

protected array<string|int, int> $allowedPageTypes = [\TYPO3\CMS\Core\Domain\Repository\PageRepository::DOKTYPE_DEFAULT, \TYPO3\CMS\Core\Domain\Repository\PageRepository::DOKTYPE_LINK, \TYPO3\CMS\Core\Domain\Repository\PageRepository::DOKTYPE_SHORTCUT]

Methods

processDatamap_afterDatabaseOperations()

public processDatamap_afterDatabaseOperations(string $status, string $table, mixed $id, array<string|int, mixed> $fieldValues, DataHandler $dataHandler) : void
Parameters
$status : string
$table : string
$id : mixed
$fieldValues : array<string|int, mixed>
$dataHandler : DataHandler

siteExistsByRootPageId()

Checks whether a site exists by its root page. Sets up a new SiteFinder instance

protected siteExistsByRootPageId(int $rootPageId) : bool
Parameters
$rootPageId : int

the page ID (default language)

Return values
bool

updateSlugForPage()

Updates the slug of the given pageId by spinning up a new DataHandler instance.

protected updateSlugForPage(int $pageId) : void
Parameters
$pageId : int

        
On this page

Search results