Field::setSetupName() method

Set setup name from Fieldtype to apply when field is saved

Usage

// basic usage
$string = $field->setSetupName();

// usage with all arguments
$string = $field->setSetupName(string $setupName = null);

Arguments

NameType(s)Description
$setupName (optional)string

Setup name or omit to instead get the current value

Return value

string

Returns current value


$field methods and properties

API reference based on ProcessWire core version 3.0.251