Drupal 8 does not allow to enable/disable modules like previous versions.
You have to completely uninstall a module to get rid of it.
You can install the module be:
<?php
\Drupal::service('module_installer')->install(['admin_toolbar']);?>
You can uninstall the module by:
<?php
\Drupal::service('module_installer')->uninstall(['admin_toolbar']);?>
You have to completely uninstall a module to get rid of it.
You can install the module be:
<?php
\Drupal::service('module_installer')->install(['admin_toolbar']);?>
You can uninstall the module by:
<?php
\Drupal::service('module_installer')->uninstall(['admin_toolbar']);?>
No comments:
Post a Comment