rendererHelper = $rendererHelper; $this->wrapper = $wrapper; $this->wp = $wp; $this->blockStylesRenderer = $blockStylesRenderer; } public function render(array $block, array $formSettings): string { $html = ''; $fieldName = 'data[' . $this->rendererHelper->getFieldName($block) . ']'; $automationId = ($block['id'] == 'status') ? 'data-automation-id="form_status"' : ''; $html .= $this->rendererHelper->renderLabel($block, $formSettings); $html .= ''; return $this->wrapper->render($block, $html); } }