You are here

81 #type uses of Container 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.
ActionAjaxTest::buildConfigurationForm in core/modules/action/tests/action_form_ajax_test/src/Plugin/Action/ActionAjaxTest.php
Form constructor.
AddFormBase::buildEntityFormElement in core/modules/media_library/src/Form/AddFormBase.php
Builds the sub-form for setting required fields on a new media item.
AddFormBase::buildSelectedItemElement in core/modules/media_library/src/Form/AddFormBase.php
Returns a render array for a single pre-selected media item.
AggregatorController::buildPageList in core/modules/aggregator/src/Controller/AggregatorController.php
Builds a listing of aggregator feed items.
AjaxCssForm::buildForm in core/modules/ckeditor/tests/modules/src/Form/AjaxCssForm.php
Form constructor.
AjaxFormsTestSimpleForm::buildForm in core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestSimpleForm.php
Form constructor.
AjaxTestMessageCommandForm::buildForm in core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestMessageCommandForm.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::processContainerRadios in core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
Custom form radios process function.
BasicSettingsForm::buildForm in core/modules/views_ui/src/Form/BasicSettingsForm.php
Form constructor.
BrokenHandlerTrait::buildOptionsForm in core/modules/views/src/Plugin/views/BrokenHandlerTrait.php
Provides a form to edit options for this plugin.
BulkForm::viewsForm in core/modules/views/src/Plugin/views/field/BulkForm.php
Form constructor for the bulk form.
ChooseSectionController::build in core/modules/layout_builder/src/Controller/ChooseSectionController.php
Choose a layout plugin to add as a section.
CKEditor::buildConfigurationForm in core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
Form constructor.
CommentDefaultFormatterCacheTagsTest::testCacheTags in core/modules/comment/tests/src/Kernel/CommentDefaultFormatterCacheTagsTest.php
Tests the bubbling of cache tags.
ConfigTestForm::form in core/modules/config/tests/config_test/src/ConfigTestForm.php
Gets the actual form array to be built.
ConfigTranslationEntityListBuilder::render in core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php
Builds a listing of entities for the given entity type.
ConfigTranslationFormBase::buildForm in core/modules/config_translation/src/Form/ConfigTranslationFormBase.php
Implements \Drupal\Core\Form\FormInterface::buildForm().
ContentEntityForm::form in core/lib/Drupal/Core/Entity/ContentEntityForm.php
Gets the actual form array to be built.
ContentLanguageSettingsForm::buildForm in core/modules/language/src/Form/ContentLanguageSettingsForm.php
Form constructor.
DbUpdateController::results in core/modules/system/src/Controller/DbUpdateController.php
Displays results of the update script with any accompanying errors.
DefaultSelection::buildConfigurationForm in core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php
Form constructor.
DefaultsEntityForm::buildMessage in core/modules/layout_builder/src/Form/DefaultsEntityForm.php
Renders a message to display at the top of the layout builder.
editor_form_filter_format_form_alter in core/modules/editor/editor.module
Implements hook_form_BASE_FORM_ID_alter() for \Drupal\filter\FilterFormatEditForm.
EntityDisplayFormBase::buildFieldRow in core/modules/field_ui/src/Form/EntityDisplayFormBase.php
Builds the table row structure for a single field.
EntityReferenceItem::fieldSettingsForm in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
Returns a form for the field-level settings.
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.
FileTransferAuthorizeForm::buildForm in core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php
Form constructor.
FileUploadForm::buildInputElement in core/modules/media_library/src/Form/FileUploadForm.php
Builds the element for submitting source field value(s).
FormTestGroupContainerForm::buildForm in core/modules/system/tests/modules/form_test/src/Form/FormTestGroupContainerForm.php
Form constructor.
FormTestGroupFieldsetForm::buildForm in core/modules/system/tests/modules/form_test/src/Form/FormTestGroupFieldsetForm.php
Form constructor.
FormTestMachineNameValidationForm::buildForm in core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php
Form constructor.
FormTestOptionalContainerForm::buildForm in core/modules/system/tests/modules/form_test/src/Form/FormTestOptionalContainerForm.php
Form constructor.
FormTestVerticalTabsAccessForm::buildForm in core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsAccessForm.php
Form constructor.
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
KernelTestBaseTest::testEnableModulesTheme in core/modules/simpletest/src/Tests/KernelTestBaseTest.php
Tests that ThemeManager works right after loading a module.
LanguageAddForm::form in core/modules/language/src/Form/LanguageAddForm.php
Gets the actual form array to be built.
LayoutBuilder::buildAddSectionLink in core/modules/layout_builder/src/Element/LayoutBuilder.php
Builds a link to add a new section at a given delta.
LayoutBuilder::buildAdministrativeSection in core/modules/layout_builder/src/Element/LayoutBuilder.php
Builds the render array for the layout section while editing.
layout_builder_preprocess_language_content_settings_table in core/modules/layout_builder/layout_builder.module
Implements hook_preprocess_HOOK() for language-content-settings-table.html.twig.
MediaLibraryUiBuilder::buildLibraryContent in core/modules/media_library/src/MediaLibraryUiBuilder.php
Build the media library content area.
MediaLibraryWidget::formElement in core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php
Returns the form for a single field widget.
MediaTypeForm::form in core/modules/media/src/MediaTypeForm.php
Gets the actual form array to be built.
media_form_field_ui_field_storage_add_form_alter in core/modules/media/media.module
Implements hook_form_FORM_ID_alter().
MenuForm::buildOverviewForm in core/modules/menu_ui/src/MenuForm.php
Form constructor to edit an entire menu tree at once.
menu_ui_form_node_form_alter in core/modules/menu_ui/menu_ui.module
Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
ModerationStateWidget::formElement in core/modules/content_moderation/src/Plugin/Field/FieldWidget/ModerationStateWidget.php
Returns the form for a single field widget.
ModulesListForm::buildForm in core/modules/system/src/Form/ModulesListForm.php
Form constructor.
ModulesUninstallForm::buildForm in core/modules/system/src/Form/ModulesUninstallForm.php
Form constructor.
node_page_top in core/modules/node/node.module
Implements hook_page_top().
OEmbedForm::buildInputElement in core/modules/media_library/src/Form/OEmbedForm.php
Builds the element for submitting source field value(s).
OverridesEntityForm::buildMessage in core/modules/layout_builder/src/Form/OverridesEntityForm.php
Renders a message to display at the top of the layout builder.
OverviewTerms::buildForm in core/modules/taxonomy/src/Form/OverviewTerms.php
Form constructor.
PagerTestController::multiplePagers in core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php
Returns a page with multiple pagers.
PreviewToggleTrait::buildContentPreviewToggle in core/modules/layout_builder/src/Form/PreviewToggleTrait.php
Builds the content preview toggle input.
RenderElementTypesTest::testContainer in core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php
Tests system #type 'container'.
RendererBubblingTest::testBubblingWithoutPreRender in core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php
Tests bubbling of assets when NOT using #pre_render callbacks.
RendererCallbackTest::providerTestCallback in core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php
Data provider for testCallback().
RenderTest::testRenderChildren in core/tests/Drupal/KernelTests/Core/Render/RenderTest.php
Ensures that render array children are processed correctly.
ResponsiveImageStyleForm::form in core/modules/responsive_image/src/ResponsiveImageStyleForm.php
Overrides Drupal\Core\Entity\EntityForm::form().
SearchPageForm::buildForm in core/modules/search/src/Form/SearchPageForm.php
Form constructor.
SearchPageListBuilder::buildForm in core/modules/search/src/SearchPageListBuilder.php
Form constructor.
SimpletestTestForm::buildForm in core/modules/simpletest/src/Form/SimpletestTestForm.php
Form constructor.
template_preprocess_views_view_mapping_test in core/modules/views/tests/modules/views_test_data/views_test_data.module
Prepares variables for the mapping row style test templates.
TextFormat::processFormat in core/modules/filter/src/Element/TextFormat.php
Expands an element into a base element with text format selector attached.
ThemeSettingsForm::buildForm in core/modules/system/src/Form/ThemeSettingsForm.php
toolbar_toolbar in core/modules/toolbar/toolbar.module
Implements hook_toolbar().
TourTestController::tourTest1 in core/modules/tour/tests/tour_test/src/Controller/TourTestController.php
Outputs some content for testing tours.
TourTestController::tourTest2 in core/modules/tour/tests/tour_test/src/Controller/TourTestController.php
Outputs some content for testing tours.
TourViewBuilder::viewMultiple in core/modules/tour/src/TourViewBuilder.php
Builds the render array for the provided entities.
UserSelection::buildConfigurationForm in core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php
Form constructor.
user_form_system_regional_settings_alter in core/modules/user/user.module
Implements hook_form_FORM_ID_alter() for \Drupal\system\Form\RegionalForm.
ViewEditForm::form in core/modules/views_ui/src/ViewEditForm.php
Gets the actual form array to be built.
ViewListBuilder::render in core/modules/views_ui/src/ViewListBuilder.php
Builds the entity listing as renderable array for table.html.twig.
WidgetBase::form in core/lib/Drupal/Core/Field/WidgetBase.php
Creates a form element for a field.
WizardPluginBase::buildForm in core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
Form callback to build other elements in the "show" form.
WorkspaceListBuilder::offCanvasRender in core/modules/workspaces/src/WorkspaceListBuilder.php
Renders the off canvas elements.