BookmarkVoter uses RouteParserTrait
Read onlyYes
FinalYes
This class is a specific Backend implementation and is not considered part of the Public TYPO3 API.
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Constants
Properties
- $logger : LoggerInterface
- $moduleProvider : ModuleProvider
- $router : Router
- $storageRepository : StorageRepository
Methods
- __construct() : mixed
- vote() : bool
- getRouter() : Router
Constants
CREATE
public
mixed
CREATE
= 'create'
DELETE
public
mixed
DELETE
= 'delete'
EDIT
public
mixed
EDIT
= 'edit'
NAVIGATE
public
mixed
NAVIGATE
= 'navigate'
READ
public
mixed
READ
= 'read'
Properties
$logger
protected
LoggerInterface
$logger
$moduleProvider
protected
ModuleProvider
$moduleProvider
$router
protected
Router
$router
$storageRepository
protected
StorageRepository
$storageRepository
Methods
__construct()
public
__construct(ModuleProvider $moduleProvider, Router $router, LoggerInterface $logger, StorageRepository $storageRepository) : mixed
Parameters
- $moduleProvider : ModuleProvider
- $router : Router
- $logger : LoggerInterface
- $storageRepository : StorageRepository
vote()
public
vote(string $attribute, array<string|int, mixed> $bookmark, BackendUserAuthentication $user) : bool
Parameters
- $attribute : string
- $bookmark : array<string|int, mixed>
- $user : BackendUserAuthentication
Return values
boolgetRouter()
protected
getRouter() : Router