Form constructor.
array $form: An associative array containing the structure of the form.
array $form_state: An associative array containing the current state of the form.
array The form structure.
Overrides FormInterface::buildForm
public function buildForm(array $form, array &$form_state) {
$form['view'] = array(
'#type' => 'view',
'#name' => 'test_view',
'#display_id' => 'default',
'#arguments' => array(
25,
),
);
return $form;
}