Add one or more tags
Available since version 3.0.106.
Usage
$array = $field->addTag(string $tag);
Arguments
Name | Type(s) | Description |
---|---|---|
tag | string |
Return value
array
Returns current tag list
API reference based on ProcessWire core version 3.0.236
“To Drupal, or to ProcessWire? The million dollar choice. We decided to make an early switch to PW. And in retrospect, ProcessWire was probably the best decision we made. Thanks are due to ProcessWire and the amazing system and set of modules that are in place.” —Unni Krishnan, Founder of PigtailPundits