You are here

public function TwigExtension::drupalMessages in Twig Tweak 8.2

Displays status messages.

File

src/TwigExtension.php, line 964

Class

TwigExtension
Twig extension with some useful functions and filters.

Namespace

Drupal\twig_tweak

Code

public function drupalMessages() {
  return [
    '#type' => 'status_messages',
  ];
}