SplitButtonItems

Read onlyYes
FinalYes

SplitButtonItems

Type-safe container for split button items.

A split button consists of one primary action button and an array of option buttons shown in a dropdown menu. This DTO ensures type safety and prevents the use of magic array keys.

Internal

This is a concrete implementation and not part of the TYPO3 Public API.

Table of Contents

Properties

$options  : array<string|int, mixed>
$primary  : AbstractButton

Methods

__construct()  : mixed
isValid()  : bool
Checks if the split button has a valid configuration.

Properties

$options

public array<string|int, mixed> $options

Methods

isValid()

Checks if the split button has a valid configuration.

public isValid() : bool
Return values
bool

True if primary action exists and at least one option is available


        
On this page

Search results