You are here

public function CerPresetSelectionHandler::validateAutocompleteInput in Corresponding Entity References 7.3

Validate Input from autocomplete widget that has no Id.

Parameters

$input: Single string from autocomplete widget.

$element: The form element to set a form error.

Return value

Value of a matching entity id, or NULL if none.

Overrides EntityReference_SelectionHandler::validateAutocompleteInput

See also

_entityreference_autocomplete_validate()

File

extensions/cer_entity_settings/plugins/entityreference/selection/CerPresetSelectionHandler.class.php, line 45

Class

CerPresetSelectionHandler

Code

public function validateAutocompleteInput($input, &$element, &$form_state, $form) {
  return NULL;
}