$pages->findByKey()
Finds a page by its ID or URI
$pages->findByKey(string $key = null): Kirby\Cms\Page|null
Parameters
Name | Type | Default |
---|---|---|
$key | string |
null |
Return type
Kirby\Cms\Page
|null
Finds a page by its ID or URI
$pages->findByKey(string $key = null): Kirby\Cms\Page|null
Name | Type | Default |
---|---|---|
$key | string |
null |
Kirby\Cms\Page
|null