Interface for Selection plugins that support newly created entities.
Hierarchy
- interface \Drupal\Core\Entity\EntityReferenceSelection\SelectionWithAutocreateInterface
See also
\Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManager
\Drupal\Core\Entity\Annotation\EntityReferenceSelection
Plugin API
File
- core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionWithAutocreateInterface.php, line 12
Namespace
Drupal\Core\Entity\EntityReferenceSelection
Members
Name | Modifiers | Type | Description |
---|---|---|---|
SelectionWithAutocreateInterface::createNewEntity | public | function | Creates a new entity object that can be used as a valid reference. |
SelectionWithAutocreateInterface::validateReferenceableNewEntities | public | function | Validates which newly created entities can be referenced. |
Please login to continue.