Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Classes/Frontend/BackendEditorUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
namespace FriendsOfTYPO3\Headless\Frontend;

use TYPO3\CMS\Backend\Routing\UriBuilder;
use TYPO3\CMS\Core\Attribute\AsAllowedCallable;

/**
* @codeCoverageIgnore
Expand All @@ -20,11 +21,13 @@ class BackendEditorUrl
{
public function __construct(protected UriBuilder $uriBuilder) {}

#[AsAllowedCallable]
public function page(): string
{
return $this->generateUrl('pages');
}

#[AsAllowedCallable]
public function record(): string
{
return $this->generateUrl();
Expand Down
Loading