You are here

public function HeartbeatUpdateFeedForm::updateFeedCommand in Heartbeat 8

File

src/Form/HeartbeatUpdateFeedForm.php, line 144

Class

HeartbeatUpdateFeedForm
Class HeartbeatUpdateFeedForm.

Namespace

Drupal\heartbeat\Form

Code

public function updateFeedCommand() {
  $feedUpdateConfig = new \stdClass();
  $feedUpdateConfig->feed = 'Node Activity';
  $feedUpdateConfig->update = true;
  $feedUpdateConfig->timestamp = 123456789;
  $updateCommand = new UpdateFeedCommand($feedUpdateConfig);
  return $updateCommand;
}