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
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 #pre_render callback for 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.
template_preprocess_form_element function core/includes/form.inc Returns HTML for a form element.
template_preprocess_form_element_label function core/includes/form.inc Prepares variables for form label templates.
template_preprocess_theme_test_render_element function core/modules/system/tests/modules/theme_test/theme_test.module Prepares variables for test render element templates.
TermParentsTest::testEditingParentsWithDisabledFormElement function core/modules/taxonomy/tests/src/Functional/TermParentsTest.php Tests specifying parents when creating terms and a disabled parent form.
TestAddForm::buildInputElement function core/modules/media_library/tests/modules/media_library_form_overwrite_test/src/Form/TestAddForm.php Builds the element for submitting source field value(s).
TestElementInfoManager class core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php Provides a test custom element plugin.
TestElementInfoManager::$elementInfo property core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php Stores the available element information.
TestFieldApplicableFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldApplicableFormatter.php Builds a renderable array for a field value.
TestFieldDefaultFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldDefaultFormatter.php Builds a renderable array for a field value.
TestFieldEmptyFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldEmptyFormatter.php Builds a renderable array for a field value.
TestFieldEmptySettingFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldEmptySettingFormatter.php Builds a renderable array for a field value.
TestFieldMultipleFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldMultipleFormatter.php Builds a renderable array for a field value.
TestFieldNoSettingsFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldNoSettingsFormatter.php Builds a renderable array for a field value.
TestFieldPrepareViewFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldPrepareViewFormatter.php Builds a renderable array for a field value.
TestFieldWidget::errorElement function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidget.php Assigns a field-level validation error to the right widget sub-element.

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