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. Search main for element
  6. 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
FormPreprocess::preprocessFormElement function core/lib/Drupal/Core/Form/FormPreprocess.php Returns HTML for a form element.
FormPreprocess::preprocessFormElementLabel function core/lib/Drupal/Core/Form/FormPreprocess.php Prepares variables for form label templates.
FormState::$has_file_element property core/lib/Drupal/Core/Form/FormState.php Indicates a file element is present.
FormState::$triggering_element property core/lib/Drupal/Core/Form/FormState.php The form element that triggered submission.
FormState::getTriggeringElement function core/lib/Drupal/Core/Form/FormState.php Gets the form element that triggered submission.
FormState::hasFileElement function core/lib/Drupal/Core/Form/FormState.php Returns whether this form has a file element.
FormState::setHasFileElement function core/lib/Drupal/Core/Form/FormState.php Sets that this form has a file element.
FormState::setTriggeringElement function core/lib/Drupal/Core/Form/FormState.php Sets the form element that triggered submission.
FormStateDecoratorBase::getTriggeringElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Gets the form element that triggered submission.
FormStateDecoratorBase::hasFileElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns whether this form has a file element.
FormStateDecoratorBase::setHasFileElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets that this form has a file element.
FormStateDecoratorBase::setTriggeringElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the form element that triggered submission.
FormStateDecoratorBase::setValueForElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Changes submitted form values during form validation.
FormStateDecoratorBaseTest::testGetTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Tests get triggering element.
FormStateDecoratorBaseTest::testHasFileElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Tests has file element.
FormStateDecoratorBaseTest::testSetHasFileElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Tests set has file element.
FormStateDecoratorBaseTest::testSetTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Tests set triggering element.
FormStateDecoratorBaseTest::testSetValueForElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Tests set value for element.
FormStateInterface::getTriggeringElement function core/lib/Drupal/Core/Form/FormStateInterface.php Gets the form element that triggered submission.
FormStateInterface::hasFileElement function core/lib/Drupal/Core/Form/FormStateInterface.php Returns whether this form has a file element.
FormStateInterface::setHasFileElement function core/lib/Drupal/Core/Form/FormStateInterface.php Sets that this form has a file element.
FormStateInterface::setTriggeringElement function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the form element that triggered submission.
FormStateInterface::setValueForElement function core/lib/Drupal/Core/Form/FormStateInterface.php Changes submitted form values during form validation.
FormStateValuesTrait::setValueForElement function core/lib/Drupal/Core/Form/FormStateValuesTrait.php Implements \Drupal\Core\Form\FormStateInterface::setValueForElement()
FormStateValuesTraitTest::testSetValueForElement function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Tests that setting the value for an element adds to the values.
FormTest::testDisabledElements function core/modules/system/tests/src/Functional/Form/FormTest.php Tests handling of disabled elements.
FormTestBase::$elementInfo property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The element info manager.
FormTestBase::assertFormElement function core/tests/Drupal/Tests/Core/Form/FormTestBase.php Asserts that the expected form structure is found in a form for a given key.
FormTestDisabledElementsForm class core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php Builds a form to test disabled elements.
FormTestDisabledElementsForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php
FormTestDisabledElementsForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php Form constructor.
FormTestDisabledElementsForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php Returns a unique string identifying the form.
FormTestDisabledElementsForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php Form submission handler.
FormTestLimitValidationErrorsForm::elementValidateLimitValidationErrors function core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php
FormTestStorageForm::elementValidateValueCached function core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php Form element validation handler for 'value' element.
FormTestValidateRequiredForm::elementValidateRequired function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php
FormValidatorTest::testElementValidate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Tests element validate.
FormValidatorTestMockInterface::element_validate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Function used in the mocking process of this test.
GenericFileFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php Builds a renderable array for a field value.
gin-elements.css file core/themes/default_admin/migration/css/base/gin-elements.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
hr {
margin: var(--gin-spacing-xl) 0;
}
gin-elements.pcss.css file core/themes/default_admin/migration/css/base/gin-elements.pcss.css hr {
margin: var(--gin-spacing-xl) 0;
}
Heading::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Heading.php Returns a configured subset of the elements supported by this plugin.
hook_element_info_alter function core/lib/Drupal/Core/Render/theme.api.php Alter the element type information returned from modules.
hook_element_plugin_alter function core/lib/Drupal/Core/Render/theme.api.php Alter Element plugin definitions.
hook_field_widget_single_element_form_alter function core/modules/field/field.api.php Alter forms for field widgets provided by other modules.
hook_field_widget_single_element_WIDGET_TYPE_form_alter function core/modules/field/field.api.php Alter widget forms for a specific widget provided by another module.
Html::escapeCdataElement function core/lib/Drupal/Component/Utility/Html.php Adds comments around a <!CDATA section in a \DOMNode.
HTMLRestrictions::$elements property core/modules/ckeditor5/src/HTMLRestrictions.php An array of allowed elements.
HTMLRestrictions::findElementsOverridingGloballyDisallowedAttributes function core/modules/ckeditor5/src/HTMLRestrictions.php Finds elements overriding globally disallowed attributes.
HTMLRestrictions::getAllowedElements function core/modules/ckeditor5/src/HTMLRestrictions.php Gets allowed elements.

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