SelectLanguageForm::getFormId

public SelectLanguageForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/lib/Drupal/Core/Installer/Form/SelectLanguageForm.php, line 22 Class SelectLanguageForm Provides the language selection form. Namespace Drupal\Core\Installer\Form Code public function getFormId() { return 'install_select_language_form'; }

SelectLanguageForm::submitForm

public SelectLanguageForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/lib/Drupal/Core/Installer/Form/SelectLanguageForm.php, line 92 Class SelectLanguageForm Provides the language selection form. Namespace Drupal\Core\Installer\Form Cod

SelectLanguageForm::buildForm

public SelectLanguageForm::buildForm(array $form, FormStateInterface $form_state, $install_state = NULL) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/lib/Drupal/Core/Installer/Form/SelectLanguageForm.php, line 29 Class SelectLanguageForm Provides the language selection f

SelectionWithAutocreateInterface

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 Modi

SelectionInterface::validateReferenceableEntities

public SelectionInterface::validateReferenceableEntities(array $ids) Validates which existing entities can be referenced. Return value array An array of valid entity IDs. File core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php, line 41 Class SelectionInterface Interface definition for Entity Reference Selection plugins. Namespace Drupal\Core\Entity\EntityReferenceSelection Code public function validateReferenceableEntities(array $ids);

SelectionWithAutocreateInterface::validateReferenceableNewEntities

public SelectionWithAutocreateInterface::validateReferenceableNewEntities(array $entities) Validates which newly created entities can be referenced. This method should replicate the logic implemented by \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface::validateReferenceableEntities(), but applied to newly created entities that have not been saved yet. Parameters \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities to check. Return value \Drupal\Core\Entity\Enti

SelectionWithAutocreateInterface::createNewEntity

public SelectionWithAutocreateInterface::createNewEntity($entity_type_id, $bundle, $label, $uid) Creates a new entity object that can be used as a valid reference. Parameters string $entity_type_id: The entity type ID. string $bundle: The bundle name. string $label: The entity label. int $uid: The entity owner ID, if the entity type supports it. Return value \Drupal\Core\Entity\EntityInterface An unsaved entity object. File core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionWithAut

SelectionInterface::getReferenceableEntities

public SelectionInterface::getReferenceableEntities($match = NULL, $match_operator = 'CONTAINS', $limit = 0) Gets the list of referenceable entities. Return value array A nested array of entities, the first level is keyed by the entity bundle, which contains an array of entity labels (escaped), keyed by the entity ID. File core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php, line 25 Class SelectionInterface Interface definition for Entity Reference Selection plugin

SelectionInterface

Interface definition for Entity Reference Selection plugins. Hierarchy interface \Drupal\Core\Plugin\PluginFormInterfaceinterface \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface 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 Member

SelectionInterface::countReferenceableEntities

public SelectionInterface::countReferenceableEntities($match = NULL, $match_operator = 'CONTAINS') Counts entities that are referenceable. Return value int The number of referenceable entities. File core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php, line 33 Class SelectionInterface Interface definition for Entity Reference Selection plugins. Namespace Drupal\Core\Entity\EntityReferenceSelection Code public function countReferenceableEntities($match = NULL, $m