@@ -76,6 +76,12 @@ public function __construct($selector, string|\Stringable|null $title, $content,
$title=PlainTextOutput::renderFromHtml($title);
$dialog_options+=['title'=>$title];
if(isset($dialog_options['dialogClass'])){
@trigger_error('Passing $dialog_options[\'dialogClass\'] to OpenDialogCommand::__construct() is deprecated in drupal:10.3.0 and will be removed in drupal:12.0.0. Use $dialog_options[\'classes\'] instead. See https://www.drupal.org/node/3440844',E_USER_DEPRECATED);