Class GetPasteRootButtonEvent.

This event gets emitted when a root button get's rendered in hierarchical mode.

 Methods

Get the href for the button.

getHref() : string

Returns

string

Check if the paste button shall be disabled or not.

isPasteDisabled() : boolean

Returns

boolean

Set the href for the button.

setHref(string $href) : \ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPasteRootButtonEvent
fluent This method is part of a fluent interface and will return the same instance

Parameters

$href

string

The href.

Returns

\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPasteRootButtonEvent

Set the determinator if the button shall be disabled or not.

setPasteDisabled(boolean $pasteDisabled) : \ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPasteRootButtonEvent
fluent This method is part of a fluent interface and will return the same instance

Parameters

$pasteDisabled

boolean

The flag.

Returns

\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPasteRootButtonEvent

 Properties

 

The href information to use for the paste button.

$href : string
 

Determinator if the paste button shall be disabled.

$pasteDisabled : bool

 Constants

 

NAME

NAME