You are here

public function CalenderOverviewFilterForm::buildForm in Content Planner 8

Form constructor.

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 The form structure.

Overrides FormInterface::buildForm

File

modules/content_calendar/src/Form/CalenderOverviewFilterForm.php, line 23

Class

CalenderOverviewFilterForm

Namespace

Drupal\content_calendar\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, $params = []) {

  // Add Calendar select box.
  $this
    ->addCalendarYearSelectBox($form, $form_state, $params);
  $this
    ->addJumpLinks($form, $form_state, $params);
  return $form;
}