@file Abstraction of the selection logic of an entity reference field.
Implementations that wish to provide an implementation of this should register it with hook_entityreference_selection_plugins().
Implemented by
Hierarchy
- interface EntityReferenceSelectionHandlerInterface
Expanded class hierarchy of EntityReferenceSelectionHandlerInterface
File
- core/
modules/ entityreference/ plugins/ selection/ EntityReferenceSelectionHandler.inc, line 10 - Abstraction of the selection logic of an entity reference field.
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EntityReferenceSelectionHandlerInterface:: |
public | function | Count entities that are referenceable by a given field. |
EntityReferenceSelectionHandlerInterface:: |
public static | function | Factory function: create a new instance of this handler for a given field. |
EntityReferenceSelectionHandlerInterface:: |
public static | function | Generate a settings form for this handler. |
EntityReferenceSelectionHandlerInterface:: |
public | function | Give the handler a chance to alter the SelectQuery generated by EntityFieldQuery. |
EntityReferenceSelectionHandlerInterface:: |
public | function | Return a list of referenceable entities. |
EntityReferenceSelectionHandlerInterface:: |
public | function | Return the label of a given entity. |
EntityReferenceSelectionHandlerInterface:: |
public | function | Validate Input from autocomplete widget that has no Id. |
EntityReferenceSelectionHandlerInterface:: |
public | function | Validate that entities can be referenced by this field. |