You are here

public function ConfigureActivityForm::buildOptions in Activity 8

Window interval.

1 call to ConfigureActivityForm::buildOptions()
ConfigureActivityForm::buildForm in src/Form/ConfigureActivityForm.php
Form constructor.

File

src/Form/ConfigureActivityForm.php, line 297

Class

ConfigureActivityForm
Configure activities form.

Namespace

Drupal\activity\Form

Code

public function buildOptions(array $timeIntervals) {
  $callback = [
    $this,
    'callbackOptions',
  ];
  return array_combine($timeIntervals, array_map($callback, $timeIntervals));
}