matchesName(string $name) : boolean
Check to see if the supplied input matches this helper's name (case-insensitive).
All Fields API helpers must implement this interface. There is a lot of information about the helper API in HelperAbstract.
assign(mixed $assignments, callable $callable = null) : \Dewdrop\Fields\Helper\HelperAbstract
Assign one more custom per-instance callbacks for this helper. If the $arguments param is an array, this method expects that the keys will be field IDs and the values will be callables, assigning custom callbacks for multiple fields in one call. If, however, $assignments is a string or a FieldInterface object, a single custom callback assignment will be made.
getFieldAssignment(\Dewdrop\Fields\FieldInterface $field) : callable
Get the callback that will be used for the given FieldInterface object.
detectCallableForField(\Dewdrop\Fields\FieldInterface $field) : mixed
Try to supply a default callback by looking at the supplied FieldInterface object. This method will only be called for a field if no global or per-instance custom callbacks are assigned.
If no callback candidate is found, just return false from this method, which will be detected by getFieldsAssigned(), causing execution to halt.
Either false or a callable.