You are here

protected function LayoutBuilderQuickEditTest::assertEntityInstanceFieldMarkup in Drupal 10

Same name and namespace in other branches
  1. 9 core/modules/quickedit/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php \Drupal\Tests\quickedit\FunctionalJavascript\LayoutBuilderQuickEditTest::assertEntityInstanceFieldMarkup()

File

core/modules/quickedit/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php, line 225

Class

LayoutBuilderQuickEditTest
Tests that Layout Builder functions with Quick Edit.

Namespace

Drupal\Tests\quickedit\FunctionalJavascript

Code

protected function assertEntityInstanceFieldMarkup($expected_field_attributes) : void {
  if (func_num_args() === 4) {
    $expected_field_attributes = func_get_arg(3);
    @trigger_error('Calling ' . __METHOD__ . '() with 4 arguments is deprecated in drupal:9.1.0 and will throw an error in drupal:10.0.0. See https://www.drupal.org/project/drupal/issues/3037436', E_USER_DEPRECATED);
  }
  parent::assertEntityInstanceFieldMarkup($this
    ->replaceLayoutBuilderFieldIdKeys($expected_field_attributes));
}