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
PathElement class core/lib/Drupal/Core/Render/Element/PathElement.php Provides a matched path render element.
PathElement.php file core/lib/Drupal/Core/Render/Element/PathElement.php
PathElement::CONVERT_NONE constant core/lib/Drupal/Core/Render/Element/PathElement.php Do not convert the submitted value from the user-supplied path.
PathElement::CONVERT_ROUTE constant core/lib/Drupal/Core/Render/Element/PathElement.php Convert the submitted value into a route name and parameter pair.
PathElement::CONVERT_URL constant core/lib/Drupal/Core/Render/Element/PathElement.php Convert the submitted value into a \Drupal\Core\Url value object.
PathElement::getInfo function core/lib/Drupal/Core/Render/Element/PathElement.php Returns the element properties for this element.
PathElement::validateMatchedPath function core/lib/Drupal/Core/Render/Element/PathElement.php Form element validation handler for matched_path elements.
PathElement::valueCallback function core/lib/Drupal/Core/Render/Element/PathElement.php Determines how user input is mapped to an element's #value property.
PathElementFormTest class core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Tests PathElement validation and conversion functionality.
PathElementFormTest.php file core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php
PathElementFormTest::$modules property core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Modules to enable.
PathElementFormTest::$testUser property core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php User for testing.
PathElementFormTest::buildForm function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Form constructor.
PathElementFormTest::getFormId function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Returns a unique string identifying the form.
PathElementFormTest::setUp function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Sets up the test.
PathElementFormTest::submitForm function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Form submission handler.
PathElementFormTest::testPathElement function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Tests that default handlers are added even if custom are specified.
PathElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Form validation handler.
PathWidget::errorElement function core/modules/path/src/Plugin/Field/FieldWidget/PathWidget.php Assigns a field-level validation error to the right widget sub-element.
PathWidget::formElement function core/modules/path/src/Plugin/Field/FieldWidget/PathWidget.php Returns the form for a single field widget.
PathWidget::validateFormElement function core/modules/path/src/Plugin/Field/FieldWidget/PathWidget.php Form element validation handler for URL alias form element.
plugin.manager.element_info service core/core.services.yml Drupal\Core\Render\ElementInfoManager
PluralVariants::getSourceElement function core/modules/config_translation/src/FormElement/PluralVariants.php Returns the source element for a given configuration definition.
PluralVariants::getTranslationElement function core/modules/config_translation/src/FormElement/PluralVariants.php Returns the translation form element for a given configuration definition.
RdfParsingTrait::getElementByRdfTypeCount function core/modules/rdf/tests/src/Traits/RdfParsingTrait.php Counts the number of resources of the provided type.
RdfParsingTrait::getElementRdfType function core/modules/rdf/tests/src/Traits/RdfParsingTrait.php Gets type of RDF Element.
RdfParsingTrait::rdfElementIsBlankNode function core/modules/rdf/tests/src/Traits/RdfParsingTrait.php Checks if RDF Node property is blank.
RenderElement class core/lib/Drupal/Core/Render/Element/RenderElement.php Provides a base class for render element plugins.
RenderElement class core/lib/Drupal/Core/Render/Annotation/RenderElement.php Defines a render element plugin annotation object.
RenderElement.php file core/lib/Drupal/Core/Render/Element/RenderElement.php
RenderElement.php file core/lib/Drupal/Core/Render/Annotation/RenderElement.php
RenderElement::preRenderAjaxForm function core/lib/Drupal/Core/Render/Element/RenderElement.php Adds Ajax information about an element to communicate with JavaScript.
RenderElement::preRenderGroup function core/lib/Drupal/Core/Render/Element/RenderElement.php Adds members of this group as actual elements for rendering.
RenderElement::processAjaxForm function core/lib/Drupal/Core/Render/Element/RenderElement.php Form element processing handler for the #ajax form property.
RenderElement::processGroup function core/lib/Drupal/Core/Render/Element/RenderElement.php Arranges elements into groups.
RenderElement::setAttributes function core/lib/Drupal/Core/Render/Element/RenderElement.php Sets a form element's class attribute.
RenderElementHelper class core/modules/inline_form_errors/src/RenderElementHelper.php Provides functionality to process render elements.
RenderElementHelper.php file core/modules/inline_form_errors/src/RenderElementHelper.php
RenderElementHelper::alterElementInfo function core/modules/inline_form_errors/src/RenderElementHelper.php Alters the element type info.
RenderElementHelper::processElement function core/modules/inline_form_errors/src/RenderElementHelper.php Process all render elements.
RenderElementTest class core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php @coversDefaultClass \Drupal\Core\Render\Element\RenderElement
@group Render
RenderElementTest.php file core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php
RenderElementTest::$container property core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php The container.
RenderElementTest::$requestStack property core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php The request stack.
RenderElementTest::setUp function core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php
RenderElementTest::testPreRenderAjaxForm function core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php @covers ::preRenderAjaxForm
RenderElementTest::testPreRenderAjaxFormWithQueryOptions function core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php @covers ::preRenderAjaxForm
RenderElementTypesTest class core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Tests the markup of core render element types passed to drupal_render().
RenderElementTypesTest.php file core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php
RenderElementTypesTest::$modules property core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Modules to enable.

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