W3cubDocs

/Drupal 8

interface SelectionInterface

Interface definition for Entity Reference Selection plugins.

Hierarchy

See also

\Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManager

\Drupal\Core\Entity\Annotation\EntityReferenceSelection

Plugin API

File

core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php, line 15

Namespace

Drupal\Core\Entity\EntityReferenceSelection

Members

Name Modifiers Type Description
PluginFormInterface::buildConfigurationForm public function Form constructor.
PluginFormInterface::submitConfigurationForm public function Form submission handler.
PluginFormInterface::validateConfigurationForm public function Form validation handler.
SelectionInterface::countReferenceableEntities public function Counts entities that are referenceable.
SelectionInterface::entityQueryAlter public function Allows the selection to alter the SelectQuery generated by EntityFieldQuery.
SelectionInterface::getReferenceableEntities public function Gets the list of referenceable entities.
SelectionInterface::validateReferenceableEntities public function Validates which existing entities can be referenced.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityReferenceSelection!SelectionInterface.php/interface/SelectionInterface/8.1.x