Mercurial > hg > isophonics-drupal-site
view core/modules/system/src/Tests/JsMessageTestCases.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | af1871eacc83 |
children |
line wrap: on
line source
<?php namespace Drupal\system\Tests; /** * Test cases for JS Messages tests. */ class JsMessageTestCases { /** * Gets the test types. * * @return string[] * The test types. */ public static function getTypes() { return ['status', 'error', 'warning']; } /** * Gets the test messages selectors. * * @return string[] * The test test messages selectors. * * @see core/modules/system/tests/themes/test_messages/templates/status-messages.html.twig */ public static function getMessagesSelectors() { return ['', '[data-drupal-messages-other]']; } }