By admin , 22 September, 2025 Rename existing custom module UPDATE config SET name = REPLACE(name, 'custom_complaint', 'custom_feedback') WHERE name LIKE 'custom_complaint%'; UPDATE config Tags module
By admin , 11 December, 2023 Check if module exists and enabled $moduleHandler = \Drupal::service('module_handler'); if ($moduleHandler->moduleExists('my_module')) { // Code Here. } Tags service module