protected function _initLabel($options) {
		if (isset($options['label']) && is_array($options['label'])) {
			$options['label'] = [
				'text' => $options['label']
			];
		}

		return parent::_initLabel($options);
	}
protected function _initLabel($options) {
		if (isset($options['label']) && is_array($options['label'])) {
			$options['label'] = [
				'text' => $options['label']
			];
		}

		return parent::_initLabel($options);
	}
protected function _initLabel ( $ options ) { if ( isset ( $ options [ 'label' ] ) && is_array ( $ options [ 'label' ] ) ) { $ options [ 'label' ] = [ 'text' => $ options [ 'label' ] ] ; } return parent :: _initLabel ( $ options ) ; }
If label is a array, transform it to proper label options array with the text option

@param array $options An array of HTML attributes.
@return array An array of HTML attributes
If label is a array transform it to proper label options array with the text option