/** * Overrides parent implementation to ensure label has ID. * @return TMap list of attributes to be rendered for label beside the radio button */ public function getLabelAttributes() { $attributes = parent::getLabelAttributes(); $attributes['id'] = $this->getDefaultLabelID(); return $attributes; }