Révision 8be7bf84
Ajouté par Assos Assos il y a plus de 5 ans
drupal7/sites/all/modules/views/tests/views_query.test | ||
---|---|---|
152 | 152 |
$this->drupalLogin($account); |
153 | 153 |
} |
154 | 154 |
|
155 |
/** |
|
156 |
* {@inheritdoc} |
|
157 |
*/ |
|
158 |
protected function verbose($message, $title = NULL) { |
|
159 |
// Handle arrays, objects, etc. |
|
160 |
if (!is_string($message)) { |
|
161 |
$message = "<pre>\n" . print_r($message, TRUE) . "\n</pre>\n"; |
|
162 |
} |
|
163 |
|
|
164 |
// Optional title to go before the output. |
|
165 |
if (!empty($title)) { |
|
166 |
$title = '<h2>' . check_plain($title) . "</h2>\n"; |
|
167 |
} |
|
168 |
|
|
169 |
parent::verbose($title . $message); |
|
170 |
} |
|
171 |
|
|
155 | 172 |
} |
156 | 173 |
|
157 | 174 |
/** |
Formats disponibles : Unified diff
Weekly update of contrib modules