Skip to main content
removed tags from the title
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

Drupal 8 - How install a module without break the installation if error

When I install my module, if I have anget the following error, by exemple :

Declaration of Drupal\media_gallery\Form\GalleryForm::create() must be compatible with Drupal\Core\DependencyInjection\ContainerInjectionInterface::create(Symfony\Component\DependencyInjection\ContainerInterface $container) in

Declaration of Drupal\media_gallery\Form\GalleryForm::create() must be compatible with Drupal\Core\DependencyInjection\ContainerInjectionInterface::create(Symfony\Component\DependencyInjection\ContainerInterface $container) in

After I can't uninstall my module and I need to re-install all drupalDrupal 8, since my module is not displayed insidein the uninstall tab.

Have you a solution for don't break the installer please How can I fix this without re-installing Drupal 8? Thanks.

Drupal 8 - How install a module without break the installation if error

When I install my module, if I have an error, by exemple :

Declaration of Drupal\media_gallery\Form\GalleryForm::create() must be compatible with Drupal\Core\DependencyInjection\ContainerInjectionInterface::create(Symfony\Component\DependencyInjection\ContainerInterface $container) in

After I can't uninstall my module and need to re-install all drupal 8, my module is not displayed inside the uninstall tab.

Have you a solution for don't break the installer please ? Thanks.

How install a module without break the installation if error

When I install my module, I get the following error:

Declaration of Drupal\media_gallery\Form\GalleryForm::create() must be compatible with Drupal\Core\DependencyInjection\ContainerInjectionInterface::create(Symfony\Component\DependencyInjection\ContainerInterface $container) in

I can't uninstall my module and I need to re-install all Drupal 8, since my module is not displayed in the uninstall tab.

How can I fix this without re-installing Drupal 8?

Source Link
Axel Briche
  • 2k
  • 5
  • 18
  • 30

Drupal 8 - How install a module without break the installation if error

When I install my module, if I have an error, by exemple :

Declaration of Drupal\media_gallery\Form\GalleryForm::create() must be compatible with Drupal\Core\DependencyInjection\ContainerInjectionInterface::create(Symfony\Component\DependencyInjection\ContainerInterface $container) in

After I can't uninstall my module and need to re-install all drupal 8, my module is not displayed inside the uninstall tab.

Have you a solution for don't break the installer please ? Thanks.