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
1 2 3 | public static function token() { return static ::getContainer()->get( 'token' ); } |
Please login to continue.