SilverWare\Select2\Forms\Select2AjaxField::loadFromRelation
Loads the value of the field from the given relation.
Signature
public function loadFromRelation(Relation
$relation )
Parameters
$relation
— SilverStripe\ORM\Relation
Returns
- void