Inputfield::removeAttr()

Remove an attribute

Usage

$inputfield->removeAttr(string $key);

Arguments

NameType(s)Description
$keystring

Name of attribute to remove.

Return value

$this

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

See Also


Inputfield methods and properties

API reference based on ProcessWire core version 3.0.251