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. 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
MenuLinkTreeElement::$depth property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php The depth of this link relative to the root of the tree.
MenuLinkTreeElement::$hasChildren property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Whether this link has any children at all.
MenuLinkTreeElement::$inActiveTrail property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Whether this link is in the active trail.
MenuLinkTreeElement::$link property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php The menu link for this element in a menu link tree.
MenuLinkTreeElement::$options property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Additional options for this link.
MenuLinkTreeElement::$subtree property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php The subtree of this element in the menu link tree (this link's children).
MenuLinkTreeElement::count function core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Counts all menu links in the current subtree.
MenuLinkTreeElement::__construct function core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Constructs a new \Drupal\Core\Menu\MenuLinkTreeElement.
MenuLinkTreeElementTest class core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php Tests the menu link tree element value object.
MenuLinkTreeElementTest.php file core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php
MenuLinkTreeElementTest::testConstruction function core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php Tests construction.
MenuLinkTreeElementTest::testCount function core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php Tests count().
MenuParentFormSelector::parentSelectElement function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Gets a form element to choose a menu and parent.
MenuParentFormSelectorInterface::parentSelectElement function core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php Gets a form element to choose a menu and parent.
ModerationStateWidget::formElement function core/modules/content_moderation/src/Plugin/Field/FieldWidget/ModerationStateWidget.php Returns the form for a single field widget.
ModerationStateWidget::validateElement function core/modules/content_moderation/src/Plugin/Field/FieldWidget/ModerationStateWidget.php Form validation handler for widget elements.
ModernRenderElementTest class core/tests/Drupal/Tests/Core/Render/Element/ModernRenderElementTest.php @coversDefaultClass \Drupal\Core\Render\Element\RenderElementBase[[api-linebreak]]
@group Render
ModernRenderElementTest.php file core/tests/Drupal/Tests/Core/Render/Element/ModernRenderElementTest.php
ModernRenderElementTest::testChildren function core/tests/Drupal/Tests/Core/Render/Element/ModernRenderElementTest.php
NumberWidget::errorElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Assigns a field-level validation error to the right widget sub-element.
NumberWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Returns the form for a single field widget.
NumericFormatterBase::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/NumericFormatterBase.php Builds a renderable array for a field value.
NumericUnformattedFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/NumericUnformattedFormatter.php Builds a renderable array for a field value.
OEmbedForm::buildInputElement function core/modules/media_library/src/Form/OEmbedForm.php Builds the element for submitting source field value(s).
OEmbedFormatter::viewElements function core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php Builds a renderable array for a field value.
OEmbedWidget::singleElementObject function core/modules/media/src/Plugin/Field/FieldWidget/OEmbedWidget.php Returns the form for a single field widget.
OffCanvasTestBase::assertElementVisibleAfterWait function core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php Asserts the specified selector is visible after a wait.
olivero_element_info_alter function core/themes/olivero/olivero.theme Implements hook_element_info_alter().
olivero_preprocess_form_element function core/themes/olivero/olivero.theme Implements hook_preprocess_form_element().
olivero_preprocess_form_element_label function core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK().
OptionsButtonsWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsButtonsWidget.php Returns the form for a single field widget.
OptionsDefaultFormatter::viewElements function core/modules/options/src/Plugin/Field/FieldFormatter/OptionsDefaultFormatter.php Builds a renderable array for a field value.
OptionsKeyFormatter::viewElements function core/modules/options/src/Plugin/Field/FieldFormatter/OptionsKeyFormatter.php Builds a renderable array for a field value.
OptionsSelectWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsSelectWidget.php Returns the form for a single field widget.
OptionsWidgetBase::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Returns the form for a single field widget.
OptionsWidgetBase::validateElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Form validation handler for widget elements.
Page header for Elements page group core/lib/Drupal/Core/Render/theme.api.php Introduction to form and render elements
PagerManager::$maxPagerElementId property core/lib/Drupal/Core/Pager/PagerManager.php The highest pager ID created so far.
PagerManager::getMaxPagerElementId function core/lib/Drupal/Core/Pager/PagerManager.php Gets the extent of the pager page element IDs.
PagerManager::reservePagerElementId function core/lib/Drupal/Core/Pager/PagerManager.php Reserve a pager element ID.
PagerManagerInterface::getMaxPagerElementId function core/lib/Drupal/Core/Pager/PagerManagerInterface.php Gets the extent of the pager page element IDs.
PagerManagerInterface::reservePagerElementId function core/lib/Drupal/Core/Pager/PagerManagerInterface.php Reserve a pager element ID.
PagerManagerTest::providerTestGetMaxPagerElementId function core/tests/Drupal/KernelTests/Core/Pager/PagerManagerTest.php Provides test cases for PagerManagerTest::testGetMaxPagerElementId().
PagerManagerTest::testGetMaxPagerElementId function core/tests/Drupal/KernelTests/Core/Pager/PagerManagerTest.php @covers ::getMaxPagerElementId[[api-linebreak]]
PagerSelectExtender::$element property core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php The unique ID of this pager on this page.
PagerSelectExtender::element function core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php Specify the element ID for this pager query.
PagerSelectExtender::ensureElement function core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php Ensure that there is an element associated with this query.
PagerSelectExtender::getElement function core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php Gets the element ID for this pager query.
PathBasedBreadcrumbBuilderTest::testBuildWithOnePathElement function core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php Tests the build method with one path element.
PathBasedBreadcrumbBuilderTest::testBuildWithThreePathElements function core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php Tests the build method with three path elements.

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