public function HeartbeatFeedForm::updateFeed in Heartbeat 8
Parameters
array $form:
FormStateInterface $form_state:
Return value
File
- src/
Form/ HeartbeatFeedForm.php, line 128
Class
- HeartbeatFeedForm
- Class HeartbeatFeedForm.
Namespace
Drupal\heartbeat\FormCode
public function updateFeed(array &$form, FormStateInterface $form_state) {
$response = new AjaxResponse();
$response
->addCommand(new SelectFeedCommand($form_state
->getValue('feedtabs')));
return $response;
}