protected function PanelsIPETrait::saveLayout in Lightning Layout 8
Saves the Panels IPE layout.
4 calls to PanelsIPETrait::saveLayout()
- IpeQuickEditTest::testQuickEditCustomBlock in tests/
src/ FunctionalJavascript/ IpeQuickEditTest.php - Tests that Quick Edit works with custom blocks created with Panels IPE.
- IpeQuickEditTest::testQuickEditInIpe in tests/
src/ FunctionalJavascript/ IpeQuickEditTest.php - Tests quick-editing fields placed in an IPE layout.
- PanelizerWizardTest::testBlockPlacement in tests/
src/ FunctionalJavascript/ PanelizerWizardTest.php - Saving a panelized entity should not affect blocks placed via IPE.
- PanelsInPlaceEditorTest::testPerEntityCustomization in tests/
src/ FunctionalJavascript/ PanelsInPlaceEditorTest.php - Tests that one-off entity-specific customizations can be done OOTB.
File
- tests/
src/ Traits/ PanelsIPETrait.php, line 10
Class
Namespace
Drupal\Tests\lightning_layout\TraitsCode
protected function saveLayout() {
$this
->assertSession()
->elementExists('named', [
'link',
'Save',
], $this
->getTray())
->click();
$this
->assertSession()
->waitForElement('css', '#panels-ipe-tray:not(.unsaved)');
}