Search for elements

  1. Search 7.x for elements
  2. Search 9.5.x for elements
  3. Search 8.9.x for elements
  4. Search 10.3.x for elements
  5. Other projects
Title Object type File name Summary
ElementsLabelsTest::testFormLabels function core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php Tests form element rendering.
ElementsLabelsTest::testFormsInThemeLessEnvironments function core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php Tests forms in theme-less environments.
ElementsLabelsTest::testTitleEscaping function core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php Tests XSS-protection of element labels.
ElementsTableSelectTest class core/modules/system/tests/src/FunctionalJavascript/Form/ElementsTableSelectTest.php Tests the tableselect form element for expected behavior.
ElementsTableSelectTest class core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Tests the tableselect form element for expected behavior.
ElementsTableSelectTest.php file core/modules/system/tests/src/FunctionalJavascript/Form/ElementsTableSelectTest.php
ElementsTableSelectTest.php file core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
ElementsTableSelectTest::$defaultTheme property core/modules/system/tests/src/FunctionalJavascript/Form/ElementsTableSelectTest.php The theme to install as the default for testing.
ElementsTableSelectTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php The theme to install as the default for testing.
ElementsTableSelectTest::$modules property core/modules/system/tests/src/FunctionalJavascript/Form/ElementsTableSelectTest.php Modules to install.
ElementsTableSelectTest::$modules property core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Modules to install.
ElementsTableSelectTest::formSubmitHelper function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Helper function for the option check test to submit a form while collecting errors.
ElementsTableSelectTest::testAdvancedSelect function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Tests the #js_select property.
ElementsTableSelectTest::testAjax function core/modules/system/tests/src/FunctionalJavascript/Form/ElementsTableSelectTest.php Tests the presence of ajax functionality for all options.
ElementsTableSelectTest::testDisabledRows function core/modules/system/tests/src/FunctionalJavascript/Form/ElementsTableSelectTest.php Tests table select with disabled rows.
ElementsTableSelectTest::testEmptyText function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Tests the display of the #empty text when #options is an empty array.
ElementsTableSelectTest::testMultipleFalse function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Tests the display of radios when #multiple is FALSE.
ElementsTableSelectTest::testMultipleFalseOptionChecker function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Tests error handling for invalid tableselect values with radio buttons.
ElementsTableSelectTest::testMultipleFalseSubmit function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Tests submission of values when #multiple is FALSE.
ElementsTableSelectTest::testMultipleTrue function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Tests the display of checkboxes when #multiple is TRUE.
ElementsTableSelectTest::testMultipleTrueOptionChecker function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Tests error handling for invalid tableselect values with checkboxes.
ElementsTableSelectTest::testMultipleTrueSubmit function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Tests the submission of single and multiple values when #multiple is TRUE.
ElementsTableSelectTest::testTableSelectColSpan function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Tests the display when #colspan is set.
ElementsVerticalTabsTest class core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php Tests the vertical_tabs form element for expected behavior.
ElementsVerticalTabsTest.php file core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php
ElementsVerticalTabsTest::$adminUser property core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php A user with permission to access vertical_tab_test_tabs.
ElementsVerticalTabsTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php The theme to install as the default for testing.
ElementsVerticalTabsTest::$modules property core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php Modules to install.
ElementsVerticalTabsTest::$webUser property core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php A normal user.
ElementsVerticalTabsTest::setUp function core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php
ElementsVerticalTabsTest::testDefaultTab function core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php Ensures that default vertical tab is correctly selected.
ElementsVerticalTabsTest::testDefaultTabCleaned function core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php Ensures that vertical tab form values are cleaned.
ElementsVerticalTabsTest::testWrapperNotShownWhenEmpty function core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php Ensures that vertical tab markup is not shown if user has no tab access.
ElementTest::testFormElements function core/modules/system/tests/src/Functional/Form/ElementTest.php Test form elements.
ElementTest::testGroupElements function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests the #group property.
EntityReferenceEntityFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php Builds a renderable array for a field value.
EntityReferenceIdFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php Builds a renderable array for a field value.
EntityReferenceLabelFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php Builds a renderable array for a field value.
EntityReferenceTaxonomyTermRssFormatter::viewElements function core/modules/taxonomy/src/Plugin/Field/FieldFormatter/EntityReferenceTaxonomyTermRssFormatter.php Builds a renderable array for a field value.
EntityTestReferenceCustomCacheTagFormatter::viewElements function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldFormatter/EntityTestReferenceCustomCacheTagFormatter.php Builds a renderable array for a field value.
FieldHandlerInterface::getElements function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Provides a list of elements valid for field HTML.
FieldPluginBase::getElements function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Provides a list of elements valid for field HTML.
FileMediaFormatterBase::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Builds a renderable array for a field value.
FileSize::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php Builds a renderable array for a field value.
FileWidget::formMultipleElements function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Overrides \Drupal\Core\Field\WidgetBase::formMultipleElements().
FilterTest::filterVisibleElements function core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/FilterTest.php Removes any non-visible elements from the passed array.
FormatterInterface::viewElements function core/lib/Drupal/Core/Field/FormatterInterface.php Builds a renderable array for a field value.
FormElementsRenderTest class core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php Performs integration tests on \Drupal::service('renderer')->render().
FormElementsRenderTest.php file core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php
FormElementsRenderTest::$modules property core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php Modules to install.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.