protected function ParagraphsFeaturesSingleActionTest::disableDropdownToButton in Paragraphs Features 8
Same name and namespace in other branches
- 2.x tests/src/FunctionalJavascript/ParagraphsFeaturesSingleActionTest.php \Drupal\Tests\paragraphs_features\FunctionalJavascript\ParagraphsFeaturesSingleActionTest::disableDropdownToButton()
Disable the dropdown to button setting.
1 call to ParagraphsFeaturesSingleActionTest::disableDropdownToButton()
- ParagraphsFeaturesSingleActionTest::testSingleActionOption in tests/
src/ FunctionalJavascript/ ParagraphsFeaturesSingleActionTest.php - Test display of action.
File
- tests/
src/ FunctionalJavascript/ ParagraphsFeaturesSingleActionTest.php, line 166
Class
- ParagraphsFeaturesSingleActionTest
- Test display of single actions according to the dropdown_to_button setting.
Namespace
Drupal\Tests\paragraphs_features\FunctionalJavascriptCode
protected function disableDropdownToButton() {
$currentUrl = $this
->getSession()
->getCurrentUrl();
$this
->config('paragraphs_features.settings')
->set('dropdown_to_button', FALSE)
->save();
$this
->drupalGet($currentUrl);
}