You are here

public function AppService::buildParametersForm in Forena Reports 8

Parameters

array $parmaters: Parameter used to buidl the form.

Return value

array

1 method overrides AppService::buildParametersForm()
TestingAppService::buildParametersForm in tests/src/Unit/Mock/TestingAppService.php

File

src/AppService.php, line 252

Class

AppService

Namespace

Drupal\forena

Code

public function buildParametersForm($parameters) {
  if ($parameters) {
    return \Drupal::formBuilder()
      ->getForm('\\Drupal\\forena\\Form\\ParameterForm', $parameters);
  }
  else {
    return [];
  }
}