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
1 2 3 | public static function moduleHandler() { return static ::getContainer()->get( 'module_handler' ); } |
Please login to continue.