lithium\template\helper\Form::_init()

protected method

Object initializer. Adds a content handler for the wrap key in the field() method, which converts an array of properties to an attribute string.

Returns

void

Source

	protected function _init() {
		parent::_init();

		if ($this->_context) {
			$this->_context->handlers(['wrap' => '_attributes']);
		}
	}