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
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 Builds a renderable array for a field value.
ResponsiveImageTestFormatter::viewElements function core/modules/responsive_image/tests/modules/responsive_image_test_module/src/Plugin/Field/FieldFormatter/ResponsiveImageTestFormatter.php Builds a renderable array for a field value.
Rss::$channel_elements property core/modules/views/src/Plugin/views/style/Rss.php
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 Builds a renderable array for a field value.
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 Gets data definition object for contained element.
ShapeOnlyColorEditableWidget::formElement function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldWidget/ShapeOnlyColorEditableWidget.php Returns the form for a single field widget.
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 Returns a configured subset of the elements supported by this plugin.
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 Returns a configured subset of the elements supported by this plugin.
SourceEditingEmptyElementTest class core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingEmptyElementTest.php @coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\SourceEditing
@covers \Drupal\ckeditor5\Plugin\CKEditor5PluginManager::getCKEditor5PluginConfig
@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 Builds a renderable array for a field value.
StringTextareaWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextareaWidget.php Returns the form for a single field widget.
StringTextfieldWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextfieldWidget.php Returns the form for a single field widget.
Style::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Style.php Returns a configured subset of the elements supported by this plugin.
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.
StyleSensibleElementConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Styles can only be specified for HTML5 tags and extra classes.
StyleSensibleElementConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php
StyleSensibleElementConstraintValidator::findStyleConflictingPluginLabel function core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Finds the plugin with elements that conflict with the style element.
StyleSensibleElementConstraintValidator::intersectionWithClasses function core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Checks if there is an intersection on allowed 'class' attribute values.
StyleSensibleElementConstraintValidator::KNOWN_UNSUPPORTED_TAGS constant core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Tags whose plugins are known to not yet integrate with the Style plugin.
StyleSensibleElementConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php
StyleTestBase::$elements property core/modules/views/tests/src/Kernel/Plugin/StyleTestBase.php Stores the SimpleXML representation of the output.
SystemHooks::elementInfoAlter function core/modules/system/src/Hook/SystemHooks.php Implements hook_element_info_alter().
TableFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/TableFormatter.php Builds a renderable array for a field value.
TelephoneDefaultWidget::formElement function core/modules/telephone/src/Plugin/Field/FieldWidget/TelephoneDefaultWidget.php Returns the form for a single field widget.
TelephoneLinkFormatter::viewElements function core/modules/telephone/src/Plugin/Field/FieldFormatter/TelephoneLinkFormatter.php Builds a renderable array for a field value.

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