DropDownHeader implements DropDownItemInterface, Stringable

DropDownHeader

This dropdown item type renders a noninteractive text element to group items and gives more meaning to a set of options.

$item = GeneralUtility::makeInstance(DropDownHeader::class) ->setLabel('Label'); $dropDownButton->addItem($item);

Table of Contents

Interfaces

DropDownItemInterface
Stringable

Properties

$label  : string|null

Methods

__toString()  : string
getLabel()  : string|null
getType()  : string
isValid()  : bool
render()  : string
setLabel()  : self

Properties

Methods

__toString()

public __toString() : string
Return values
string

getLabel()

public getLabel() : string|null
Return values
string|null

getType()

public getType() : string
Return values
string

isValid()

public isValid() : bool
Return values
bool

render()

public render() : string
Return values
string

setLabel()

public setLabel(string|null $label) : self
Parameters
$label : string|null
Return values
self

        
On this page

Search results