InputfieldSubmit::setSecondary()

Make this button secondary? (slightly faded)

Note: by default, buttons are not secondary

Usage

// basic usage
$inputfieldSubmit->setSecondary();

// usage with all arguments
$inputfieldSubmit->setSecondary(bool $secondary = true);

Arguments

NameType(s)Description
$secondary (optional)bool

Default=true

Return value

$this

Object instance it was called from (method supports fluent interface).


InputfieldSubmit methods and properties

API reference based on ProcessWire core version 3.0.251