You are here

public function HelpMessageHelperTest::providerRouteNames in Acquia Lift Connector 8.4

Same name and namespace in other branches
  1. 8.3 tests/src/Unit/Service/Helper/HelpMessageHelperTest.php \Drupal\Tests\acquia_lift\Unit\Service\Helper\HelpMessageHelperTest::providerRouteNames()

Data provider to produce route names.

File

tests/src/Unit/Service/Helper/HelpMessageHelperTest.php, line 40

Class

HelpMessageHelperTest
HelpMessageHelper Test.

Namespace

Drupal\Tests\acquia_lift\Unit\Service\Helper

Code

public function providerRouteNames() {
  $data = [];
  $data['help page, has message'] = [
    'help.page.acquia_lift',
    TRUE,
  ];
  $data['admin settings form, has message'] = [
    'acquia_lift.admin_settings_form',
    TRUE,
  ];
  $data['admin settings form, has no message'] = [
    'acquia_contenthub.admin_settings_form',
    FALSE,
  ];
  return $data;
}