/**
* Method to set certain otherwise inaccessible properties of the form field object.
*
* @param string $name The property name for which to set the value.
* @param mixed $value The value of the property.
*
* @return void
*
* @since 3.7.0
* @deprecated 5.0 Set the item parameters through the `setParams()` method
*/
public function __set($name, $value)
{
if ($name === 'params') {
$this->setParams($value);
return;
}
$this->{$name} = $value;
}