
| Current Path : /var/www/html/12park/web/modules/contrib/webform/src/Ajax/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/12park/web/modules/contrib/webform/src/Ajax/WebformHtmlCommand.php |
<?php
namespace Drupal\webform\Ajax;
use Drupal\Core\Ajax\HtmlCommand;
/**
* Provides an Ajax command for calling the jQuery html() method.
*
* This command is implemented in Drupal.AjaxCommands.prototype.webformHtml.
*/
class WebformHtmlCommand extends HtmlCommand {
/**
* Implements Drupal\Core\Ajax\CommandInterface:render().
*/
public function render() {
return [
'command' => 'webformInsert',
'method' => 'html',
'selector' => $this->selector,
'data' => $this->getRenderedContent(),
'settings' => $this->settings,
];
}
}