Search for element

  1. Search 7.x for element
  2. Search 9.5.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 Form builder: Builds a form that has each FAPI elements triggering 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.
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 a type definition array and
actual configuration data.
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.
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.
BlockFormMessagesTest::clickElementWhenClickable function core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Attempts to click an element until it is in a clickable state.
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.
ClaroTest::testRegressionMissingElementsCss function core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php Testing that Claro theme's global library is always attached.
claro_element_info_alter function core/themes/claro/claro.theme Implements hook_element_info_alter().
claro_preprocess_form_element function core/themes/claro/claro.theme Implements hook_preprocess_form_element().
claro_preprocess_form_element__password function core/themes/claro/claro.theme Implements hook_preprocess_HOOK() for form_element__password.

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