Search for element

  1. Search 7.x for element
  2. Search 9.5.x for element
  3. Search 10.3.x for element
  4. Search 11.x for element
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Element class core/modules/editor/src/Element.php Defines a service for Text Editor's render elements.
Element class core/lib/Drupal/Core/Render/Element.php Provides helper methods for Drupal render elements.
Element class core/lib/Drupal/Core/Config/Schema/Element.php Defines a generic configuration element.

All search results

Title Object type File name Summary
ElementsContainerTest::testOptionalContainerElements function core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php Tests the #optional container property.
ElementsLabelsTest class core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php Tests form element labels, required markers and associated output.
ElementsLabelsTest.php file core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php
ElementsLabelsTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php The theme to install as the default for testing.
ElementsLabelsTest::$modules property core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php Modules to enable.
ElementsLabelsTest::getFormWithLimitedProperties function core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php Return a form with element with not all properties defined.
ElementsLabelsTest::testFormDescriptions function core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php Tests different display options for form element descriptions.
ElementsLabelsTest::testFormLabels function core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php Test form elements, labels, title attributes and required marks output
correctly and have the correct label option class if needed.
ElementsLabelsTest::testFormsInThemeLessEnvironments function core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php Test 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 enable.
ElementsTableSelectTest::$modules property core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Modules to enable.
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 Test the #js_select property.
ElementsTableSelectTest::testAjax function core/modules/system/tests/src/FunctionalJavascript/Form/ElementsTableSelectTest.php Test the presence of ajax functionality for all options.
ElementsTableSelectTest::testEmptyText function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Test the display of the #empty text when #options is an empty array.
ElementsTableSelectTest::testMultipleFalse function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Test the display of radios when #multiple is FALSE.
ElementsTableSelectTest::testMultipleFalseOptionchecker function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Test the whether the option checker gives an error on invalid tableselect values for radios.
ElementsTableSelectTest::testMultipleFalseSubmit function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Test submission of values when #multiple is FALSE.
ElementsTableSelectTest::testMultipleTrue function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Test the display of checkboxes when #multiple is TRUE.
ElementsTableSelectTest::testMultipleTrueOptionchecker function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Test the whether the option checker gives an error on invalid tableselect values for checkboxes.
ElementsTableSelectTest::testMultipleTrueSubmit function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Test 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 enable.
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::testJavaScriptOrdering function core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php Ensures that vertical-tabs.js is included before collapse.js.
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 class core/modules/system/tests/src/Functional/Form/ElementTest.php Tests building and processing of core form elements.
ElementTest class core/tests/Drupal/Tests/Core/Render/ElementTest.php @coversDefaultClass \Drupal\Core\Render\Element
@group Render
ElementTest.php file core/tests/Drupal/Tests/Core/Render/ElementTest.php
ElementTest.php file core/modules/system/tests/src/Functional/Form/ElementTest.php
ElementTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/ElementTest.php The theme to install as the default for testing.
ElementTest::$modules property core/modules/system/tests/src/Functional/Form/ElementTest.php Modules to enable.
ElementTest::providerTestIsEmpty function core/tests/Drupal/Tests/Core/Render/ElementTest.php
ElementTest::providerTestSetAttributes function core/tests/Drupal/Tests/Core/Render/ElementTest.php Data provider for testSetAttributes().
ElementTest::providerVisibleChildren function core/tests/Drupal/Tests/Core/Render/ElementTest.php Data provider for testVisibleChildren.
ElementTest::testButtonClasses function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests button classes.

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