protected static function AcmeTest::t in Plug 7
Overrides NameBase::t().
Overrides the translation method to avoid bootstrap.
Overrides NameBase::t
File
- modules/
plug_example/ src/ Plugin/ name/ AcmeTest.php, line 26 - Contains Drupal\plug_example\Plugin\name\AcmeTest
Class
- AcmeTest
- Class Acme @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;
}