6 methods override DefaultSelection::createNewEntity() in Drupal 8
- CommentSelection::createNewEntity in core/
modules/ comment/ src/ Plugin/ EntityReferenceSelection/ CommentSelection.php - Creates a new entity object that can be used as a valid reference.
- FileSelection::createNewEntity in core/
modules/ file/ src/ Plugin/ EntityReferenceSelection/ FileSelection.php - Creates a new entity object that can be used as a valid reference.
- MediaSelection::createNewEntity in core/
modules/ media/ src/ Plugin/ EntityReferenceSelection/ MediaSelection.php - Creates a new entity object that can be used as a valid reference.
- NodeSelection::createNewEntity in core/
modules/ node/ src/ Plugin/ EntityReferenceSelection/ NodeSelection.php - Creates a new entity object that can be used as a valid reference.
- TermSelection::createNewEntity in core/
modules/ taxonomy/ src/ Plugin/ EntityReferenceSelection/ TermSelection.php - Creates a new entity object that can be used as a valid reference.
- UserSelection::createNewEntity in core/
modules/ user/ src/ Plugin/ EntityReferenceSelection/ UserSelection.php - Creates a new entity object that can be used as a valid reference.