contrib modules updates
This commit is contained in:
+3
-3
@@ -4,8 +4,8 @@ description: 'Support module for Matomo testing.'
|
||||
package: Testing
|
||||
# core: 8.x
|
||||
|
||||
# Information added by Drupal.org packaging script on 2018-07-13
|
||||
version: '8.x-1.7'
|
||||
# Information added by Drupal.org packaging script on 2019-02-08
|
||||
version: '8.x-1.9'
|
||||
core: '8.x'
|
||||
project: 'matomo'
|
||||
datestamp: 1531470224
|
||||
datestamp: 1549615102
|
||||
|
||||
+4
-4
@@ -17,10 +17,10 @@ class MatomoTestController extends ControllerBase {
|
||||
*/
|
||||
public function drupalAddMessageTest() {
|
||||
// Set some messages.
|
||||
drupal_set_message($this->t('Example status message.'), 'status');
|
||||
drupal_set_message($this->t('Example warning message.'), 'warning');
|
||||
drupal_set_message($this->t('Example error message.'), 'error');
|
||||
drupal_set_message($this->t('Example error <em>message</em> with html tags and <a href="http://example.com/">link</a>.'), 'error');
|
||||
$this->messenger()->addMessage($this->t('Example status message.'), 'status');
|
||||
$this->messenger()->addMessage($this->t('Example warning message.'), 'warning');
|
||||
$this->messenger()->addMessage($this->t('Example error message.'), 'error');
|
||||
$this->messenger()->addMessage($this->t('Example error <em>message</em> with html tags and <a href="https://example.com/">link</a>.'), 'error');
|
||||
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user