1 | <?php |
||
10 | final class Drupal7Placeholder extends DrupalKernelPlaceholder |
||
11 | { |
||
12 | /** |
||
13 | * {@inheritdoc} |
||
14 | */ |
||
15 | public static function beforeFeature(BeforeFeatureScope $scope) |
||
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | public static function t($string, array $arguments = [], array $options = []) |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | public static function formatString($string, array $arguments = []) |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public static function arg() |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public static function tokenReplace($text, array $data = [], array $options = []) |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public static function sitePath() |
||
61 | |||
62 | /** |
||
63 | * {@inheritdoc} |
||
64 | */ |
||
65 | public static function jsonEncode($data) |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | * |
||
73 | * @return \stdClass |
||
74 | */ |
||
75 | public static function getCurrentUser() |
||
79 | |||
80 | /** |
||
81 | * {@inheritdoc} |
||
82 | * |
||
83 | * @param \stdClass $user |
||
84 | */ |
||
85 | public static function setCurrentUser($user) |
||
89 | |||
90 | /** |
||
91 | * {@inheritdoc} |
||
92 | */ |
||
93 | public static function setCurrentPath($path) |
||
97 | |||
98 | /** |
||
99 | * {@inheritdoc} |
||
100 | */ |
||
101 | public static function getUidByName($username) |
||
107 | |||
108 | /** |
||
109 | * {@inheritdoc} |
||
110 | */ |
||
111 | public static function deleteUser($user_id) |
||
115 | |||
116 | /** |
||
117 | * {@inheritdoc} |
||
118 | * |
||
119 | * @return \SelectQuery |
||
120 | */ |
||
121 | public static function selectQuery($table, $alias = null, array $options = []) |
||
125 | |||
126 | /** |
||
127 | * {@inheritdoc} |
||
128 | */ |
||
129 | 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) |
||
170 | |||
171 | /** |
||
172 | * {@inheritdoc} |
||
173 | */ |
||
174 | public static function entityLoad($entityType, $id) |
||
180 | |||
181 | /** |
||
182 | * {@inheritdoc} |
||
183 | */ |
||
184 | public static function entityHasField($entity, $fieldName) |
||
188 | |||
189 | /** |
||
190 | * {@inheritdoc} |
||
191 | * |
||
192 | * @param \EntityDrupalWrapper $entity |
||
193 | */ |
||
194 | public static function entityFieldValue($entity, $fieldName) |
||
206 | |||
207 | /** |
||
208 | * {@inheritdoc} |
||
209 | */ |
||
210 | public static function switchMailSystem($useTesting) |
||
234 | |||
235 | /** |
||
236 | * {@inheritdoc} |
||
237 | */ |
||
238 | public static function getEmailMessages() |
||
248 | |||
249 | /** |
||
250 | * {@inheritdoc} |
||
251 | */ |
||
252 | public static function getContentTypeName($contentType) |
||
262 | |||
263 | /** |
||
264 | * {@inheritdoc} |
||
265 | */ |
||
266 | public static function injectCustomJavascript($file, $delete = false) |
||
291 | } |
||
292 |