SetSubtreesCommand

Defines an AJAX command that sets the toolbar subtrees. Hierarchy class \Drupal\toolbar\Ajax\SetSubtreesCommand implements CommandInterface File core/modules/toolbar/src/Ajax/SetSubtreesCommand.php, line 10 Namespace Drupal\toolbar\Ajax Members Name Modifiers Type Description SetSubtreesCommand::$subtrees protected property The toolbar subtrees. SetSubtreesCommand::render public function Return an array to be run through json_encode and sent to the client. Overri

SetFormCommand::__construct

public SetFormCommand::__construct($url) Constructs a SetFormCommand object. Parameters string $url: The URL of the form. File core/modules/views_ui/src/Ajax/SetFormCommand.php, line 27 Class SetFormCommand Provides an AJAX command for setting a form submit URL in modal forms. Namespace Drupal\views_ui\Ajax Code public function __construct($url) { $this->url = $url; }

SetFormCommand::render

public SetFormCommand::render() Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render File core/modules/views_ui/src/Ajax/SetFormCommand.php, line 34 Class SetFormCommand Provides an AJAX command for setting a form submit URL in modal forms. Namespace Drupal\views_ui\Ajax Code public function render() { return array( 'command' => 'viewsSetForm', 'url' => $this->url, ); }

SetFormCommand::$url

The URL of the form. Type: string File core/modules/views_ui/src/Ajax/SetFormCommand.php, line 19 Class SetFormCommand Provides an AJAX command for setting a form submit URL in modal forms. Namespace Drupal\views_ui\Ajax Code protected $url;

SetFormCommand

Provides an AJAX command for setting a form submit URL in modal forms. This command is implemented in Drupal.AjaxCommands.prototype.viewsSetForm. Hierarchy class \Drupal\views_ui\Ajax\SetFormCommand implements CommandInterface File core/modules/views_ui/src/Ajax/SetFormCommand.php, line 12 Namespace Drupal\views_ui\Ajax Members Name Modifiers Type Description SetFormCommand::$url protected property The URL of the form. SetFormCommand::render public function Retur

SetDialogTitleCommand::__construct

public SetDialogTitleCommand::__construct($selector, $title) Constructs a SetDialogTitleCommand object. Parameters string $selector: The selector of the dialog whose title will be set. If set to an empty value, the default modal dialog will be selected. string $title: The title that will be set on the dialog. Overrides SetDialogOptionCommand::__construct File core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.php, line 21 Class SetDialogTitleCommand Defines an AJAX command that sets jQuery U

SetDialogTitleCommand

Defines an AJAX command that sets jQuery UI dialog properties. Hierarchy class \Drupal\Core\Ajax\SetDialogOptionCommand implements CommandInterfaceclass \Drupal\Core\Ajax\SetDialogTitleCommand Related topics Ajax API Overview for Drupal's Ajax API. File core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.php, line 10 Namespace Drupal\Core\Ajax Members Name Modifiers Type Description SetDialogOptionCommand::$optionName protected property A jQuery UI dialog option name. S

SetDialogOptionCommand::__construct

public SetDialogOptionCommand::__construct($selector, $option_name, $option_value) Constructs a SetDialogOptionCommand object. Parameters string $selector: The selector of the dialog whose title will be set. If set to an empty value, the default modal dialog will be selected. string $option_name: The name of the option to set. May be any jQuery UI dialog option. See http://api.jqueryui.com/dialog. mixed $option_value: The value of the option to be passed to the dialog. File core/lib/Drupal/Cor

SetDialogOptionCommand::render

public SetDialogOptionCommand::render() Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render File core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php, line 54 Class SetDialogOptionCommand Defines an AJAX command that sets jQuery UI dialog properties. Namespace Drupal\Core\Ajax Code public function render() { return array( 'command' => 'setDialogOption', 'selector' => $this->selector, 'optionName' => $this-&g

SetDialogOptionCommand::$selector

A CSS selector string. Type: string File core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php, line 17 Class SetDialogOptionCommand Defines an AJAX command that sets jQuery UI dialog properties. Namespace Drupal\Core\Ajax Code protected $selector;