Search for element

  1. Search 7.x for element
  2. Search 9.5.x for element
  3. Search 8.9.x for element
  4. Search 10.3.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
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.
ElementsVerticalTabsWithSummaryTest class core/modules/system/tests/src/FunctionalJavascript/Form/ElementsVerticalTabsWithSummaryTest.php Tests that titles and summaries in vertical-tabs form elements are set correctly.
ElementsVerticalTabsWithSummaryTest.php file core/modules/system/tests/src/FunctionalJavascript/Form/ElementsVerticalTabsWithSummaryTest.php
ElementsVerticalTabsWithSummaryTest::$defaultTheme property core/modules/system/tests/src/FunctionalJavascript/Form/ElementsVerticalTabsWithSummaryTest.php The theme to install as the default for testing.
ElementsVerticalTabsWithSummaryTest::$modules property core/modules/system/tests/src/FunctionalJavascript/Form/ElementsVerticalTabsWithSummaryTest.php Modules to install.
ElementsVerticalTabsWithSummaryTest::testDynamicSummary function core/modules/system/tests/src/FunctionalJavascript/Form/ElementsVerticalTabsWithSummaryTest.php Check that vertical tabs title and summaries are set correctly.
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[[api-linebreak]]
@group Render
ElementTest.php file core/modules/system/tests/src/Functional/Form/ElementTest.php
ElementTest.php file core/tests/Drupal/Tests/Core/Render/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 install.
ElementTest::dataProviderIsRenderArray function core/tests/Drupal/Tests/Core/Render/ElementTest.php
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.
ElementTest::testChild function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the child() method.
ElementTest::testChildren function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the children() method.
ElementTest::testDetailsDescriptionAttributes function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests description attributes of details.
ElementTest::testDetailsSummaryAttributes function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests summary attributes of details.
ElementTest::testFormAutocomplete function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests a form with an autocomplete setting..
ElementTest::testFormElementErrors function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests form element error messages.
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.
ElementTest::testIgnoredChildren function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the children() method with an ignored key/value pair.
ElementTest::testInvalidChildren function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the children() method with an invalid key.
ElementTest::testIsEmpty function core/tests/Drupal/Tests/Core/Render/ElementTest.php @covers ::isEmpty[[api-linebreak]]
ElementTest::testIsRenderArray function core/tests/Drupal/Tests/Core/Render/ElementTest.php @covers ::isRenderArray[[api-linebreak]]
@dataProvider dataProviderIsRenderArray
ElementTest::testOptions function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests expansion of #options for #type checkboxes and radios.
ElementTest::testPlaceHolderText function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests placeholder text for elements that support placeholders.
ElementTest::testProperties function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the properties() method.
ElementTest::testProperty function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the property() method.
ElementTest::testRadiosChecked function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests correct checked attribute for radios element.

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