Search for element

  1. Search 7.x for element
  2. Search 8.9.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
ElementInfoManagerTest::testGetInfoElementPlugin function core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php Tests the getInfo() method when render element plugins are used.
ElementInfoManagerTest::testGetInfoProperty function core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php @covers ::getInfoProperty
ElementInterface interface core/lib/Drupal/Core/Render/Element/ElementInterface.php Provides an interface for render element plugins.
ElementInterface interface core/modules/config_translation/src/FormElement/ElementInterface.php Provides an interface for configuration translation form elements.
ElementInterface.php file core/modules/config_translation/src/FormElement/ElementInterface.php
ElementInterface.php file core/lib/Drupal/Core/Render/Element/ElementInterface.php
ElementInterface::create function core/modules/config_translation/src/FormElement/ElementInterface.php Creates a form element instance from a schema definition.
ElementInterface::getInfo function core/lib/Drupal/Core/Render/Element/ElementInterface.php Returns the element properties for this element.
ElementInterface::getTranslationBuild function core/modules/config_translation/src/FormElement/ElementInterface.php Builds a render array containing the source and translation form elements.
ElementInterface::setAttributes function core/lib/Drupal/Core/Render/Element/ElementInterface.php Sets a form element's class attribute.
ElementInterface::setConfig function core/modules/config_translation/src/FormElement/ElementInterface.php Sets configuration based on a nested form value array.
elements.css file core/themes/seven/css/base/elements.css /**
* Generic elements.
*/
body {
color: #333;
background: #fff;
font: normal 81.3%/1.538em "Lucida Grande", "Lucida Sans Unicode", "DejaVu Sans", "Lucida Sans", sans-serif;
}
a,
.link {
elements.css file core/themes/claro/css/base/elements.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/

/**
* Generic elements.
*/

html {
font-family: BlinkMacSystemFont, -apple-system, "Segoe UI",…
elements.css file core/themes/bartik/css/base/elements.css Overall specifications for Bartik.
elements.pcss.css file core/themes/claro/css/base/elements.pcss.css /**
* Generic elements.
*/

@import "./variables.pcss.css";

html {
font-family: var(--font-family);
font-size: 100%;
font-weight: normal;
font-style: normal;
line-height: var(--line-height);
}
body {
color: var(--color-fg);
ElementsAccessTest class core/modules/system/tests/src/Functional/Form/ElementsAccessTest.php Tests access control for form elements.
ElementsAccessTest.php file core/modules/system/tests/src/Functional/Form/ElementsAccessTest.php
ElementsAccessTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/ElementsAccessTest.php The theme to install as the default for testing.
ElementsAccessTest::$modules property core/modules/system/tests/src/Functional/Form/ElementsAccessTest.php Modules to enable.
ElementsAccessTest::testAccessFalse function core/modules/system/tests/src/Functional/Form/ElementsAccessTest.php Ensures that child values are still processed when #access = FALSE.
ElementsContainerTest class core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php Tests the container form element for expected behavior.
ElementsContainerTest.php file core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php
ElementsContainerTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php The theme to install as the default for testing.
ElementsContainerTest::$modules property core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php Modules to enable.
ElementsContainerTest::testOptionalContainerElements function core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php Tests the #optional container property.
ElementsFieldsetTest class core/modules/system/tests/src/Kernel/Form/ElementsFieldsetTest.php Tests fieldset element rendering and description placement.
ElementsFieldsetTest.php file core/modules/system/tests/src/Kernel/Form/ElementsFieldsetTest.php
ElementsFieldsetTest::$modules property core/modules/system/tests/src/Kernel/Form/ElementsFieldsetTest.php Modules to enable.
ElementsFieldsetTest::buildForm function core/modules/system/tests/src/Kernel/Form/ElementsFieldsetTest.php Form constructor.
ElementsFieldsetTest::getFormId function core/modules/system/tests/src/Kernel/Form/ElementsFieldsetTest.php Returns a unique string identifying the form.
ElementsFieldsetTest::submitForm function core/modules/system/tests/src/Kernel/Form/ElementsFieldsetTest.php Form submission handler.
ElementsFieldsetTest::testFieldsetDescriptions function core/modules/system/tests/src/Kernel/Form/ElementsFieldsetTest.php Tests different display options for fieldset element descriptions.
ElementsFieldsetTest::validateForm function core/modules/system/tests/src/Kernel/Form/ElementsFieldsetTest.php Form validation handler.
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 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/Functional/Form/ElementsTableSelectTest.php Tests the tableselect form element for expected behavior.
ElementsTableSelectTest class core/modules/system/tests/src/FunctionalJavascript/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/Functional/Form/ElementsTableSelectTest.php The theme to install as the default for testing.
ElementsTableSelectTest::$defaultTheme property core/modules/system/tests/src/FunctionalJavascript/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.

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