'label' => '',
],
'#layout' =>
$this->pluginDefinition,
'#theme' => 'layout__twocol',
'#attached' =>
[ 'library' =>
[ 'field_layout/drupal.layout.twocol',
],
],
],
];
$this->fieldLayoutBuilder->
buildView($build,
$display->
reveal());
$this->
assertEquals($expected,
$build);
$this->
assertSame($expected,
$build);
} /**
* @covers ::buildForm
* @covers ::getFields
*/
public function testBuildForm() { $definitions =
[];
$non_configurable_field_definition =
$this->
prophesize(FieldDefinitionInterface::
class);