TourTestBasic::$tips

Same name in other branches
  1. 9 core/modules/tour/tests/src/Functional/TourTestBasic.php \Drupal\Tests\tour\Functional\TourTestBasic::tips
  2. 8.9.x core/modules/tour/tests/src/Functional/TourTestBasic.php \Drupal\Tests\tour\Functional\TourTestBasic::tips
  3. 11.x core/modules/tour/tests/src/Functional/TourTestBasic.php \Drupal\Tests\tour\Functional\TourTestBasic::tips

Tour tip attributes to be tested. Keyed by the path.

An array of tip attributes, keyed by path.


protected $tips = [
  '/foo/bar' => [
    ['data-id' => 'foo'],
    ['data-class' => 'bar'],
  ],
];

Type: array

File

core/modules/tour/tests/src/Functional/TourTestBasic.php, line 27

Class

TourTestBasic
Simple tour tips test base.

Namespace

Drupal\Tests\tour\Functional

Code

protected $tips = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.