TourTestBasic::$tips

Same name in other branches
  1. 8.9.x core/modules/tour/tests/src/Functional/TourTestBasic.php \Drupal\Tests\tour\Functional\TourTestBasic::tips
  2. 10 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 = array(
  '/foo/bar' => array(
    array('data-id' => 'foo'),
    array('data-class' => 'bar'),
  ),
);

Type: array

File

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

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.