When the field is not bound, the default data is returned.
When the field is bound, the normalized bound data is
returned if the field is valid, null otherwise.
/**
* Renders the widget data of the given field
*
* @param FieldInterface $field The field to render the data for
*/
public function renderData(FieldInterface $field)
{
return $field->getData();
}