public function TokenSettingTypeBase::setTokenService in UI Patterns Settings 8
Same name and namespace in other branches
- 8.2 src/Plugin/TokenSettingTypeBase.php \Drupal\ui_patterns_settings\Plugin\TokenSettingTypeBase::setTokenService()
Sets the token service.
Parameters
\Drupal\Core\Utility\Token $token_service: The token service.
Return value
self The token service.
File
- src/
Plugin/ TokenSettingTypeBase.php, line 101
Class
Namespace
Drupal\ui_patterns_settings\PluginCode
public function setTokenService(Token $token_service) {
$this->tokenService = $token_service;
return $this;
}