1 # This file controls the behavior of parametric rewriters, which are in
2 # DMU's Utility\ParametricRewriter namespace.
4 # A parametric rewriter is essentially an intelligent search and replace
5 # that acts on a function body and bases its changes on one of the
6 # function's parameters. The type of parameter MUST be known ahead of time,
7 # and it must be one of the types described in this file. A rewriter
8 # configured to rewrite for a node, for example, will change $node->nid to
9 # $node->id(), $node->title to $node->getTitle(), and so forth.
13 type_hint: \Drupal\Core\Session\AccountInterface
15 type_hint: \Drupal\comment\CommentInterface
45 type_hint: \Drupal\Core\Field\FieldStorageDefinitionInterface
61 type_hint: \Drupal\Core\Field\FieldDefinitionInterface
66 get: getTargetEntityTypeId
74 type_hint: \Drupal\node\NodeInterface
101 type_hint: \Drupal\user\UserInterface
106 get: getLastAccessTime
107 set: setLastAccessTime
113 get: getLastLoginTime
114 set: setLastLoginTime
125 type_hint: \Drupal\taxonomy\TermInterface