Skip to main content
edited tags
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

How todo I forcefully uninstall any module having content in it, ex: fields, nodes, or any entity?

I wannawant to uninstall Fieldthe Field module, but this module can not be uninsalleduninstalled; when I try, showing:I get the following message.

Field API to add fields to entities like nodes and users.
Machine name: field
Version: 8.0.6
Required by: TextNodeAdmin ToolbarAdmin Toolbar Extra ToolsFileOptionsAggregator (disabled)ImageAccelerated Mobile Pages (AMP) (disabled)Custom BlockBook (disabled)Text EditorCKEditorCommentInterface TranslationConfiguration Translation (disabled)

Field API to add fields to entities like nodes and users. Machine name: field Version: 8.0.6 Required by: TextNodeAdmin ToolbarAdmin Toolbar Extra ToolsFileOptionsAggregator (disabled) ImageAccelerated Mobile Pages (AMP) (disabled)Custom BlockBook (disabled)Text EditorCKEditorCommentInterface TranslationConfiguration Translation (disabled)

How todo I forcefully uninstall any module that is having dependency or content inside.

For ex: node, viewsfor example the Node module, the Views module, or any entity having content in it. I tried using?

I tried using \Drupal::service('module_installer')->uninstall(['admin_toolbar']);

  but when done for modules having content inside,then my site breaks, saying unexpected error.

How to forcefully uninstall any module having content in it, ex: fields, nodes, or any entity?

I wanna uninstall Field module but this module can not be uninsalled, showing:

Field API to add fields to entities like nodes and users.
Machine name: field
Version: 8.0.6
Required by: TextNodeAdmin ToolbarAdmin Toolbar Extra ToolsFileOptionsAggregator (disabled)ImageAccelerated Mobile Pages (AMP) (disabled)Custom BlockBook (disabled)Text EditorCKEditorCommentInterface TranslationConfiguration Translation (disabled)

How to forcefully uninstall any module that is having dependency or content inside.

For ex: node, views or any entity having content in it. I tried using

\Drupal::service('module_installer')->uninstall(['admin_toolbar']);

  but when done for modules having content inside, my site breaks, saying unexpected error.

How do I forcefully uninstall any module having content?

I want to uninstall the Field module, but this module can not be uninstalled; when I try, I get the following message.

Field API to add fields to entities like nodes and users. Machine name: field Version: 8.0.6 Required by: TextNodeAdmin ToolbarAdmin Toolbar Extra ToolsFileOptionsAggregator (disabled) ImageAccelerated Mobile Pages (AMP) (disabled)Custom BlockBook (disabled)Text EditorCKEditorCommentInterface TranslationConfiguration Translation (disabled)

How do I forcefully uninstall any module that is having dependency or content inside, for example the Node module, the Views module, or any entity having content in it?

I tried using \Drupal::service('module_installer')->uninstall(['admin_toolbar']); but then my site breaks.

edited tags
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284
edited title
Link
Sugandh Khanna
  • 3.5k
  • 5
  • 40
  • 69

How to forcefully uninstall Fieldany module having content in it, ex: fields, nodes, or any entity?

Source Link
Sugandh Khanna
  • 3.5k
  • 5
  • 40
  • 69
Loading