You are here

protected function LayoutBuilderQuickEditTest::assertEntityInstanceFieldMarkup in Drupal 8

Asserts all in-place editable fields with markup expectations.

Parameters

string $entity_type_id: The entity type ID.

int $entity_id: The entity ID.

int $entity_instance_id: The entity instance ID. (Instance on the page.)

array $expected_field_attributes: Must describe the expected markup attributes for all given in-place editable fields.

Overrides QuickEditJavascriptTestBase::assertEntityInstanceFieldMarkup

File

core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php, line 205

Class

LayoutBuilderQuickEditTest
Tests that Layout Builder functions with Quick Edit.

Namespace

Drupal\Tests\layout_builder\FunctionalJavascript

Code

protected function assertEntityInstanceFieldMarkup($entity_type_id, $entity_id, $entity_instance_id, array $expected_field_attributes) {
  parent::assertEntityInstanceFieldMarkup($entity_type_id, $entity_id, $entity_instance_id, $this
    ->replaceLayoutBuilderFieldIdKeys($expected_field_attributes));
}