- Issue created by @promo-il
- 🇮🇳India sarwan_verma
@Promo-IL
I have fixed Drupal 10 compatibility, it is working fine.
Patch is also attached, please review it. - Status changed to Needs review
about 1 year ago 1:31pm 10 October 2023
schemadata.info.yml
type: module
core: 8.x
#core_version_requirement: ^8 || ^9
core_version_requirement: ^8 || ^9 || ^10
\src\Controller\SchemadataController.php
public function explain_table($table_name = NULL) {
$title = "Detail view of '$table_name' table";
$request = \Drupal::request();
/*D10*/
//if ($route = $request->attributes->get(\Symfony\Cmf\Component\Routing\RouteObjectInterface::ROUTE_OBJECT)) {
if ($route = $request->attributes->get(\Drupal\Core\Routing\RouteObjectInterface::ROUTE_OBJECT)) {
/*<<<*/
$route->setDefault('_title', $title);
Needs review
2.0
Code
@Promo-IL
I have fixed Drupal 10 compatibility, it is working fine.
Patch is also attached, please review it.