9use OOUI\FieldsetLayout;
15use Psr\Log\LoggerInterface;
72 public function show( $layout =
null ) {
73 $this->layoutContainer = $layout;
74 return parent::show();
81 if ( !$this->layoutContainer instanceof Layout ) {
82 return parent::displayForm( $submitResult );
85 $this->layoutContainer->appendContent(
new HtmlSnippet(
101 return LoggerFactory::getInstance(
'authentication' );
106 $layout =
new PanelLayout( array_merge( [
110 'infusable' =>
false,
112 'padded' => $this->panelPadded,
113 'framed' => $this->panelFramed
116 $layout->appendContent(
117 new FieldsetLayout( [
119 'infusable' =>
false,
122 'content' =>
new HtmlSnippet( $section )
134 abstract public function onSubmit( array $formData );