You are here

public function InstapageCmsPluginViewModel::__toString in Instapage plugin 8.3

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

Information to the user how to fetch a template properly.

Return value

string A message to the class user.

File

core/models/InstapageCmsPluginViewModel.php, line 82

Class

InstapageCmsPluginViewModel
Class responsible for displaying a template files.

Code

public function __toString() {
  return 'use $view->fetch() instead';
}