Skip to content

Commit

Permalink
Fixed PHP error
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Jul 4, 2024
1 parent 08ef769 commit 82524c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/FieldLayoutComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public function showInForm(?ElementInterface $element = null): bool
// Fire a 'defineShowInForm' event
if ($this->hasEventHandlers(self::EVENT_DEFINE_SHOW_IN_FORM)) {
$event = new DefineShowFieldLayoutComponentInFormEvent([
'fieldLayout' => $this->_layout,
'fieldLayout' => $this->getLayout(),
'element' => $element,
]);
$this->trigger(self::EVENT_DEFINE_SHOW_IN_FORM, $event);
Expand Down

0 comments on commit 82524c2

Please sign in to comment.