Further modules included.
[yaffs-website] / web / modules / contrib / drupalmoduleupgrader / src / Plugin / DMU / Converter / Functions / St.php
1 <?php
2
3 namespace Drupal\drupalmoduleupgrader\Plugin\DMU\Converter\Functions;
4
5 use Drupal\drupalmoduleupgrader\TargetInterface;
6 use Pharborist\Functions\FunctionCallNode;
7
8 /**
9  * @Converter(
10  *  id = "st",
11  *  description = @Translation("Rewrites calls to st().")
12  * )
13  */
14 class St extends FunctionCallModifier {
15
16   /**
17    * {@inheritdoc}
18    */
19   public function rewrite(FunctionCallNode $call, TargetInterface $target) {
20     return $call->setName('t');
21   }
22
23 }