Token::$moduleHandler

Same name in other branches
  1. 9 core/lib/Drupal/Core/Utility/Token.php \Drupal\Core\Utility\Token::moduleHandler
  2. 10 core/lib/Drupal/Core/Utility/Token.php \Drupal\Core\Utility\Token::moduleHandler
  3. 11.x core/lib/Drupal/Core/Utility/Token.php \Drupal\Core\Utility\Token::moduleHandler

The module handler service.

Type: \Drupal\Core\Extension\ModuleHandlerInterface

File

core/lib/Drupal/Core/Utility/Token.php, line 98

Class

Token
Drupal placeholder/token replacement system.

Namespace

Drupal\Core\Utility

Code

protected $moduleHandler;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.