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
HTMLRestrictions::getHtml5ElementList function core/modules/ckeditor5/src/HTMLRestrictions.php Gets a list of all known HTML5 elements.
HTMLRestrictions::getTextContainerElementList function core/modules/ckeditor5/src/HTMLRestrictions.php Gets a list of CKEditor 5's `$block` text container elements.
HTMLRestrictions::mergeAllowedElementsLevel function core/modules/ckeditor5/src/HTMLRestrictions.php Merge arrays of allowed elements according to HTMLRestrictions rules.
HTMLRestrictions::toCKEditor5ElementsArray function core/modules/ckeditor5/src/HTMLRestrictions.php Transforms into the CKEditor 5 package metadata "elements" representation.
HTMLRestrictions::WILDCARD_ELEMENT_METHODS constant core/modules/ckeditor5/src/HTMLRestrictions.php Wildcard types, and the methods that return tags the wildcard represents.
HtmlTag::$voidElements property core/lib/Drupal/Core/Render/Element/HtmlTag.php Void elements do not contain values or closing tags.
HtmxTestForm::getTriggerElement function core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestForm.php
ImageFieldWidgetMultipleTest::testWidgetElementMultipleUploads function core/modules/image/tests/src/FunctionalJavascript/ImageFieldWidgetMultipleTest.php Tests image widget element support multiple upload correctly.
ImageFieldWidgetTest::testWidgetElement function core/modules/image/tests/src/Functional/ImageFieldWidgetTest.php Tests file widget element.
ImageFieldWidgetValidationTest::testWidgetElementValidation function core/modules/image/tests/src/Functional/ImageFieldWidgetValidationTest.php Tests file widget element.
ImageFormatter::viewElements function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php Builds a renderable array for a field value.
ImageUrlFormatter::viewElements function core/modules/image/src/Plugin/Field/FieldFormatter/ImageUrlFormatter.php Builds a renderable array for a field value.
ImageWidget::errorElement function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Assigns a field-level validation error to the right widget sub-element.
ImageWidget::formElement function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Returns the form for a single field widget.
ImageWidget::formMultipleElements function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Overrides \Drupal\Core\Field\WidgetBase::formMultipleElements().
InlineFormErrorsHooks::elementInfoAlter function core/modules/inline_form_errors/src/Hook/InlineFormErrorsHooks.php Implements hook_element_info_alter().
InlineFormErrorsThemeHooks::preprocessFormElement function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Implements hook_preprocess_HOOK() for form element templates.
JavascriptStatesTest::doElementsDisabledStateTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests the submit button, select and textarea disabled states.
js-interaction-test-blocker-element.css file core/modules/system/tests/modules/js_interaction_test/css/js-interaction-test-blocker-element.css .blocker-element {
/* Position the box over the target. */
position: relative;
z-index: 1;
top: -30px;
left: -5px;
/* Size the box to cover the target. */
width: 500px;
height: 40px;
opacity: 0.5;
/* Make the blocker element…
JSInteractionTest::testElementsInteraction function core/tests/Drupal/FunctionalJavascriptTests/Tests/JSInteractionTest.php Assert no exception is thrown when elements become interactive.
JSWebAssert::assertNoElementAfterWait function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Asserts that no matching element exists on the page after a wait.
JSWebAssert::waitForElement function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for the specified selector and returns it when available.
JSWebAssert::waitForElementRemoved function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Looks for the specified selector and returns TRUE when it is unavailable.
JSWebAssert::waitForElementVisible function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for the specified selector and returns it when available and visible.
JsWebAssertTestForm::addWaitForElementVisible function core/modules/system/tests/modules/jswebassert_test/src/Form/JsWebAssertTestForm.php Ajax callback for the "Test waitForElementVisible" button.
JUnitConverter::xmlElementToRows function core/lib/Drupal/Core/Test/JUnitConverter.php Parse test cases from XML to {simpletest} schema.
JUnitConverterTest::testXmlElementToRows function core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php Tests xml element to rows.
LanguageConfigurationElement class core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php A form containing a language configuration element.
LanguageConfigurationElement.php file core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php
LanguageConfigurationElement::buildForm function core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php Form constructor.
LanguageConfigurationElement::getFormId function core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php Returns a unique string identifying the form.
LanguageConfigurationElement::submitForm function core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php Form submission handler.
LanguageConfigurationElementTest class core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Tests the features of the language configuration element field.
LanguageConfigurationElementTest class core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php A form containing a language select element.
LanguageConfigurationElementTest.php file core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php
LanguageConfigurationElementTest.php file core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php
LanguageConfigurationElementTest::$defaultTheme property core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php The theme to install as the default for testing.
LanguageConfigurationElementTest::$modules property core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Modules to install.
LanguageConfigurationElementTest::buildForm function core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php Form constructor.
LanguageConfigurationElementTest::getDefaultLangcode function core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Returns the default language code for a given entity type and bundle.
LanguageConfigurationElementTest::getFormId function core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php Returns a unique string identifying the form.
LanguageConfigurationElementTest::setUp function core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php
LanguageConfigurationElementTest::submitForm function core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php Form submission handler.
LanguageConfigurationElementTest::testDefaultLangcode function core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Tests that default langcode is correctly returned.
LanguageConfigurationElementTest::testLanguageConfigurationElement function core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Tests the language settings have been saved.
LanguageConfigurationElementTest::testNodeTypeDelete function core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Tests the language settings are deleted on bundle delete.
LanguageConfigurationElementTest::testNodeTypeUpdate function core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Tests that the configuration is retained when the node type is updated.
LanguageConfigurationElementTest::testTaxonomyVocabularyUpdate function core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Tests that the configuration is retained when a vocabulary is updated.
LanguageHooks::elementInfoAlter function core/modules/language/src/Hook/LanguageHooks.php Implements hook_element_info_alter().
LanguageSelectElementTest class core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Tests the language selection form element.

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