Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. OpenModalDialogWithUrl.php

function OpenModalDialogWithUrl::__construct

Constructs a OpenModalDialogWithUrl object.

Parameters

string $url: Only Internal URLs or URLs with the same domain and base path are allowed.

array $settings: The dialog settings.

File

core/lib/Drupal/Core/Ajax/OpenModalDialogWithUrl.php, line 29

Class

OpenModalDialogWithUrl
Provides an AJAX command for opening a modal with URL.

Namespace

Drupal\Core\Ajax

Code

public function __construct(string $url, array $settings) {
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal