Tuesday 1 December 2015

Check wether the module exist or not in drupal 8


\Drupal::moduleHandler()->moduleExists("module_name");

No comments:

Post a Comment