public function HeartbeatController::renderFeed in Heartbeat 8
1 string reference to 'HeartbeatController::renderFeed'
File
- src/
Controller/ HeartbeatController.php, line 198
Class
- HeartbeatController
- Class HeartbeatController.
Namespace
Drupal\heartbeat\ControllerCode
public function renderFeed($arg) {
$myConfig = \Drupal::service('config.factory')
->getEditable('heartbeat_feed.settings');
$myConfig
->set('message', $arg)
->save();
\Drupal::logger('HeartbeatController')
->debug('My argument is %arg', [
'%arg' => $arg,
]);
return BlockViewBuilder::lazyBuilder('heartbeatblock', 'full');
}