You are here

public static function InstapageCmsPluginViewModel::_ in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/models/InstapageCmsPluginViewModel.php \InstapageCmsPluginViewModel::_()

Gets the template variable.

Parameters

string $template Template name.:

array $variables Variables to get.:

Return value

array Template variables.

File

core/models/InstapageCmsPluginViewModel.php, line 171

Class

InstapageCmsPluginViewModel
Class responsible for displaying a template files.

Code

public static function _($template, $variables = null) {
  return self::get($template, $variables);
}