Drupal::moduleHandler

public static Drupal::moduleHandler()

Returns the module handler.

Return value

\Drupal\Core\Extension\ModuleHandlerInterface

File

core/lib/Drupal.php, line 470
Contains \Drupal.

Class

Drupal
Static Service Container wrapper.

Code

public static function moduleHandler() {
  return static::getContainer()->get('module_handler');
}
doc_Drupal
2016-10-29 09:02:48
Comments
Leave a Comment

Please login to continue.