Field::setDescription() method
Set description, optionally for a specific language
Available since version 3.0.16. Added for consistency, all versions can still set property directly.
Usage
// basic usage
$field->setDescription(string $text);
// usage with all arguments
$field->setDescription(string $text, $language = null);Arguments
| Name | Type(s) | Description |
|---|---|---|
$text | string | Text to set |
$language (optional) | Language string int null | Language to use |
API reference based on ProcessWire core version 3.0.252