function SortableTestTrait::sortableUpdate

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php \Drupal\FunctionalJavascriptTests\SortableTestTrait::sortableUpdate()
  2. 10 core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php \Drupal\FunctionalJavascriptTests\SortableTestTrait::sortableUpdate()
  3. 8.9.x core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php \Drupal\FunctionalJavascriptTests\SortableTestTrait::sortableUpdate()

Define to provide any necessary callback following layout change.

Parameters

string $item: The HTML selector for the element to be moved.

string $from: The HTML selector for the previous container element.

null|string $to: The HTML selector for the target container.

1 method overrides SortableTestTrait::sortableUpdate()
EntityReferenceWidgetTest::sortableUpdate in core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php
Define to provide any necessary callback following layout change.

File

core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php, line 26

Class

SortableTestTrait
Provides functions for simulating sort changes.

Namespace

Drupal\FunctionalJavascriptTests

Code

abstract protected function sortableUpdate($item, $from, $to = NULL);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.