/** * Register or override a custom element. * This can be used to add custom form elements and replace existing ones. * * @param string $name * @param string $class * * @return $this * * @since 2.0 */ public function registerElement($name, $class) { return $this->builder->registerElement($name, $class); }