public function BrowseTokens::__construct in Views Token Argument 8
Same name and namespace in other branches
- 2.0.x src/BrowseTokens.php \Drupal\views_argument_token\BrowseTokens::__construct()
Constructs a new BrowseTokens object.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: Module handler service.
\Drupal\Core\Utility\Token $token: Token service.
File
- src/
BrowseTokens.php, line 35
Class
- BrowseTokens
- Token handling service. Uses core token service or contributed Token.
Namespace
Drupal\views_argument_tokenCode
public function __construct(ModuleHandlerInterface $module_handler, Token $token) {
$this->coreToken = $token;
$this->moduleHandler = $module_handler;
}