You are here

protected static property MetaInformationTest::$tokens in Thunder 6.2.x

Same name and namespace in other branches
  1. 8.5 tests/src/FunctionalJavascript/MetaInformationTest.php \Drupal\Tests\thunder\FunctionalJavascript\MetaInformationTest::tokens
  2. 8.2 tests/src/FunctionalJavascript/MetaInformationTest.php \Drupal\Tests\thunder\FunctionalJavascript\MetaInformationTest::tokens
  3. 8.3 tests/src/FunctionalJavascript/MetaInformationTest.php \Drupal\Tests\thunder\FunctionalJavascript\MetaInformationTest::tokens
  4. 8.4 tests/src/FunctionalJavascript/MetaInformationTest.php \Drupal\Tests\thunder\FunctionalJavascript\MetaInformationTest::tokens
  5. 6.0.x tests/src/FunctionalJavascript/MetaInformationTest.php \Drupal\Tests\thunder\FunctionalJavascript\MetaInformationTest::tokens
  6. 6.1.x tests/src/FunctionalJavascript/MetaInformationTest.php \Drupal\Tests\thunder\FunctionalJavascript\MetaInformationTest::tokens

List of Tokens that will be replaced with values.

Type: array

File

tests/src/FunctionalJavascript/MetaInformationTest.php, line 85

Class

MetaInformationTest
Testing of Meta Information.

Namespace

Drupal\Tests\thunder\FunctionalJavascript

Code

protected static $tokens = [
  '[node:field_seo_title]' => 'Test SEO Title',
  '[node:field_teaser_text]' => 'Test Teaser Text',
  '[node:title]' => 'Test Note Title',
  // For testing Media:1 is used for teaser.
  '[node:field_teaser_media:entity:field_image:facebook]' => 'LIKE:/files/styles/facebook/public/2016-05/thunder.jpg?',
  '[node:field_teaser_media:entity:field_image:facebook:mimetype]' => 'image/jpeg',
  '[node:field_teaser_media:entity:field_image:facebook:height]' => '630',
  '[node:field_teaser_media:entity:field_image:facebook:width]' => '1200',
];