public function SelectListTest::buildFormPath in Plugin 8.2
1 call to SelectListTest::buildFormPath()
- SelectListTest::doTestElement in tests/
src/ Functional/ Plugin/ PluginSelector/ SelectListTest.php - Tests the element.
File
- tests/
src/ Functional/ Plugin/ PluginSelector/ SelectListTest.php, line 32
Class
- SelectListTest
- @coversDefaultClass \Drupal\plugin\Plugin\Plugin\PluginSelector\SelectList
Namespace
Drupal\Tests\plugin\Functional\Plugin\PluginSelectorCode
public function buildFormPath(array $allowed_selectable_plugin_ids, $tree, $always_show_selector = FALSE) {
return sprintf('plugin_test_helper-plugin_selector-advanced_plugin_selector_base/%s/plugin_select_list/%d/%d', implode(',', $allowed_selectable_plugin_ids), (int) $tree, (int) $always_show_selector);
}