Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. GlobalsInterface.php

function GlobalsInterface::getGlobals

Return value

array<string, mixed>

File

vendor/twig/twig/src/Extension/GlobalsInterface.php, line 24

Class

GlobalsInterface
Allows Twig extensions to add globals to the context.

Namespace

Twig\Extension

Code

public function getGlobals() : array;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal