105 calls to Element::children() in Drupal 8
- AccountSettingsForm::buildForm in core/
modules/ user/ src/ AccountSettingsForm.php - Form constructor.
- Actions::preRenderActionsDropbutton in core/
lib/ Drupal/ Core/ Render/ Element/ Actions.php - #pre_render callback for #type 'actions'.
- AddFormBase::preRenderAddedMedia in core/
modules/ media_library/ src/ Form/ AddFormBase.php - Converts the set of newly added media into an item list for rendering.
- ArgumentPluginBase::preRenderMoveArgumentOptions in core/
modules/ views/ src/ Plugin/ views/ argument/ ArgumentPluginBase.php - Moves argument options into their place.
- BookAdminEditForm::submitForm in core/
modules/ book/ src/ Form/ BookAdminEditForm.php - Form submission handler.
- CKEditor::buildConfigurationForm in core/
modules/ ckeditor/ src/ Plugin/ Editor/ CKEditor.php - Form constructor.
- ClaroPreRender::container in core/
themes/ claro/ src/ ClaroPreRender.php - Prerender callback for container elements.
- ClaroPreRender::verticalTabs in core/
themes/ claro/ src/ ClaroPreRender.php - Prerender callback for Vertical Tabs element.
- claro_preprocess_file_managed_file in core/
themes/ claro/ claro.theme - Implements hook_preprocess_HOOK() for file_managed_file.
- claro_preprocess_file_widget_multiple in core/
themes/ claro/ claro.theme - Implements hook_preprocess_HOOK() for file_widget_multiple.
- claro_preprocess_menu_local_tasks in core/
themes/ claro/ claro.theme - Implements hook_preprocess_HOOK() for menu-local-tasks templates.
- claro_preprocess_views_exposed_form in core/
themes/ claro/ claro.theme - Implements hook_preprocess_HOOK for views_exposed_form.
- claro_views_ui_display_tab_alter in core/
themes/ claro/ claro.theme - Implements hook_views_ui_display_tab_alter().
- claro_views_ui_display_top_alter in core/
themes/ claro/ claro.theme - Implements hook_views_ui_display_top_alter().
- ContentTranslationHandler::addTranslatabilityClue in core/
modules/ content_translation/ src/ ContentTranslationHandler.php - Adds a clue about the form element translatability.
- ContentTranslationHandler::entityFormAlter in core/
modules/ content_translation/ src/ ContentTranslationHandler.php - Performs the needed alterations to the entity form.
- ContentTranslationHandler::entityFormSharedElements in core/
modules/ content_translation/ src/ ContentTranslationHandler.php - Process callback: determines which elements get clue in the form.
- drupal_render_children in core/
includes/ common.inc - Renders children of an element and concatenates them.
- editor_form_filter_admin_overview_alter in core/
modules/ editor/ editor.module - Implements hook_form_FORM_ID_alter().
- Element::getVisibleChildren in core/
lib/ Drupal/ Core/ Render/ Element.php - Returns the visible children of an element.
- ElementTest::testChildren in core/
tests/ Drupal/ Tests/ Core/ Render/ ElementTest.php - Tests the children() method.
- ElementTest::testIgnoredChildren in core/
tests/ Drupal/ Tests/ Core/ Render/ ElementTest.php - Tests the children() method with an ignored key/value pair.
- ElementTest::testInvalidChildren in core/
tests/ Drupal/ Tests/ Core/ Render/ ElementTest.php - Tests the children() method with an invalid key.
- EntityField::getItems in core/
modules/ views/ src/ Plugin/ views/ field/ EntityField.php - Gets an array of items for the field.
- EntityForm::actionsElement in core/
lib/ Drupal/ Core/ Entity/ EntityForm.php - Returns the action form element for the current entity form.
- EntityReferenceItem::fieldSettingsAjaxProcessElement in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EntityReferenceItem.php - Adds entity_reference specific properties to AJAX form elements from the field settings form.
- EntityViewBuilder::buildMultiple in core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php - Builds multiple entities' views; augments entity defaults.
- EntityViewTrait::buildEntityView in core/
tests/ Drupal/ Tests/ EntityViewTrait.php - Builds the renderable view of an entity.
- ExtraFieldBlock::replaceFieldPlaceholder in core/
modules/ layout_builder/ src/ Plugin/ Block/ ExtraFieldBlock.php - Replaces all placeholders for a given field.
- FieldConfigDeleteForm::buildForm in core/
modules/ field_ui/ src/ Form/ FieldConfigDeleteForm.php - Form constructor.
- FieldUiTable::preRenderRegionRows in core/
modules/ field_ui/ src/ Element/ FieldUiTable.php - Performs pre-render to move #regions to rows.
- FieldUiTable::tablePreRender in core/
modules/ field_ui/ src/ Element/ FieldUiTable.php - Performs pre-render tasks on field_ui_table elements.
- 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().
- FileTransferAuthorizeForm::setConnectionSettingsDefaults in core/
lib/ Drupal/ Core/ FileTransfer/ Form/ FileTransferAuthorizeForm.php - Sets the default settings on a file transfer connection form recursively.
- FileWidget::process in core/
modules/ file/ src/ Plugin/ Field/ FieldWidget/ FileWidget.php - Form API callback: Processes a file_generic field element.
- FileWidget::processMultiple in core/
modules/ file/ src/ Plugin/ Field/ FieldWidget/ FileWidget.php - Form API callback: Processes a group of file_generic field elements.
- FileWidget::validateMultipleCount in core/
modules/ file/ src/ Plugin/ Field/ FieldWidget/ FileWidget.php - Form element validation callback for upload element on file widget. Checks if user has uploaded more files than allowed.
- file_managed_file_submit in core/
modules/ file/ file.module - Form submission handler for upload / remove buttons of managed_file elements.
- FilterPluginBase::buildExposedFiltersGroupForm in core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php - Build the form to let users create the group of exposed filters. This form is displayed when users click on button 'Build group'
- FilterPluginBase::showBuildGroupForm in core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php - Shortcut to display the exposed options form.
- FormatterBase::view in core/
lib/ Drupal/ Core/ Field/ FormatterBase.php - Builds a renderable array for a fully themed field.
- FormBuilder::doBuildForm in core/
lib/ Drupal/ Core/ Form/ FormBuilder.php - Builds and processes all elements in the structured form array.
- FormElementHelper::getElementByName in core/
lib/ Drupal/ Core/ Form/ FormElementHelper.php - Retrieves a form element.
- FormElementHelper::getElementTitle in core/
lib/ Drupal/ Core/ Form/ FormElementHelper.php - Returns the title for the element.
- FormErrorHandler::setElementErrorsFromFormState in core/
lib/ Drupal/ Core/ Form/ FormErrorHandler.php - Stores errors and a list of child element errors directly on each element.
- FormHelper::rewriteStatesSelector in core/
lib/ Drupal/ Core/ Form/ FormHelper.php - Rewrites #states selectors in a render element.
- FormOperations::addWorkspaceValidation in core/
modules/ workspaces/ src/ FormOperations.php - Adds our validation handler recursively on each element of a form.
- FormTest::assertFormValuesDefault in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Assert that the values submitted to a form matches the default values of the elements.
- FormTest::testDisabledElements in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Test handling of disabled elements.
- FormValidator::doValidateForm in core/
lib/ Drupal/ Core/ Form/ FormValidator.php - Performs validation on form elements.
- HandlerBase::showExposeForm in core/
modules/ views/ src/ Plugin/ views/ HandlerBase.php - Shortcut to display the exposed options form.
- hook_entity_display_build_alter in core/
lib/ Drupal/ Core/ Entity/ entity.api.php - Alter the render array generated by an EntityDisplay for an entity.
- LayoutBuilder::buildAdministrativeSection in core/
modules/ layout_builder/ src/ Element/ LayoutBuilder.php - Builds the render array for the layout section while editing.
- Link::preRenderLinks in core/
lib/ Drupal/ Core/ Render/ Element/ Link.php - Pre-render callback: Collects child links into a single array.
- MenuForm::buildOverviewForm in core/
modules/ menu_ui/ src/ MenuForm.php - Form constructor to edit an entire menu tree at once.
- MenuForm::submitOverviewForm in core/
modules/ menu_ui/ src/ MenuForm.php - Submit handler for the menu overview form.
- MessageViewBuilder::view in core/
modules/ contact/ src/ MessageViewBuilder.php - Builds the render array for the provided entity.
- ModulesListForm::buildForm in core/
modules/ system/ src/ Form/ ModulesListForm.php - Form constructor.
- Overview::buildForm in core/
modules/ forum/ src/ Form/ Overview.php - Form constructor.
- PluginBase::preRenderAddFieldsetMarkup in core/
modules/ views/ src/ Plugin/ views/ PluginBase.php - Moves form elements into fieldsets for presentation purposes.
- PluginBase::preRenderFlattenData in core/
modules/ views/ src/ Plugin/ views/ PluginBase.php - Flattens the structure of form elements.
- QuickEditFieldForm::simplify in core/
modules/ quickedit/ src/ Form/ QuickEditFieldForm.php - Simplifies the field edit form for in-place editing.
- QuickEditIntegration::buildEntityView in core/
modules/ layout_builder/ src/ QuickEditIntegration.php - @todo Replace this hardcoded processing when https://www.drupal.org/project/drupal/issues/3041635 is resolved.
- QuickEditIntegration::entityViewAlter in core/
modules/ layout_builder/ src/ QuickEditIntegration.php - Alters the entity view build for Quick Edit compatibility.
- QuickEditIntegration::quickEditRenderField in core/
modules/ layout_builder/ src/ QuickEditIntegration.php - Re-renders a field rendered by Layout Builder, edited with Quick Edit.
- RenderCache::getCacheableRenderArray in core/
lib/ Drupal/ Core/ Render/ RenderCache.php - Gets a cacheable render array for a render array and its rendered output.
- RenderElement::preRenderGroup in core/
lib/ Drupal/ Core/ Render/ Element/ RenderElement.php - Adds members of this group as actual elements for rendering.
- Renderer::doRender in core/
lib/ Drupal/ Core/ Render/ Renderer.php - See the docs for ::render().
- RendererTest::testRenderCacheProperties in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php - Tests that #cache_properties are properly handled.
- RendererTest::testRenderSorting in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php - @covers ::render @covers ::doRender
- SystemMenuBlockTest::convertBuiltMenuToIdTree in core/
modules/ system/ tests/ src/ Kernel/ Block/ SystemMenuBlockTest.php - Helper method to allow for easy menu link tree structure assertions.
- SystemMenuOffCanvasForm::buildConfigurationForm in core/
modules/ system/ src/ Form/ SystemMenuOffCanvasForm.php - Form constructor.
- Table::preRenderTable in core/
lib/ Drupal/ Core/ Render/ Element/ Table.php - #pre_render callback to transform children of an element of #type 'table'.
- Table::processTable in core/
lib/ Drupal/ Core/ Render/ Element/ Table.php - #process callback for #type 'table' to add tableselect support.
- Tableselect::preRenderTableselect in core/
lib/ Drupal/ Core/ Render/ Element/ Tableselect.php - Prepares a 'tableselect' #type element for rendering.
- template_preprocess_aggregator_feed in core/
modules/ aggregator/ aggregator.theme.inc - Prepares variables for aggregator feed templates.
- template_preprocess_aggregator_item in core/
modules/ aggregator/ aggregator.theme.inc - Prepares variables for aggregator item templates.
- template_preprocess_book_all_books_block in core/
modules/ book/ book.module - Prepares variables for book listing block templates.
- template_preprocess_comment in core/
modules/ comment/ comment.module - Prepares variables for comment templates.
- template_preprocess_field_multiple_value_form in core/
includes/ theme.inc - Prepares variables for individual form element templates.
- template_preprocess_file_widget_multiple in core/
modules/ file/ file.field.inc - Prepares variables for multi file form widget templates.
- template_preprocess_image_anchor in core/
modules/ image/ image.admin.inc - Prepares variables for image anchor templates.
- template_preprocess_image_widget in core/
modules/ image/ image.field.inc - Prepares variables for image widget templates.
- template_preprocess_item_list in core/
includes/ theme.inc - Prepares variables for item list templates.
- template_preprocess_language_content_settings_table in core/
modules/ language/ language.admin.inc - Prepares variables for language content settings table templates.
- template_preprocess_layout in core/
modules/ layout_discovery/ layout_discovery.module - Prepares variables for layout templates.
- template_preprocess_media in core/
modules/ media/ media.module - Prepares variables for media templates.
- template_preprocess_media_library_item in core/
modules/ media_library/ media_library.module - Prepares variables for a selected media item.
- template_preprocess_node in core/
modules/ node/ node.module - Prepares variables for node templates.
- template_preprocess_system_modules_details in core/
modules/ system/ system.admin.inc - Prepares variables for the module details templates.
- template_preprocess_system_modules_uninstall in core/
modules/ system/ system.admin.inc - Prepares variables for module uninstall templates.
- template_preprocess_taxonomy_term in core/
modules/ taxonomy/ taxonomy.module - Prepares variables for taxonomy term templates.
- template_preprocess_toolbar in core/
modules/ toolbar/ toolbar.module - Prepares variables for administration toolbar templates.
- template_preprocess_user in core/
modules/ user/ user.module - Prepares variables for user templates.
- template_preprocess_views_ui_build_group_filter_form in core/
modules/ views_ui/ views_ui.theme.inc - Prepares variables for Views UI build group filter form templates.
- template_preprocess_views_ui_style_plugin_table in core/
modules/ views_ui/ views_ui.theme.inc - Prepares variables for style plugin table 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::preRenderToolbar in core/
modules/ toolbar/ src/ Element/ Toolbar.php - Builds the Toolbar as a structured array ready for drupal_render().
- TranslateEditForm::buildForm in core/
modules/ locale/ src/ Form/ TranslateEditForm.php - Form constructor.
- user_user_view_alter in core/
modules/ user/ user.module - Implements hook_ENTITY_TYPE_view_alter() for user entities.
- ValidationTest::testCustomRequiredError in core/
modules/ system/ tests/ src/ Functional/ Form/ ValidationTest.php - Tests #required with custom validation errors.
- _content_translation_preprocess_language_content_settings_table in core/
modules/ content_translation/ content_translation.admin.inc - (proxied) Implements hook_preprocess_HOOK();
- _field_test_alter_widget in core/
modules/ field/ tests/ modules/ field_test/ field_test.module - Sets up alterations for widget alter tests.
- _simpletest_batch_operation in core/
modules/ simpletest/ simpletest.module - Implements callback_batch_operation().