src/Drupal/functions theme.php

Functions

list_themes()

list_themes(bool  $refresh = false) : array<string,\Drupflare\Anachron\Drupal\Extension\ExtensionWrapper>

Parameters

bool $refresh

Returns

array —

theme()

theme(string  $hook, array  $variables = []) : \Drupal\Component\Render\MarkupInterface|string

Parameters

string $hook
array $variables

Returns

\Drupal\Component\Render\MarkupInterface|string —

_theme_process_registry()

_theme_process_registry(array  $cache, string  $name, string  $type, string  $theme, string  $path) : void

Parameters

array $cache
string $name
string $type
string $theme
string $path

Returns

void —

path_to_theme()

path_to_theme() : string

Returns

string —