public Token::getInfo() Returns the element
public static Token::valueCallback(&$element, $input, FormStateInterface
Stores token data in a hidden form field. This is generally used to protect against cross-site forgeries. A token element is automatically added