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