You are here

public function VarnishPurgerFormBase::buildFormHeadersRebuild in Varnish purger 8.2

Same name and namespace in other branches
  1. 8 src/Form/VarnishPurgerFormBase.php \Drupal\varnish_purger\Form\VarnishPurgerFormBase::buildFormHeadersRebuild()

Build the 'headers' section of the form: retrieves updated elements.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Return value

array

File

src/Form/VarnishPurgerFormBase.php, line 260

Class

VarnishPurgerFormBase
Abstract form base for Varnish based configurable purgers.

Namespace

Drupal\varnish_purger\Form

Code

public function buildFormHeadersRebuild(array &$form, FormStateInterface $form_state) {
  return $form['headers']['headers'];
}