SelectionWithAutocreateInterface

Interface for Selection plugins that support newly created entities.

Hierarchy

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.
doc_Drupal
2016-10-29 09:41:47
Comments
Leave a Comment

Please login to continue.