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
AggregatorXSSFormatter::viewElements function core/modules/aggregator/src/Plugin/Field/FieldFormatter/AggregatorXSSFormatter.php
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
AjaxFormsTestAjaxElementsForm::getFormId function core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestAjaxElementsForm.php
AjaxFormsTestAjaxElementsForm::submitForm function core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestAjaxElementsForm.php
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
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
ArrayElement::getIterator function core/lib/Drupal/Core/Config/Schema/ArrayElement.php
ArrayElement::getProperties function core/lib/Drupal/Core/Config/Schema/ArrayElement.php
ArrayElement::isEmpty function core/lib/Drupal/Core/Config/Schema/ArrayElement.php
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
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
ArrayElement::toArray function core/lib/Drupal/Core/Config/Schema/ArrayElement.php
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
AuthorFormatter::viewElements function core/modules/user/src/Plugin/Field/FieldFormatter/AuthorFormatter.php
AuthorNameFormatter::viewElements function core/modules/comment/src/Plugin/Field/FieldFormatter/AuthorNameFormatter.php
BaseFieldFileFormatterBase::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/BaseFieldFileFormatterBase.php
BasicStringFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/BasicStringFormatter.php
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
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
BooleanFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/BooleanFormatter.php
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.