You are here

protected static property MetaInformationTest::$articleMetaTags in Thunder 8.3

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

Meta tag configuration that will be set for Content->Article meta tags.

Type: array

File

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

Class

MetaInformationTest
Testing of Meta Information.

Namespace

Drupal\Tests\thunder\FunctionalJavascript

Code

protected static $articleMetaTags = [
  'basic title' => 'Test [node:field_teaser_text]',
  'basic description' => '[random]',
  'advanced robots' => 'index, follow, noydir',
  'advanced referrer' => 'no-referrer-when-downgrade',
  // OpenGraph Meta Tags.
  'open_graph og:image' => '[node:field_teaser_media:entity:field_image:facebook]',
  'open_graph og:image:type' => '[node:field_teaser_media:entity:field_image:facebook:mimetype]',
  'open_graph og:image:height' => '[node:field_teaser_media:entity:field_image:facebook:height]',
  'open_graph og:image:width' => '[node:field_teaser_media:entity:field_image:facebook:width]',
  'open_graph og:description' => '[node:field_teaser_text]',
  'open_graph og:title' => '[node:field_seo_title]',
  'open_graph og:site_name' => '[node:title]',
  'open_graph og:type' => 'article',
];