158 #type uses of Select in Drupal 10
- AccountForm::form in core/
modules/ user/ src/ AccountForm.php - Gets the actual form array to be built.
- ActionAdminManageForm::buildForm in core/
modules/ action/ src/ Form/ ActionAdminManageForm.php - Form constructor.
- AddHandler::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ AddHandler.php - AjaxFormBlock::buildForm in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Plugin/ Block/ AjaxFormBlock.php - Form constructor.
- AjaxFormsTestSimpleForm::buildForm in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Form/ AjaxFormsTestSimpleForm.php - Form constructor.
- AssignOwnerNode::buildConfigurationForm in core/
modules/ node/ src/ Plugin/ Action/ AssignOwnerNode.php - automated_cron_form_system_cron_settings_alter in core/
modules/ automated_cron/ automated_cron.module - Implements hook_form_FORM_ID_alter() for the system_cron_settings() form.
- BasicSettingsForm::buildForm in core/
modules/ views_ui/ src/ Form/ BasicSettingsForm.php - Form constructor.
- BatchTestSimpleForm::buildForm in core/
modules/ system/ tests/ modules/ batch_test/ src/ Form/ BatchTestSimpleForm.php - Form constructor.
- Block::blockForm in core/
modules/ views/ src/ Plugin/ views/ display/ Block.php - Adds the configuration form elements specific to this views block plugin.
- BlockContentBlock::blockForm in core/
modules/ block_content/ src/ Plugin/ Block/ BlockContentBlock.php - Overrides \Drupal\Core\Block\BlockBase::blockForm().
- BlockForm::form in core/
modules/ block/ src/ BlockForm.php - Gets the actual form array to be built.
- BlockListBuilder::buildBlocksForm in core/
modules/ block/ src/ BlockListBuilder.php - Builds the main "Blocks" portion of the form.
- BookManager::addFormElements in core/
modules/ book/ src/ BookManager.php - BookManager::addParentSelectFormElements in core/
modules/ book/ src/ BookManager.php - Builds the parent selection form element for the node form or outline tab.
- BooleanFormatter::settingsForm in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ BooleanFormatter.php - Returns a form to configure settings for the formatter.
- BulkForm::viewsForm in core/
modules/ views/ src/ Plugin/ views/ field/ BulkForm.php - Form constructor for the bulk form.
- Combine::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ filter/ Combine.php - Provide the basic form which calls through to subforms.
- CommentAdminOverview::buildForm in core/
modules/ comment/ src/ Form/ CommentAdminOverview.php - Form constructor for the comment overview administration form.
- CommentDefaultFormatter::settingsForm in core/
modules/ comment/ src/ Plugin/ Field/ FieldFormatter/ CommentDefaultFormatter.php - Returns a form to configure settings for the formatter.
- CommentItem::fieldSettingsForm in core/
modules/ comment/ src/ Plugin/ Field/ FieldType/ CommentItem.php - Returns a form for the field-level settings.
- CommentItem::storageSettingsForm in core/
modules/ comment/ src/ Plugin/ Field/ FieldType/ CommentItem.php - Returns a form for the storage-level settings.
- CommentTypeForm::form in core/
modules/ comment/ src/ CommentTypeForm.php - Gets the actual form array to be built.
- ConfigHandler::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandler.php - ConfigSingleExportForm::buildForm in core/
modules/ config/ src/ Form/ ConfigSingleExportForm.php - Form constructor.
- ConfigSingleImportForm::buildForm in core/
modules/ config/ src/ Form/ ConfigSingleImportForm.php - Form constructor.
- ConfigTestForm::form in core/
modules/ config/ tests/ config_test/ src/ ConfigTestForm.php - ContentModerationConfigureForm::buildConfigurationForm in core/
modules/ content_moderation/ src/ Form/ ContentModerationConfigureForm.php - Form constructor.
- ContentTranslationHandler::entityFormAlter in core/
modules/ content_translation/ src/ ContentTranslationHandler.php - ContextAwarePluginAssignmentTrait::addContextAssignmentElement in core/
lib/ Drupal/ Core/ Plugin/ ContextAwarePluginAssignmentTrait.php - Builds a form element for assigning a context to a given slot.
- ContextualLinks::buildOptionsForm in core/
modules/ contextual/ src/ Plugin/ views/ field/ ContextualLinks.php - ConvertImageEffect::buildConfigurationForm in core/
modules/ image/ src/ Plugin/ ImageEffect/ ConvertImageEffect.php - CurrentThemeCondition::buildConfigurationForm in core/
modules/ system/ src/ Plugin/ Condition/ CurrentThemeCondition.php - Date::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ field/ Date.php - Datelist::processDatelist in core/
lib/ Drupal/ Core/ Datetime/ Element/ Datelist.php - Expands a date element into an array of individual elements.
- DateRangeDatelistWidget::settingsForm in core/
modules/ datetime_range/ src/ Plugin/ Field/ FieldWidget/ DateRangeDatelistWidget.php - Returns a form to configure settings for the widget.
- DateRangeFieldItemList::defaultValuesForm in core/
modules/ datetime_range/ src/ Plugin/ Field/ FieldType/ DateRangeFieldItemList.php - Returns a form for the default value input.
- DateTimeDatelistWidget::settingsForm in core/
modules/ datetime/ src/ Plugin/ Field/ FieldWidget/ DateTimeDatelistWidget.php - Returns a form to configure settings for the widget.
- DateTimeDefaultFormatter::settingsForm in core/
modules/ datetime/ src/ Plugin/ Field/ FieldFormatter/ DateTimeDefaultFormatter.php - Returns a form to configure settings for the formatter.
- DateTimeFieldItemList::defaultValuesForm in core/
modules/ datetime/ src/ Plugin/ Field/ FieldType/ DateTimeFieldItemList.php - Returns a form for the default value input.
- DateTimeFormatterBase::settingsForm in core/
modules/ datetime/ src/ Plugin/ Field/ FieldFormatter/ DateTimeFormatterBase.php - Returns a form to configure settings for the formatter.
- DateTimeItem::storageSettingsForm in core/
modules/ datetime/ src/ Plugin/ Field/ FieldType/ DateTimeItem.php - Returns a form for the storage-level settings.
- DblogFilterForm::buildForm in core/
modules/ dblog/ src/ Form/ DblogFilterForm.php - Form constructor.
- dblog_form_system_logging_settings_alter in core/
modules/ dblog/ dblog.module - Implements hook_form_FORM_ID_alter() for system_logging_settings().
- DecimalFormatter::settingsForm in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ DecimalFormatter.php - Returns a form to configure settings for the formatter.
- DefaultSelection::buildConfigurationForm in core/
lib/ Drupal/ Core/ Entity/ Plugin/ EntityReferenceSelection/ DefaultSelection.php - Form constructor.
- DisplayLink::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ area/ DisplayLink.php - DummyAjaxWidget::formElement in core/
modules/ image/ tests/ modules/ image_module_test/ src/ Plugin/ Field/ FieldWidget/ DummyAjaxWidget.php - Returns the form for a single field widget.
- EditorMediaDialog::buildForm in core/
modules/ media/ src/ Form/ EditorMediaDialog.php - editor_form_filter_format_form_alter in core/
modules/ editor/ editor.module - Implements hook_form_BASE_FORM_ID_alter() for \Drupal\filter\FilterFormatEditForm.
- Entity::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ area/ Entity.php - EntityDisplayFormBase::buildExtraFieldRow in core/
modules/ field_ui/ src/ Form/ EntityDisplayFormBase.php - Builds the table row structure for a single extra field.
- EntityDisplayFormBase::buildFieldRow in core/
modules/ field_ui/ src/ Form/ EntityDisplayFormBase.php - Builds the table row structure for a single field.
- EntityModerationForm::buildForm in core/
modules/ content_moderation/ src/ Form/ EntityModerationForm.php - Form constructor.
- EntityReferenceEntityFormatter::settingsForm in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ EntityReferenceEntityFormatter.php - Returns a form to configure settings for the formatter.
- EntityReferenceItem::fieldSettingsForm in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EntityReferenceItem.php - Returns a form for the field-level settings.
- EntityReferenceItem::storageSettingsForm in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EntityReferenceItem.php - Returns a form for the storage-level settings.
- EntityRow::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ row/ EntityRow.php - ExportForm::buildForm in core/
modules/ locale/ src/ Form/ ExportForm.php - Form constructor.
- ExposedFormPluginBase::exposedFormAlter in core/
modules/ views/ src/ Plugin/ views/ exposed_form/ ExposedFormPluginBase.php - Alters the exposed form.
- FieldLayoutEntityDisplayFormTrait::form in core/
modules/ field_layout/ src/ Form/ FieldLayoutEntityDisplayFormTrait.php - Overrides \Drupal\field_ui\Form\EntityDisplayFormBase::form().
- FieldStorageAddForm::buildForm in core/
modules/ field_ui/ src/ Form/ FieldStorageAddForm.php - Form constructor.
- FieldStorageConfigEditForm::getCardinalityForm in core/
modules/ field_ui/ src/ Form/ FieldStorageConfigEditForm.php - Builds the cardinality form.
- field_ui_test_form_entity_view_display_edit_form_alter in core/
modules/ field_ui/ tests/ modules/ field_ui_test/ field_ui_test.module - Implements hook_form_FORM_BASE_ID_alter().
- FileSize::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ field/ FileSize.php - FileSystemForm::buildForm in core/
modules/ system/ src/ Form/ FileSystemForm.php - Form constructor.
- FileTestForm::buildForm in core/
modules/ file/ tests/ file_test/ src/ Form/ FileTestForm.php - Form constructor.
- FileTestSaveUploadFromForm::buildForm in core/
modules/ file/ tests/ file_test/ src/ Form/ FileTestSaveUploadFromForm.php - Form constructor.
- FileTransferAuthorizeForm::buildForm in core/
lib/ Drupal/ Core/ FileTransfer/ Form/ FileTransferAuthorizeForm.php - Form constructor.
- FilterPluginBase::buildExposeForm in core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php - Options form subform for exposed filter options.
- FilterPluginBase::operatorForm in core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php - Options form subform for setting the operator.
- FormElementsRenderTest::testDrupalRenderFormElements in core/
modules/ system/ tests/ src/ Kernel/ Common/ FormElementsRenderTest.php - Tests rendering form elements without passing through \Drupal::formBuilder()->doBuildForm().
- FormTest::testRequiredFields in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Check several empty values for required forms elements.
- FormTestEmptySelectForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestEmptySelectForm.php - Form constructor.
- FormTestMachineNameValidationForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestMachineNameValidationForm.php - Form constructor.
- FormTestSelectForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestSelectForm.php - Form constructor.
- FormTestValidateRequiredForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestValidateRequiredForm.php - Form constructor.
- FormValidatorTest::providerTestPerformRequiredValidation in core/
tests/ Drupal/ Tests/ Core/ Form/ FormValidatorTest.php - ForumBlockBase::blockForm in core/
modules/ forum/ src/ Plugin/ Block/ ForumBlockBase.php - ForumForm::forumParentSelect in core/
modules/ forum/ src/ Form/ ForumForm.php - Returns a select box for available parent terms.
- ForumSettingsForm::buildForm in core/
modules/ forum/ src/ ForumSettingsForm.php - Form constructor.
- HTTPStatusCode::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ area/ HTTPStatusCode.php - ImageFormatter::settingsForm in core/
modules/ image/ src/ Plugin/ Field/ FieldFormatter/ ImageFormatter.php - Returns a form to configure settings for the formatter.
- ImageStyleDeleteForm::form in core/
modules/ image/ src/ Form/ ImageStyleDeleteForm.php - Gets the actual form array to be built.
- ImageStyleEditForm::form in core/
modules/ image/ src/ Form/ ImageStyleEditForm.php - ImageWidget::settingsForm in core/
modules/ image/ src/ Plugin/ Field/ FieldWidget/ ImageWidget.php - ImportForm::buildForm in core/
modules/ locale/ src/ Form/ ImportForm.php - Form constructor for the translation import screen.
- InlineBlock::blockForm in core/
modules/ layout_builder/ src/ Plugin/ Block/ InlineBlock.php - JavascriptStatesForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ JavascriptStatesForm.php - Form constructor.
- Language::buildConfigurationForm in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ Language.php - Language::settingsForm in core/
modules/ ckeditor/ src/ Plugin/ CKEditorPlugin/ Language.php - LanguageAddForm::form in core/
modules/ language/ src/ Form/ LanguageAddForm.php - Gets the actual form array to be built.
- LanguageConfiguration::processLanguageConfiguration in core/
modules/ language/ src/ Element/ LanguageConfiguration.php - Process handler for the language_configuration form element.
- Mapping::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ style/ Mapping.php - Provide a form to edit options for this plugin.
- MediaEmbed::settingsForm in core/
modules/ media/ src/ Plugin/ Filter/ MediaEmbed.php - MediaSourceBase::buildConfigurationForm in core/
modules/ media/ src/ MediaSourceBase.php - MediaTypeForm::form in core/
modules/ media/ src/ MediaTypeForm.php - Gets the actual form array to be built.
- MenuParentFormSelector::parentSelectElement in core/
lib/ Drupal/ Core/ Menu/ MenuParentFormSelector.php - menu_ui_form_node_type_form_alter in core/
modules/ menu_ui/ menu_ui.module - Implements hook_form_FORM_ID_alter() for \Drupal\node\NodeTypeForm.
- ModerationStateWidget::formElement in core/
modules/ content_moderation/ src/ Plugin/ Field/ FieldWidget/ ModerationStateWidget.php - Returns the form for a single field widget.
- MoveBlockForm::buildForm in core/
modules/ layout_builder/ src/ Form/ MoveBlockForm.php - Builds the move block form.
- MultiWidthLayoutBase::buildConfigurationForm in core/
modules/ layout_builder/ src/ Plugin/ Layout/ MultiWidthLayoutBase.php - NegotiationBrowserForm::buildForm in core/
modules/ language/ src/ Form/ NegotiationBrowserForm.php - Form constructor.
- NodePreviewForm::buildForm in core/
modules/ node/ src/ Form/ NodePreviewForm.php - Form constructor.
- NodeSearch::buildConfigurationForm in core/
modules/ node/ src/ Plugin/ Search/ NodeSearch.php - NumericField::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ field/ NumericField.php - NumericFormatterBase::settingsForm in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ NumericFormatterBase.php - Returns a form to configure settings for the formatter.
- olivero_form_system_theme_settings_alter in core/
themes/ olivero/ theme-settings.php - Implements hook_form_FORM_ID_alter() for system_theme_settings.
- OpmlFields::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ row/ OpmlFields.php - OptionsSelectWidget::formElement in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ OptionsSelectWidget.php - Returns the form for a single field widget.
- PerformanceForm::buildForm in core/
modules/ system/ src/ Form/ PerformanceForm.php - Form constructor.
- Permission::buildOptionsForm in core/
modules/ user/ src/ Plugin/ views/ access/ Permission.php - Provide a form to edit options for this plugin.
- Raw::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ argument_default/ Raw.php - RearrangeFilter::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ RearrangeFilter.php - RegionalForm::buildForm in core/
modules/ system/ src/ Form/ RegionalForm.php - Form constructor.
- RenderedEntity::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ field/ RenderedEntity.php - RenderElementTest::testPreRenderAjaxForm in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ RenderElementTest.php - @covers ::preRenderAjaxForm
- RenderElementTest::testPreRenderAjaxFormWithQueryOptions in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ RenderElementTest.php - @covers ::preRenderAjaxForm
- ResponsiveImageFormatter::settingsForm in core/
modules/ responsive_image/ src/ Plugin/ Field/ FieldFormatter/ ResponsiveImageFormatter.php - Returns a form to configure settings for the formatter.
- ResponsiveImageStyleForm::form in core/
modules/ responsive_image/ src/ ResponsiveImageStyleForm.php - Overrides Drupal\Core\Entity\EntityForm::form().
- RoleSettingsForm::buildForm in core/
modules/ user/ src/ Form/ RoleSettingsForm.php - Form constructor.
- RssFeedsForm::buildForm in core/
modules/ system/ src/ Form/ RssFeedsForm.php - Form constructor.
- RssFields::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ row/ RssFields.php - RssPluginBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ row/ RssPluginBase.php - SearchBlock::blockForm in core/
modules/ search/ src/ Plugin/ Block/ SearchBlock.php - SearchExtraTypeSearch::buildConfigurationForm in core/
modules/ search/ tests/ modules/ search_extra_type/ src/ Plugin/ Search/ SearchExtraTypeSearch.php - Form constructor.
- SearchPageListBuilder::buildForm in core/
modules/ search/ src/ SearchPageListBuilder.php - Form constructor.
- SelectLanguageForm::buildForm in core/
lib/ Drupal/ Core/ Installer/ Form/ SelectLanguageForm.php - Form constructor.
- Serialized::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ field/ Serialized.php - SettingsTrayFormAnnotationIsClassBlockForm::buildConfigurationForm in core/
modules/ settings_tray/ tests/ modules/ settings_tray_test/ src/ Form/ SettingsTrayFormAnnotationIsClassBlockForm.php - Form constructor.
- SiteConfigureForm::buildForm in core/
lib/ Drupal/ Core/ Installer/ Form/ SiteConfigureForm.php - Form constructor.
- SqlBase::exposedFormAlter in core/
modules/ views/ src/ Plugin/ views/ pager/ SqlBase.php - StatisticsPopularBlock::blockForm in core/
modules/ statistics/ src/ Plugin/ Block/ StatisticsPopularBlock.php - StylePluginBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ style/ StylePluginBase.php - Provide a form to edit options for this plugin.
- syslog_form_system_logging_settings_alter in core/
modules/ syslog/ syslog.module - Implements hook_form_FORM_ID_alter().
- SystemMenuBlock::blockForm in core/
modules/ system/ src/ Plugin/ Block/ SystemMenuBlock.php - Table::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ style/ Table.php - Render the given style.
- TaxonomyIndexTid::valueForm in core/
modules/ taxonomy/ src/ Plugin/ views/ filter/ TaxonomyIndexTid.php - Options form subform for setting options.
- TermForm::form in core/
modules/ taxonomy/ src/ TermForm.php - Gets the actual form array to be built.
- TestForm::buildForm in core/
modules/ system/ tests/ modules/ test_page_test/ src/ Form/ TestForm.php - Form constructor.
- TextFormat::processFormat in core/
modules/ filter/ src/ Element/ TextFormat.php - Expands an element into a base element with text format selector attached.
- ThemeAdminForm::buildForm in core/
modules/ system/ src/ Form/ ThemeAdminForm.php - Form constructor.
- Time::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ cache/ Time.php - Provide a form to edit options for this plugin.
- TimestampFormatter::settingsForm in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ TimestampFormatter.php - Returns a form to configure settings for the formatter.
- TranslateFilterForm::buildForm in core/
modules/ locale/ src/ Form/ TranslateFilterForm.php - UserData::buildOptionsForm in core/
modules/ user/ src/ Plugin/ views/ field/ UserData.php - UserSelection::buildConfigurationForm in core/
modules/ user/ src/ Plugin/ EntityReferenceSelection/ UserSelection.php - View::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ area/ View.php - ViewAddForm::form in core/
modules/ views_ui/ src/ ViewAddForm.php - ViewsSelection::buildConfigurationForm in core/
modules/ views/ src/ Plugin/ EntityReferenceSelection/ ViewsSelection.php - views_ui_standard_display_dropdown in core/
modules/ views_ui/ admin.inc - Add a <select> dropdown for a given section, allowing the user to change whether this info is stored on the default display or on the current display.
- WizardPluginBase::buildFilters in core/
modules/ views/ src/ Plugin/ views/ wizard/ WizardPluginBase.php - Builds the form structure for selecting the view's filters.
- WizardPluginBase::buildForm in core/
modules/ views/ src/ Plugin/ views/ wizard/ WizardPluginBase.php - Form callback to build other elements in the "show" form.
- WizardPluginBase::buildFormStyle in core/
modules/ views/ src/ Plugin/ views/ wizard/ WizardPluginBase.php - Adds the style options to the wizard form.
- WizardPluginBase::buildSorts in core/
modules/ views/ src/ Plugin/ views/ wizard/ WizardPluginBase.php - Builds the form structure for selecting the view's sort order.
- WizardPluginBaseTest::providerTestGetSelected in core/
modules/ views/ tests/ src/ Unit/ WizardPluginBaseTest.php - Provides test data for testGetSelected().
- WorkflowAddForm::form in core/
modules/ workflows/ src/ Form/ WorkflowAddForm.php - Gets the actual form array to be built.
- WorkspaceSwitcherForm::buildForm in core/
modules/ workspaces/ src/ Form/ WorkspaceSwitcherForm.php - Form constructor.