function Htmx::getHeaders

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Htmx/Htmx.php \Drupal\Core\Htmx\Htmx::getHeaders()

Get the header storage.

Return value

\Symfony\Component\HttpFoundation\HeaderBag The header storage.

File

core/lib/Drupal/Core/Htmx/Htmx.php, line 320

Class

Htmx
Presents the HTMX controls for developers to use with render arrays.

Namespace

Drupal\Core\Htmx

Code

public function getHeaders() : HeaderBag {
  return $this->headers;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.