You are here

public static function OptimizelyPageSnippetTest::getInfo in Optimizely 8

Same name and namespace in other branches
  1. 8.3 src/Tests/OptimizelyPageSnippetTest.php \Drupal\optimizely\Tests\OptimizelyPageSnippetTest::getInfo()
  2. 8.0 src/Tests/OptimizelyPageSnippetTest.php \Drupal\optimizely\Tests\OptimizelyPageSnippetTest::getInfo()

File

src/Tests/OptimizelyPageSnippetTest.php, line 50

Class

OptimizelyPageSnippetTest
Tests that the javascript snippet is included on a variety of paths.

Namespace

Drupal\optimizely\Tests

Code

public static function getInfo() {
  return [
    'name' => 'Optimizely Presence of Javascript Snippet',
    'description' => 'Test the presence of the Optimizely snippet
         (Javascript call) on pages (paths) defined in project entries.',
    'group' => 'Optimizely',
  ];
}