public function ThemeManagerInterface::render
public ThemeManagerInterface::render($hook, array $variables)
Generates themed output.
See the Default theme implementations topic for details.
Parameters
string $hook: The name of the theme hook to call.
array $variables: An associative array of theme variables.
Return value
string|\Drupal\Component\Render\MarkupInterface The rendered output, or a Markup object.
File
- core/lib/Drupal/Core/Theme/ThemeManagerInterface.php, line 27
Class
- ThemeManagerInterface
- Provides a high level access to the active theme and methods to use it.
Namespace
Drupal\Core\ThemeCode
public function render($hook, array $variables);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Theme!ThemeManagerInterface.php/function/ThemeManagerInterface::render/8.1.x