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
RenderElementTypesTest class core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Tests the rendered markup of core render element types.
RenderElementTypesTest.php file core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php
RenderElementTypesTest::$modules property core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php
RenderElementTypesTest::assertElements function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Asserts that an array of elements is rendered properly.
RenderElementTypesTest::setUp function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php
RenderElementTypesTest::testContainer function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Tests system #type 'container'.
RenderElementTypesTest::testHtmlTag function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Tests system #type 'html_tag'.
RenderElementTypesTest::testLink function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Tests system #type 'link'.
RenderElementTypesTest::testMoreLink function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Tests system #type 'more_link'.
RenderElementTypesTest::testSystemCompactLink function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Tests system #type 'system_compact_link'.
Renderer::loadElementDefaults function core/lib/Drupal/Core/Render/Renderer.php Loads an element's default values based on its type.
RendererPlaceholdersTest::generatePlaceholderElement function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Generates an element with a placeholder.
RendererPlaceholdersTest::generatePlaceholdersWithChildrenTestElement function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Generates an element with placeholders at 3 levels.
RendererRecursionTest::setUpRenderRecursionComplexElements function core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php
RendererTest::testElementDefaultsAdded function core/tests/Drupal/Tests/Core/Render/RendererTest.php Tests that element defaults are added.
RendererTestBase::$elementInfo property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php The mocked element info.
ResponsiveImageFormatter::viewElements function core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php
ResponsiveImageTestFormatter::viewElements function core/modules/responsive_image/tests/modules/responsive_image_test_module/src/Plugin/Field/FieldFormatter/ResponsiveImageTestFormatter.php
Rss::$channel_elements property core/modules/views/src/Plugin/views/style/Rss.php The channel elements.
Rss::getChannelElements function core/modules/views/src/Plugin/views/style/Rss.php Return an array of additional XHTML elements to add to the channel.
RSSEnclosureFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/RSSEnclosureFormatter.php
SelectPagerDefaultTest::testElementNumbers function core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php Confirms that every pager gets a valid, non-overlapping element ID.
Sequence::getElementDefinition function core/lib/Drupal/Core/Config/Schema/Sequence.php
ShapeOnlyColorEditableWidget::formElement function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldWidget/ShapeOnlyColorEditableWidget.php
SmartDefaultSettings::addToolbarItemsToMatchHtmlElementsInFormat function core/modules/ckeditor5/src/SmartDefaultSettings.php Adds CKEditor 5 toolbar items to match the format's HTML elements.
SmartDefaultSettings::computeNetNewElementsForPlugin function core/modules/ckeditor5/src/SmartDefaultSettings.php Computes net new needed elements when considering adding the given plugin.
SneakySuperset::getElementsSubset function core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_subset/src/Plugin/CKEditor5Plugin/SneakySuperset.php
SortArray::sortByTitleElement function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by 'title' key (no # prefix).
SortArray::sortByWeightElement function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by the 'weight' element.
SortArrayTest::providerSortByTitleElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Data provider for SortArray::sortByTitleElement().
SortArrayTest::providerSortByWeightElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Data provider for SortArray::sortByWeightElement().
SortArrayTest::testSortByTitleElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests SortArray::sortByTitleElement() input against expected output.
SortArrayTest::testSortByWeightElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests SortArray::sortByWeightElement() input against expected output.
SourceEditing::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/SourceEditing.php
SourceEditingEmptyElementTest class core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingEmptyElementTest.php @coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\SourceEditing[[api-linebreak]]
@covers \Drupal\ckeditor5\Plugin\CKEditor5PluginManager::getCKEditor5PluginConfig[[api-linebreak]]
@group ckeditor5
@internal
SourceEditingEmptyElementTest.php file core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingEmptyElementTest.php
SourceEditingEmptyElementTest::testEmptyInlineElement function core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingEmptyElementTest.php Tests creating empty inline elements using Source Editing.
StatusTest::testErrorElementCount function core/modules/system/tests/src/Functional/System/StatusTest.php Tests that the Error counter matches the displayed number of errors.
StatusTest::testWarningElementCount function core/modules/system/tests/src/Functional/System/StatusTest.php Tests that the Warning counter matches the displayed number of warnings.
StringFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php
StringTextareaWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextareaWidget.php
StringTextfieldWidget::singleElementObject function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextfieldWidget.php
Style::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Style.php
StylePluginBase::elementPreRenderRow function core/modules/views/src/Plugin/views/style/StylePluginBase.php Render API callback: Performs view row field rendering.
StyleSensibleElementConstraint class core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraint.php Styles can only be specified for HTML5 tags and extra classes.
StyleSensibleElementConstraint.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraint.php
StyleSensibleElementConstraint::$conflictingDisabledPluginMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraint.php When a Style is defined with classes supported by a disabled plugin.
StyleSensibleElementConstraint::$conflictingEnabledPluginMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraint.php When a Style is defined with classes supported by an enabled plugin.
StyleSensibleElementConstraint::$nonHtml5TagMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraint.php When a style is defined for a non-HTML5 tag.
StyleSensibleElementConstraint::$unsupportedTagMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraint.php When a Style is defined for a plugin that does not yet support Style.

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