function Htmx::removeAttribute
Removes an attribute from the attribute store.
Parameters
string $name: The attribute name to remove.
Return value
static Returns this object to allow chaining methods.
File
-
core/
lib/ Drupal/ Core/ Htmx/ Htmx.php, line 281
Class
- Htmx
- Presents the HTMX controls for developers to use with render arrays.
Namespace
Drupal\Core\HtmxCode
public function removeAttribute(string $name) : static {
$this->attributes
->removeAttribute($name);
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.