Debian Codegraph @

includes/htmlform/HTMLFormActionFieldLayout.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\HTMLForm;
4
5 /*
6 * @stable to extend
7 */
8 class HTMLFormActionFieldLayout extends \OOUI\ActionFieldLayout {
9 use HTMLFormElement;
10
11 /**
12 * @stable to call
13 * @inheritDoc
14 */
15 public function __construct( $fieldWidget, $buttonWidget = false, array $config = [] ) {
16 parent::__construct( $fieldWidget, $buttonWidget, $config );
17
18 // Traits
19 $this->initializeHTMLFormElement( $config );
20 }
21
22 protected function getJavaScriptClassName() {
23 return 'mw.htmlform.ActionFieldLayout';
24 }
25 }
26
27 /** @deprecated class alias since 1.42 */
28 class_alias( HTMLFormActionFieldLayout::class, 'HTMLFormActionFieldLayout' );