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. Search 11.x for element
  6. 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
CKEditor5ElementConstraint::__construct function core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5ElementConstraint.php Constructs a CKEditor5ElementConstraint object.
CKEditor5ElementConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5ElementConstraintValidator.php CKEditor 5 element validator.
CKEditor5ElementConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5ElementConstraintValidator.php
CKEditor5ElementConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5ElementConstraintValidator.php
Ckeditor5Hooks::fieldWidgetSingleElementFormAlter function core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php Implements hook_field_widget_single_element_form_alter().
CKEditor5PluginDefinition::getCreatableElements function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Gets the elements this plugin allows to create.
CKEditor5PluginDefinition::getElements function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Gets the list of elements and attributes this plugin allows to create/edit.
CKEditor5PluginDefinition::hasElements function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Whether this plugin allows creating/editing elements and attributes.
CKEditor5PluginDefinition::isCreatableElement function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Checks if the element is a plain tag, meaning the plugin can create it.
CKEditor5PluginElementsSubsetInterface interface core/modules/ckeditor5/src/Plugin/CKEditor5PluginElementsSubsetInterface.php Defines an interface for plugins that can support an elements subset.
CKEditor5PluginElementsSubsetInterface.php file core/modules/ckeditor5/src/Plugin/CKEditor5PluginElementsSubsetInterface.php
CKEditor5PluginElementsSubsetInterface::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5PluginElementsSubsetInterface.php Returns a configured subset of the elements supported by this plugin.
CKEditor5PluginManager::findPluginSupportingElement function core/modules/ckeditor5/src/Plugin/CKEditor5PluginManager.php Searches for CKEditor 5 plugin that supports a given tag.
CKEditor5PluginManager::getProvidedElements function core/modules/ckeditor5/src/Plugin/CKEditor5PluginManager.php Gets all supported elements for the given plugins and text editor.
CKEditor5PluginManagerInterface::findPluginSupportingElement function core/modules/ckeditor5/src/Plugin/CKEditor5PluginManagerInterface.php Searches for CKEditor 5 plugin that supports a given tag.
CKEditor5PluginManagerInterface::getProvidedElements function core/modules/ckeditor5/src/Plugin/CKEditor5PluginManagerInterface.php Gets all supported elements for the given plugins and text editor.
CKEditor5PluginManagerTest::providerProvidedElementsInvalidElementSubset function core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php Data provider.
CKEditor5PluginManagerTest::providerTestPluginSupportingElement function core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php Provides use cases for findPluginSupportingElement().
CKEditor5PluginManagerTest::providerTestProvidedElements function core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php Provides uses cases enabling different elements and the expected results.
CKEditor5PluginManagerTest::testPluginSupportingElement function core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php Tests the logic of findPluginSupportingElement.
CKEditor5PluginManagerTest::testProvidedElements function core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php Tests the parsing of CKEditor 5 plugin element config.
CKEditor5PluginManagerTest::testProvidedElementsInvalidElementSubset function core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php Tests detection of invalid CKEditor5PluginElementsSubsetInterface classes.
CKEditor5TestTrait::selectTextInsideElement function core/modules/ckeditor5/tests/src/Traits/CKEditor5TestTrait.php Selects text inside an element.
ckeditor5_definition_supporting_element.ckeditor5.yml file core/modules/ckeditor5/tests/modules/ckeditor5_definition_supporting_element/ckeditor5_definition_supporting_element.ckeditor5.yml core/modules/ckeditor5/tests/modules/ckeditor5_definition_supporting_element/ckeditor5_definition_supporting_element.ckeditor5.yml
ckeditor5_definition_supporting_element.info.yml file core/modules/ckeditor5/tests/modules/ckeditor5_definition_supporting_element/ckeditor5_definition_supporting_element.info.yml core/modules/ckeditor5/tests/modules/ckeditor5_definition_supporting_element/ckeditor5_definition_supporting_element.info.yml
ckeditor5_drupalelementstyle_test.info.yml file core/modules/ckeditor5/tests/modules/ckeditor5_drupalelementstyle_test/ckeditor5_drupalelementstyle_test.info.yml core/modules/ckeditor5/tests/modules/ckeditor5_drupalelementstyle_test/ckeditor5_drupalelementstyle_test.info.yml
ckeditor5_plugin_elements_subset.ckeditor5.yml file core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_subset/ckeditor5_plugin_elements_subset.ckeditor5.yml core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_subset/ckeditor5_plugin_elements_subset.ckeditor5.yml
ckeditor5_plugin_elements_subset.info.yml file core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_subset/ckeditor5_plugin_elements_subset.info.yml core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_subset/ckeditor5_plugin_elements_subset.info.yml
ckeditor5_plugin_elements_subset.schema.yml file core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_subset/config/schema/ckeditor5_plugin_elements_subset.schema.yml core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_subset/config/schema/ckeditor5_plugin_elements_subset.schema.yml
ckeditor5_plugin_elements_test.ckeditor5.yml file core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_test/ckeditor5_plugin_elements_test.ckeditor5.yml core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_test/ckeditor5_plugin_elements_test.ckeditor5.yml
ckeditor5_plugin_elements_test.info.yml file core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_test/ckeditor5_plugin_elements_test.info.yml core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_test/ckeditor5_plugin_elements_test.info.yml
ClaroHooks::elementInfoAlter function core/themes/claro/src/Hook/ClaroHooks.php Implements hook_element_info_alter().
ClaroHooks::preprocessFormElement function core/themes/claro/src/Hook/ClaroHooks.php Implements hook_preprocess_form_element().
ClaroHooks::preprocessFormElementPassword function core/themes/claro/src/Hook/ClaroHooks.php Implements hook_preprocess_HOOK() for form_element__password.
ClaroHooks::preprocessFormElementPasswordConfirm function core/themes/claro/src/Hook/ClaroHooks.php Implements hook_preprocess_HOOK() for form_element__password_confirm.
ClaroHooks::themeSuggestionsFormElementAlter function core/themes/claro/src/Hook/ClaroHooks.php Implements hook_theme_suggestions_HOOK_alter() for form_element.
ClaroTest::testRegressionMissingElementsCss function core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php Testing that Claro theme's global library is always attached.
CommentDefaultFormatter::viewElements function core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php Builds a renderable array for a field value.
CommentWidget::formElement function core/modules/comment/src/Plugin/Field/FieldWidget/CommentWidget.php Returns the form for a single field widget.
common-test-render-element.html.twig file core/modules/system/tests/modules/common_test/templates/common-test-render-element.html.twig Default theme implementation for the common test render element.
CommonTestThemeHooks::commonTestRenderElement function core/modules/system/tests/modules/common_test/src/Hook/CommonTestThemeHooks.php Implements hook_preprocess_HOOK().
ComponentAsFormElementTest class core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Tests the correct rendering of components in form.
ComponentAsFormElementTest.php file core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php
ComponentAsFormElementTest::$modules property core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Modules to install.
ComponentAsFormElementTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Themes to install.
ComponentAsFormElementTest::buildForm function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Form constructor.
ComponentAsFormElementTest::customValidator function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Validation callback for a datetime element.
ComponentAsFormElementTest::getFormId function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Returns a unique string identifying the form.
ComponentAsFormElementTest::submitForm function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Form submission handler.
ComponentAsFormElementTest::testElementValidateCallback function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Tests that #element_validate works as expected.

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