Search for element

  1. Search 7.x for element
  2. Search 9.5.x for element
  3. Search 10.3.x for element
  4. Search 11.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
EntityReferenceAutocompleteWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the form for a single field widget.
EntityReferenceEntityFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php Builds a renderable array for a field value.
EntityReferenceIdFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php Builds a renderable array for a field value.
EntityReferenceItem::fieldSettingsAjaxProcessElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Adds entity_reference specific properties to AJAX form elements from the
field settings form.
EntityReferenceLabelFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php Builds a renderable array for a field value.
EntityReferenceTaxonomyTermRssFormatter::viewElements function core/modules/taxonomy/src/Plugin/Field/FieldFormatter/EntityReferenceTaxonomyTermRssFormatter.php Builds a renderable array for a field value.
EntityTestReferenceCustomCacheTagFormatter::viewElements function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldFormatter/EntityTestReferenceCustomCacheTagFormatter.php Builds a renderable array for a field value.
FieldHandlerInterface::elementClasses function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns the class of the field.
FieldHandlerInterface::elementLabelClasses function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns the class of the field's label.
FieldHandlerInterface::elementLabelType function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns an HTML element for the label based upon the field's element type.
FieldHandlerInterface::elementType function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns an HTML element based upon the field's element type.
FieldHandlerInterface::elementWrapperClasses function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns the class of the field's wrapper.
FieldHandlerInterface::elementWrapperType function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns an HTML element for the wrapper based upon the field's element type.
FieldHandlerInterface::getElements function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Provides a list of elements valid for field HTML.
FieldPluginBase::elementClasses function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns the class of the field.
FieldPluginBase::elementLabelClasses function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns the class of the field's label.
FieldPluginBase::elementLabelType function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns an HTML element for the label based upon the field's element type.
FieldPluginBase::elementType function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns an HTML element based upon the field's element type.
FieldPluginBase::elementWrapperClasses function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns the class of the field's wrapper.
FieldPluginBase::elementWrapperType function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns an HTML element for the wrapper based upon the field's element type.
FieldPluginBase::getElements function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Provides a list of elements valid for field HTML.
FieldPluginBaseTest::testElementClassesWithTokens function core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php Ensures proper token replacement when generating CSS classes.
FileElementTest class core/modules/system/tests/src/Kernel/Form/FileElementTest.php Tests for the 'file' form element.
FileElementTest.php file core/modules/system/tests/src/Kernel/Form/FileElementTest.php
FileElementTest::$modules property core/modules/system/tests/src/Kernel/Form/FileElementTest.php Modules to enable.
FileElementTest::testFileElement function core/modules/system/tests/src/Kernel/Form/FileElementTest.php Tests that file elements are built and processed correctly.
FileFieldWidgetTest::testWidgetElement function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests file widget element.
FileManagedFileElementTest class core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Tests the 'managed_file' element type.
FileManagedFileElementTest class core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Tests the 'managed_file' element type.
FileManagedFileElementTest.php file core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php
FileManagedFileElementTest.php file core/modules/file/tests/src/Functional/FileManagedFileElementTest.php
FileManagedFileElementTest::$adminUser property core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php A user with administration permissions.
FileManagedFileElementTest::$defaultTheme property core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php The theme to install as the default for testing.
FileManagedFileElementTest::$defaultTheme property core/modules/file/tests/src/Functional/FileManagedFileElementTest.php The theme to install as the default for testing.
FileManagedFileElementTest::$modules property core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Modules to enable.
FileManagedFileElementTest::getLastFileId function core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Retrieves the fid of the last inserted file.
FileManagedFileElementTest::setUp function core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php
FileManagedFileElementTest::testFileNameTrim function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Tests file names have leading . removed.
FileManagedFileElementTest::testFileRemovedFromDisk function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Ensure a file entity can be saved when the file does not exist on disk.
FileManagedFileElementTest::testManagedFile function core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Tests the managed_file element type.
FileManagedFileElementTest::testManagedFile function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Tests the managed_file element type.
FileManagedFileElementTest::testManagedFileRemoved function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Ensure that warning is shown if file on the field has been removed.
FileManagedFileElementTest::testUnusedPermanentFileValidation function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Verify that unused permanent files can be used.
FileMediaFormatterBase::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Builds a renderable array for a field value.
FileSize::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php Builds a renderable array for a field value.
FileUploadForm::$elementInfo property core/modules/media_library/src/Form/FileUploadForm.php The element info manager.
FileUploadForm::buildEntityFormElement function core/modules/media_library/src/Form/FileUploadForm.php Builds the sub-form for setting required fields on a new media item.
FileUploadForm::buildInputElement function core/modules/media_library/src/Form/FileUploadForm.php Builds the element for submitting source field value(s).
FileUploadForm::processUploadElement function core/modules/media_library/src/Form/FileUploadForm.php Processes an upload (managed_file) element.
FileUploadForm::validateUploadElement function core/modules/media_library/src/Form/FileUploadForm.php Validates the upload element.

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