You are here

public function ApiTokenPluginInterface::fallback in API Tokens 8.2

Same name and namespace in other branches
  1. 8 src/ApiTokenPluginInterface.php \Drupal\api_tokens\ApiTokenPluginInterface::fallback()

Returns a build to replace the API token with in case of validation fail.

Return value

array A renderable array.

1 method overrides ApiTokenPluginInterface::fallback()
ApiTokenBase::fallback in src/ApiTokenBase.php
Returns a build to replace the API token with in case of validation fail.

File

src/ApiTokenPluginInterface.php, line 104

Class

ApiTokenPluginInterface
Defines the interface for the API token plugins.

Namespace

Drupal\api_tokens

Code

public function fallback();