mClassWithButton = new HTMLFormFieldWithButton( $info ); parent::__construct( $info ); } public function getInputHTML( $value ) { return $this->mClassWithButton->getElement( parent::getInputHTML( $value ) ); } protected function getFieldLayoutOOUI( $inputField, $config ) { $buttonWidget = $this->mClassWithButton->getInputOOUI( '' ); return new HTMLFormActionFieldLayout( $inputField, $buttonWidget, $config ); } } /** @deprecated class alias since 1.42 */ class_alias( HTMLSelectNamespaceWithButton::class, 'HTMLSelectNamespaceWithButton' );