function BigPipeHooks::theme

Implements hook_theme().

Attributes

#[Hook('theme')]

File

core/modules/big_pipe/src/Hook/BigPipeHooks.php, line 94

Class

BigPipeHooks
Hook implementations for big_pipe.

Namespace

Drupal\big_pipe\Hook

Code

public function theme() : array {
  return [
    'big_pipe_interface_preview' => [
      'variables' => [
        'callback' => NULL,
        'arguments' => NULL,
        'preview' => NULL,
      ],
    ],
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.