@@ -18,11 +18,13 @@ discard block |
||
18 | 18 | * URI that is accessing Drupal. Defaults to 'default'. |
19 | 19 | * @param \Drupal\Component\Utility\Random $random |
20 | 20 | * Random string generator. |
21 | + * @return void |
|
21 | 22 | */ |
22 | 23 | public function __construct($drupal_root, $uri = 'default', Random $random = NULL); |
23 | 24 | |
24 | 25 | /** |
25 | 26 | * Return random generator. |
27 | + * @return Random |
|
26 | 28 | */ |
27 | 29 | public function getRandom(); |
28 | 30 | |
@@ -65,6 +67,7 @@ discard block |
||
65 | 67 | * @param object $values |
66 | 68 | * a plain object with field names as properties, and |
67 | 69 | * field values as property values. |
70 | + * @return void |
|
68 | 71 | */ |
69 | 72 | public function nodeAlter($node, $values); |
70 | 73 | |
@@ -87,6 +90,7 @@ discard block |
||
87 | 90 | * @param object $values |
88 | 91 | * a plain object with field names as properties, and |
89 | 92 | * field values as property values. |
93 | + * @return void |
|
90 | 94 | */ |
91 | 95 | public function userAlter($user, $values); |
92 | 96 | |
@@ -211,6 +215,7 @@ discard block |
||
211 | 215 | |
212 | 216 | /** |
213 | 217 | * Clears the static caches. |
218 | + * @return void |
|
214 | 219 | */ |
215 | 220 | public function clearStaticCaches(); |
216 | 221 |
@@ -14,16 +14,19 @@ discard block |
||
14 | 14 | |
15 | 15 | /** |
16 | 16 | * Bootstraps operations, as needed. |
17 | + * @return void |
|
17 | 18 | */ |
18 | 19 | public function bootstrap(); |
19 | 20 | |
20 | 21 | /** |
21 | 22 | * Determines if the driver has been bootstrapped. |
23 | + * @return null|boolean |
|
22 | 24 | */ |
23 | 25 | public function isBootstrapped(); |
24 | 26 | |
25 | 27 | /** |
26 | 28 | * Creates a user. |
29 | + * @return void |
|
27 | 30 | */ |
28 | 31 | public function userCreate(\stdClass $user); |
29 | 32 | |
@@ -40,11 +43,13 @@ discard block |
||
40 | 43 | |
41 | 44 | /** |
42 | 45 | * Deletes a user. |
46 | + * @return void |
|
43 | 47 | */ |
44 | 48 | public function userDelete(\stdClass $user); |
45 | 49 | |
46 | 50 | /** |
47 | 51 | * Processes a batch of actions. |
52 | + * @return void |
|
48 | 53 | */ |
49 | 54 | public function processBatch(); |
50 | 55 | |
@@ -55,6 +60,7 @@ discard block |
||
55 | 60 | * A user object. |
56 | 61 | * @param string $role |
57 | 62 | * The role name to assign. |
63 | + * @return void |
|
58 | 64 | */ |
59 | 65 | public function userAddRole(\stdClass $user, $role); |
60 | 66 | |
@@ -78,11 +84,13 @@ discard block |
||
78 | 84 | * |
79 | 85 | * @param string $type |
80 | 86 | * Type of cache to clear defaults to all. |
87 | + * @return null|string |
|
81 | 88 | */ |
82 | 89 | public function clearCache($type = NULL); |
83 | 90 | |
84 | 91 | /** |
85 | 92 | * Clears static Drupal caches. |
93 | + * @return void |
|
86 | 94 | */ |
87 | 95 | public function clearStaticCaches(); |
88 | 96 | |
@@ -118,6 +126,7 @@ discard block |
||
118 | 126 | |
119 | 127 | /** |
120 | 128 | * Runs cron. |
129 | + * @return void |
|
121 | 130 | */ |
122 | 131 | public function runCron(); |
123 | 132 | |
@@ -159,6 +168,7 @@ discard block |
||
159 | 168 | * |
160 | 169 | * @param string $rid |
161 | 170 | * A role name to delete. |
171 | + * @return void |
|
162 | 172 | */ |
163 | 173 | public function roleDelete($rid); |
164 | 174 | |
@@ -197,6 +207,7 @@ discard block |
||
197 | 207 | * Identifier to store value in configuration. |
198 | 208 | * @param mixed $value |
199 | 209 | * Value to associate with identifier. |
210 | + * @return void |
|
200 | 211 | */ |
201 | 212 | public function configSet($name, $key, $value); |
202 | 213 |