You are here

public static function ApiTokenPluginInterface::lazyBuilder in API Tokens 8.2

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

The #lazy_builder callback.

Parameters

string $id: The API token ID.

string $params: Parameters part of the API token string.

bool $valid: Whether the API token is valid.

Return value

array A renderable array for the API token output.

1 method overrides ApiTokenPluginInterface::lazyBuilder()
ApiTokenBase::lazyBuilder in src/ApiTokenBase.php
The #lazy_builder callback.

File

src/ApiTokenPluginInterface.php, line 127

Class

ApiTokenPluginInterface
Defines the interface for the API token plugins.

Namespace

Drupal\api_tokens

Code

public static function lazyBuilder($id, $params, $valid);