Field::hasTag() method

Return true if this field has the given tag or false if not

Available since version 3.0.106.

Usage

$bool = $field->hasTag(string $tag);

Arguments

NameType(s)Description
$tagstring

Return value

bool


$field methods and properties

API reference based on ProcessWire core version 3.0.252