protected EntityHandlerBase::moduleHandler()
Gets the module handler.
Return value
\Drupal\Core\Extension\ModuleHandlerInterface The module handler.
File
- core/lib/Drupal/Core/Entity/EntityHandlerBase.php, line 36
Class
- EntityHandlerBase
- Provides a base class for entity handlers.
Namespace
Drupal\Core\Entity
Code
1 2 3 4 5 6 | protected function moduleHandler() { if (! $this ->moduleHandler) { $this ->moduleHandler = \Drupal::moduleHandler(); } return $this ->moduleHandler; } |
Please login to continue.