1 | <?php |
||
18 | final class Drupal8Placeholder extends DrupalKernelPlaceholder |
||
19 | { |
||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | */ |
||
23 | public static function beforeFeature(BeforeFeatureScope $scope) |
||
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | public static function t($string, array $arguments = [], array $options = []) |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public static function formatString($string, array $arguments = []) |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public static function arg() |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public static function tokenReplace($text, array $data = [], array $options = []) |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public static function jsonEncode($data) |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | * |
||
70 | * @return AccountInterface |
||
71 | */ |
||
72 | public static function getCurrentUser() |
||
76 | |||
77 | /** |
||
78 | * {@inheritdoc} |
||
79 | * |
||
80 | * @param AccountInterface $user |
||
81 | */ |
||
82 | public static function setCurrentUser($user) |
||
86 | |||
87 | /** |
||
88 | * {@inheritdoc} |
||
89 | */ |
||
90 | public static function setCurrentPath($path) |
||
94 | |||
95 | /** |
||
96 | * {@inheritdoc} |
||
97 | */ |
||
98 | public static function getUidByName($username) |
||
104 | |||
105 | /** |
||
106 | * {@inheritdoc} |
||
107 | */ |
||
108 | public static function deleteUser($user_id) |
||
113 | |||
114 | /** |
||
115 | * {@inheritdoc} |
||
116 | * |
||
117 | * @return Select |
||
118 | */ |
||
119 | public static function selectQuery($table, $alias = null, array $options = []) |
||
123 | |||
124 | /** |
||
125 | * {@inheritdoc} |
||
126 | */ |
||
127 | public static function getFieldDefinitions($entityType, $bundle) |
||
141 | |||
142 | /** |
||
143 | * {@inheritdoc} |
||
144 | */ |
||
145 | public static function getDatabaseConnectionInfo($connection) |
||
149 | |||
150 | /** |
||
151 | * {@inheritdoc} |
||
152 | */ |
||
153 | public static function entityCreate($entityType, array $values) |
||
163 | |||
164 | /** |
||
165 | * {@inheritdoc} |
||
166 | */ |
||
167 | public static function entityLoad($entityType, $id) |
||
171 | |||
172 | /** |
||
173 | * {@inheritdoc} |
||
174 | * |
||
175 | * @param FieldableEntityInterface $entity |
||
176 | */ |
||
177 | public static function entityHasField($entity, $fieldName) |
||
181 | |||
182 | /** |
||
183 | * {@inheritdoc} |
||
184 | * |
||
185 | * @param FieldableEntityInterface $entity |
||
186 | */ |
||
187 | public static function entityFieldValue($entity, $fieldName) |
||
199 | |||
200 | /** |
||
201 | * {@inheritdoc} |
||
202 | */ |
||
203 | public static function switchMailSystem($useTesting) |
||
226 | |||
227 | /** |
||
228 | * {@inheritdoc} |
||
229 | */ |
||
230 | public static function getEmailMessages() |
||
234 | |||
235 | /** |
||
236 | * {@inheritdoc} |
||
237 | */ |
||
238 | public static function getContentTypeName($contentType) |
||
254 | } |
||
255 |