/** * Get the label which shall be displayed next to the form element * * @return string * @api */ public function getLabel() : string { return $this->formDefinition->getLabel(); }