SilverWare\Select2\Forms\Select2Field::getDataValue
Converts the given data value to a string suitable for a data attribute.
Signature
protected function getDataValue(mixed
$value )
Parameters
$value
— mixed
Returns
- string