You are here

176 #type uses of Select in Drupal 8

AccountForm::form in core/modules/user/src/AccountForm.php
Gets the actual form array to be built.
AccountSettingsForm::buildForm in core/modules/user/src/AccountSettingsForm.php
Form constructor.
ActionAdminManageForm::buildForm in core/modules/action/src/Form/ActionAdminManageForm.php
Form constructor.
AddHandler::buildForm in core/modules/views_ui/src/Form/Ajax/AddHandler.php
Form constructor.
AggregatorFeedBlock::blockForm in core/modules/aggregator/src/Plugin/Block/AggregatorFeedBlock.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.
ArgumentPluginBase::buildOptionsForm in core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
Provide a form to edit options for this plugin.
ArgumentPluginBase::defaultArgumentForm in core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
Provide a form for selecting the default argument when the default action is set to provide default argument.
AssignOwnerNode::buildConfigurationForm in core/modules/node/src/Plugin/Action/AssignOwnerNode.php
Form constructor.
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
Builds the common elements of the book form for the node and outline forms.
BookManager::addParentSelectFormElements in core/modules/book/src/BookManager.php
Builds the parent selection form element for the node form or outline tab.
Boolean::buildOptionsForm in core/modules/views/src/Plugin/views/field/Boolean.php
Default options form that provides the label widget that all fields should have.
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.
color_scheme_form in core/modules/color/color.module
Form constructor for the color configuration form for a particular theme.
Combine::buildOptionsForm in core/modules/views/src/Plugin/views/filter/Combine.php
Provide the basic form which calls through to subforms. If overridden, it is best to call through to the parent, or to at least make sure all of the functions in this form are called.
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
Form constructor.
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
Gets the actual form array to be built.
ContentModerationConfigureForm::buildConfigurationForm in core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php
Form constructor.
ContentTranslationHandler::entityFormAlter in core/modules/content_translation/src/ContentTranslationHandler.php
Performs the needed alterations to the entity form.
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
Default options form that provides the label widget that all fields should have.
ConvertImageEffect::buildConfigurationForm in core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php
Form constructor.
CurrentThemeCondition::buildConfigurationForm in core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php
Form constructor.
Date::buildOptionsForm in core/modules/views/src/Plugin/views/field/Date.php
Default options form that provides the label widget that all fields should have.
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.
DefaultProcessor::buildConfigurationForm in core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php
Form constructor.
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
Provide a form to edit options for this plugin.
DisplayPluginBase::buildOptionsForm in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Provide a form to edit options for this plugin.
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
Provide a form to edit options for this plugin.
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.
EntityField::buildGroupByForm in core/modules/views/src/Plugin/views/field/EntityField.php
Extend the groupby form with group columns.
EntityField::buildOptionsForm in core/modules/views/src/Plugin/views/field/EntityField.php
Default options form that provides the label widget that all fields should have.
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
Provide a form for setting options.
EntityViewDisplayEditForm::buildFieldRow in core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php
Builds the table row structure for a single field.
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.
FieldBlock::blockForm in core/modules/layout_builder/src/Plugin/Block/FieldBlock.php
FieldLayoutEntityDisplayFormTrait::form in core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php
Overrides \Drupal\field_ui\Form\EntityDisplayFormBase::form().
FieldPluginBase::buildOptionsForm in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Default options form that provides the label widget that all fields should have.
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
Default options form that provides the label widget that all fields should have.
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.
GroupwiseMax::buildOptionsForm in core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php
Provide a form to edit options for this plugin.
HandlerBase::buildGroupByForm in core/modules/views/src/Plugin/views/HandlerBase.php
Provide a form for aggregation settings.
HTTPStatusCode::buildOptionsForm in core/modules/views/src/Plugin/views/area/HTTPStatusCode.php
Provide a form to edit options for this plugin.
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
Gets the actual form array to be built.
ImageWidget::settingsForm in core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php
Returns a form to configure settings for the widget.
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::settingsForm in core/modules/ckeditor/src/Plugin/CKEditorPlugin/Language.php
Returns a settings form to configure this CKEditor plugin.
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
Generates a filter's settings form.
MediaSourceBase::buildConfigurationForm in core/modules/media/src/MediaSourceBase.php
Form constructor.
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
Gets a form element to choose a menu and parent.
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
Form constructor.
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
Form constructor.
NumericField::buildOptionsForm in core/modules/views/src/Plugin/views/field/NumericField.php
Default options form that provides the label widget that all fields should have.
NumericFormatterBase::settingsForm in core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/NumericFormatterBase.php
Returns a form to configure settings for the formatter.
OpmlFeedAdd::buildForm in core/modules/aggregator/src/Form/OpmlFeedAdd.php
Form constructor.
OpmlFields::buildOptionsForm in core/modules/views/src/Plugin/views/row/OpmlFields.php
Provide a form for setting options.
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
Provide the default form for setting options.
RearrangeFilter::buildForm in core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php
Form constructor.
RegionalForm::buildForm in core/modules/system/src/Form/RegionalForm.php
Form constructor.
RenderedEntity::buildOptionsForm in core/modules/views/src/Plugin/views/field/RenderedEntity.php
Default options form that provides the label widget that all fields should have.
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().
RowPluginBase::buildOptionsForm in core/modules/views/src/Plugin/views/row/RowPluginBase.php
Provide a form for setting options.
RssFeedsForm::buildForm in core/modules/system/src/Form/RssFeedsForm.php
Form constructor.
RssFields::buildOptionsForm in core/modules/views/src/Plugin/views/row/RssFields.php
Provide a form for setting options.
RssPluginBase::buildOptionsForm in core/modules/views/src/Plugin/views/row/RssPluginBase.php
Provide a form for setting options.
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
Default options form that provides the label widget that all fields should have.
SettingsTrayFormAnnotationIsClassBlockForm::buildConfigurationForm in core/modules/settings_tray/tests/modules/settings_tray_test/src/Form/SettingsTrayFormAnnotationIsClassBlockForm.php
Form constructor.
SimpletestResultsForm::buildForm in core/modules/simpletest/src/Form/SimpletestResultsForm.php
Form constructor.
SimpletestSettingsForm::buildForm in core/modules/simpletest/src/Form/SimpletestSettingsForm.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
StringArgument::buildOptionsForm in core/modules/views/src/Plugin/views/argument/StringArgument.php
Provide a form to edit options for this plugin.
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
system_user_timezone in core/modules/system/system.module
Add the time zone field to the user edit and register forms.
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
Form constructor.
UserData::buildOptionsForm in core/modules/user/src/Plugin/views/field/UserData.php
Default options form that provides the label widget that all fields should have.
UserSelection::buildConfigurationForm in core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php
Form constructor.
View::buildOptionsForm in core/modules/views/src/Plugin/views/area/View.php
Provide a form to edit options for this plugin.
ViewAddForm::form in core/modules/views_ui/src/ViewAddForm.php
Gets the actual form array to be built.
ViewsSelection::buildConfigurationForm in core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php
Form constructor.
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.