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 sitePath() |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public static function jsonEncode($data) |
||
74 | |||
75 | /** |
||
76 | * {@inheritdoc} |
||
77 | * |
||
78 | * @return AccountInterface |
||
79 | */ |
||
80 | public static function getCurrentUser() |
||
84 | |||
85 | /** |
||
86 | * {@inheritdoc} |
||
87 | * |
||
88 | * @param AccountInterface $user |
||
89 | */ |
||
90 | public static function setCurrentUser($user) |
||
94 | |||
95 | /** |
||
96 | * {@inheritdoc} |
||
97 | */ |
||
98 | public static function setCurrentPath($path) |
||
102 | |||
103 | /** |
||
104 | * {@inheritdoc} |
||
105 | */ |
||
106 | public static function getUidByName($username) |
||
112 | |||
113 | /** |
||
114 | * {@inheritdoc} |
||
115 | */ |
||
116 | public static function deleteUser($user_id) |
||
121 | |||
122 | /** |
||
123 | * {@inheritdoc} |
||
124 | * |
||
125 | * @return Select |
||
126 | */ |
||
127 | public static function selectQuery($table, $alias = null, array $options = []) |
||
131 | |||
132 | /** |
||
133 | * {@inheritdoc} |
||
134 | */ |
||
135 | public static function getFieldDefinitions($entityType, $bundle) |
||
149 | |||
150 | /** |
||
151 | * {@inheritdoc} |
||
152 | */ |
||
153 | public static function getDatabaseConnectionInfo($connection) |
||
157 | |||
158 | /** |
||
159 | * {@inheritdoc} |
||
160 | */ |
||
161 | public static function entityCreate($entityType, array $values) |
||
171 | |||
172 | /** |
||
173 | * {@inheritdoc} |
||
174 | */ |
||
175 | public static function entityLoad($entityType, $id) |
||
179 | |||
180 | /** |
||
181 | * {@inheritdoc} |
||
182 | * |
||
183 | * @param FieldableEntityInterface $entity |
||
184 | */ |
||
185 | public static function entityHasField($entity, $fieldName) |
||
189 | |||
190 | /** |
||
191 | * {@inheritdoc} |
||
192 | * |
||
193 | * @param FieldableEntityInterface $entity |
||
194 | */ |
||
195 | public static function entityFieldValue($entity, $fieldName) |
||
207 | |||
208 | /** |
||
209 | * {@inheritdoc} |
||
210 | */ |
||
211 | public static function switchMailSystem($useTesting) |
||
234 | |||
235 | /** |
||
236 | * {@inheritdoc} |
||
237 | */ |
||
238 | public static function getEmailMessages() |
||
242 | |||
243 | /** |
||
244 | * {@inheritdoc} |
||
245 | */ |
||
246 | public static function getContentTypeName($contentType) |
||
262 | |||
263 | /** |
||
264 | * {@inheritdoc} |
||
265 | */ |
||
266 | public static function injectCustomJavascript($file, $delete = false) |
||
270 | } |
||
271 |