public static Drupal::token()
Returns the token service.
Return value
\Drupal\Core\Utility\Token The token service.
File
- core/lib/Drupal.php, line 494
- Contains \Drupal.
Class
- Drupal
- Static Service Container wrapper.
Code
public static function token() { return static::getContainer()->get('token'); }
Please login to continue.