You are here

public function ReCaptchaV3ActionListBuilder::buildHeader in reCAPTCHA v3 8

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides EntityListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

src/ReCaptchaV3ActionListBuilder.php, line 24

Class

ReCaptchaV3ActionListBuilder
Provides a listing of reCAPTCHA v3 action entities.

Namespace

Drupal\recaptcha_v3

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Label');
  $header['id'] = $this
    ->t('Action');
  $header['threshold'] = $this
    ->t('Threshold');
  $header['challenge'] = $this
    ->t('Fail challenge');
  return $header + parent::buildHeader();
}