Skip to content
Snippets Groups Projects
Commit d259b5c6 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2166059 by yched: Leftover commented-out code after 'Page object' patch.

parent 1d02be7f
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -56,12 +56,6 @@ public function enhance(array $defaults, Request $request) {
$defaults['_controller'] = $this->types[$type];
}
}
// When the dialog attribute is TRUE this is a DialogController sub-request.
// Route the sub-request to the _content callable.
//if ($request->attributes->get('dialog') && !empty($defaults['_content'])) {
// $defaults['_controller'] = $defaults['_content'];
//}
return $defaults;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment