protected function ComplexWidgetTest::buttonXpath in Inline Entity Form 8
Get xpath for a button.
Parameters
string $label: The button's label.
int $index: The button's index, defaults to 1.
Return value
string The XPath.
1 call to ComplexWidgetTest::buttonXpath()
- ComplexWidgetTest::testNestedCreateAndEditWontClash in tests/
src/ FunctionalJavascript/ ComplexWidgetTest.php - Tests that create and edit of nested data won#t clash.
File
- tests/
src/ FunctionalJavascript/ ComplexWidgetTest.php, line 1100
Class
- ComplexWidgetTest
- IEF complex field widget tests.
Namespace
Drupal\Tests\inline_entity_form\FunctionalJavascriptCode
protected function buttonXpath(string $label, int $index = 1) : string {
return $this
->getXpathForButtonWithValue($label, $index);
}