protected static function JohnTest::t in Plug 7
Overrides NameBase::t().
Overrides the translation method to avoid bootstrap.
Overrides NameBase::t
File
- modules/
plug_example/ src/ Plugin/ name/ JohnTest.php, line 26 - Contains Drupal\plug_example\Plugin\name\JohnTest
Class
- JohnTest
- Class John @package Drupal\plug_example\Plugin\name
Namespace
Drupal\plug_example\Plugin\nameCode
protected static function t($string, array $args = array(), array $options = array()) {
return $string;
}