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
AddFormBase::buildEntityFormElement function core/modules/media_library/src/Form/AddFormBase.php Builds the sub-form for setting required fields on a new media item.
AddFormBase::buildInputElement function core/modules/media_library/src/Form/AddFormBase.php Builds the element for submitting source field value(s).
AddFormBase::buildSelectedItemElement function core/modules/media_library/src/Form/AddFormBase.php Returns a render array for a single pre-selected media item.
AggregatorTitleFormatter::viewElements function core/modules/aggregator/src/Plugin/Field/FieldFormatter/AggregatorTitleFormatter.php Builds a renderable array for a field value.
AggregatorXSSFormatter::viewElements function core/modules/aggregator/src/Plugin/Field/FieldFormatter/AggregatorXSSFormatter.php Builds a renderable array for a field value.
AjaxFormPageCacheTest::testAjaxElementValidation function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormPageCacheTest.php Tests that updating the text field trigger an AJAX request/response.
AjaxFormsTestAjaxElementsForm class core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestAjaxElementsForm.php Builds a form where each Form API element triggers a simple Ajax callback.
AjaxFormsTestAjaxElementsForm.php file core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestAjaxElementsForm.php
AjaxFormsTestAjaxElementsForm::buildForm function core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestAjaxElementsForm.php Form constructor.
AjaxFormsTestAjaxElementsForm::getFormId function core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestAjaxElementsForm.php Returns a unique string identifying the form.
AjaxFormsTestAjaxElementsForm::submitForm function core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestAjaxElementsForm.php Form submission handler.
AjaxRenderer::$elementInfoManager property core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php The element info manager.
Alignment::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Alignment.php Returns a configured subset of the elements supported by this plugin.
ArrayElement class core/lib/Drupal/Core/Config/Schema/ArrayElement.php Defines a generic configuration element that contains multiple properties.
ArrayElement.php file core/lib/Drupal/Core/Config/Schema/ArrayElement.php
ArrayElement::$elements property core/lib/Drupal/Core/Config/Schema/ArrayElement.php Parsed elements.
ArrayElement::buildDataDefinition function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Creates a new data definition object from an array and configuration.
ArrayElement::createElement function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Creates a contained typed configuration object.
ArrayElement::get function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Gets a contained typed configuration element.
ArrayElement::getAllKeys function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Gets valid configuration data keys.
ArrayElement::getElementDefinition function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Gets data definition object for contained element.
ArrayElement::getElements function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Gets an array of contained elements.
ArrayElement::getIterator function core/lib/Drupal/Core/Config/Schema/ArrayElement.php
ArrayElement::getProperties function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Gets an array of property objects.
ArrayElement::isEmpty function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Determines whether the data structure is empty.
ArrayElement::isNullable function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Determines if this element allows NULL as a value.
ArrayElement::onChange function core/lib/Drupal/Core/Config/Schema/ArrayElement.php React to changes to a child property or item.
ArrayElement::parse function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Builds an array of contained elements.
ArrayElement::set function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Sets a property value.
ArrayElement::toArray function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Returns an array of all property values.
AssertContentTrait::$elements property core/tests/Drupal/KernelTests/AssertContentTrait.php The XML structure parsed from the current raw $content.
AssertLegacyTrait::assertElementNotPresent function core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php Asserts that the element with the given CSS selector is not present.
AssertLegacyTrait::assertElementPresent function core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php Asserts that the element with the given CSS selector is present.
AssertLegacyTraitTest::testAssertElementNotPresent function core/tests/Drupal/Tests/Core/Assert/AssertLegacyTraitTest.php @covers ::assertElementNotPresent
AssertLegacyTraitTest::testAssertElementPresent function core/tests/Drupal/Tests/Core/Assert/AssertLegacyTraitTest.php @covers ::assertElementPresent
AttachmentTestFormatter::viewElements function core/modules/views/tests/modules/views_test_formatter/src/Plugin/Field/FieldFormatter/AttachmentTestFormatter.php Builds a renderable array for a field value.
AuthorFormatter::viewElements function core/modules/user/src/Plugin/Field/FieldFormatter/AuthorFormatter.php Builds a renderable array for a field value.
AuthorNameFormatter::viewElements function core/modules/comment/src/Plugin/Field/FieldFormatter/AuthorNameFormatter.php Builds a renderable array for a field value.
BaseFieldFileFormatterBase::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/BaseFieldFileFormatterBase.php Builds a renderable array for a field value.
BasicStringFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/BasicStringFormatter.php Builds a renderable array for a field value.
BlockFilterTest::filterVisibleElements function core/modules/block/tests/src/FunctionalJavascript/BlockFilterTest.php Removes any non-visible elements from the passed array.
BlockFilterTest::filterVisibleElements function core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFilterTest.php Removes any non-visible elements from the passed array.
BookManager::addFormElements function core/modules/book/src/BookManager.php Builds the common elements of the book form for the node and outline forms.
BookManager::addParentSelectFormElements function core/modules/book/src/BookManager.php Builds the parent selection form element for the node form or outline tab.
BookManagerInterface::addFormElements function core/modules/book/src/BookManagerInterface.php Builds the common elements of the book form for the node and outline forms.
BooleanCheckboxWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/BooleanCheckboxWidget.php Returns the form for a single field widget.
BooleanFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/BooleanFormatter.php Builds a renderable array for a field value.
BundleEntityFormBase::protectBundleIdElement function core/lib/Drupal/Core/Entity/BundleEntityFormBase.php Protects the bundle entity's ID property's form element against changes.
CKEditor4To5Upgrade::$cke5_plugin_elements_subset_configuration property core/modules/ckeditor5/src/Annotation/CKEditor4To5Upgrade.php The CKEditor 5 plugins with configurable subset with upgrade path provided.
CKEditor5AllowedTagsTest::$allowedElements property core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5AllowedTagsTest.php The default CKEditor 5 allowed elements.

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