} /**
* @param string[] $entityFields
*/
private function validateDetailConfiguration( array
$entityFields,
Detail
$detail,
string
$customEntityName ): void
{ $tabs =
$detail->
getTabs()->
getContent();
foreach ($tabs as $tab) { $cards =
$tab->
getCards();
foreach ($cards as $card) { $this->
checkReferences( $entityFields,
$this->
getRefsAsList($card->
getFields()),
$customEntityName,
'<detail>'
);
} }