Search for fieldName

  1. Search 7.x for fieldName
  2. Search 9.5.x for fieldName
  3. Search 8.9.x for fieldName
  4. Search 10.3.x for fieldName
  5. Other projects
Title Object type File name Summary
AccountForm::getEditedFieldNames function core/modules/user/src/AccountForm.php Gets the names of all fields edited in the form.
AddFormBase::getSourceFieldName function core/modules/media_library/src/Form/AddFormBase.php Returns the name of the source field for a media type.
BaseFieldDefinitionTest::testFieldName function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests field name methods.
BlockContentResourceTestBase::$patchProtectedFieldNames property core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php The fields that are protected against modification during PATCH requests.
BlockContentTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/BlockContentTest.php The fields that are protected against modification during PATCH requests.
BooleanFormatterSettingsTest::$fieldName property core/modules/field/tests/src/FunctionalJavascript/Boolean/BooleanFormatterSettingsTest.php The name of the Boolean field to use for testing.
BooleanFormatterSettingsTest::$fieldName property core/modules/field/tests/src/Functional/Boolean/BooleanFormatterSettingsTest.php The name of the Boolean field to use for testing.
BooleanFormatterTest::$fieldName property core/modules/field/tests/src/Kernel/Boolean/BooleanFormatterTest.php
CKEditor5MediaController::getMediaImageSourceFieldName function core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php Gets the name of an image media item's source field.
Comment::getFieldName function core/modules/comment/src/Entity/Comment.php Returns the name of the field the comment is attached to.
Comment::setFieldName function core/modules/comment/src/Entity/Comment.php Sets the field ID for which this comment is attached.
CommentFieldNameTest class core/modules/comment/tests/src/Kernel/Views/CommentFieldNameTest.php Tests the comment field name field.
CommentFieldNameTest.php file core/modules/comment/tests/src/Kernel/Views/CommentFieldNameTest.php
CommentFieldNameTest::$modules property core/modules/comment/tests/src/Kernel/Views/CommentFieldNameTest.php Modules to enable.
CommentFieldNameTest::$testViews property core/modules/comment/tests/src/Kernel/Views/CommentFieldNameTest.php Views used by this test.
CommentFieldNameTest::testCommentFieldName function core/modules/comment/tests/src/Kernel/Views/CommentFieldNameTest.php Tests comment field name.
CommentForm::getEditedFieldNames function core/modules/comment/src/CommentForm.php Gets the names of all fields edited in the form.
CommentInterface::getFieldName function core/modules/comment/src/CommentInterface.php Returns the name of the field the comment is attached to.
CommentInterface::setFieldName function core/modules/comment/src/CommentInterface.php Sets the field ID for which this comment is attached.
CommentJsonAnonTest::$patchProtectedFieldNames property core/modules/comment/tests/src/Functional/Rest/CommentJsonAnonTest.php Anonymous users cannot edit their own comments.
CommentResourceTestBase::$patchProtectedFieldNames property core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php The fields that are protected against modification during PATCH requests.
CommentTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/CommentTest.php The fields that are protected against modification during PATCH requests.
CommentXmlAnonTest::$patchProtectedFieldNames property core/modules/comment/tests/src/Functional/Rest/CommentXmlAnonTest.php Anonymous users cannot edit their own comments.
ConfigExportImportUITest::$fieldName property core/modules/config/tests/src/Functional/ConfigExportImportUITest.php Holds the randomly-generated name of a field.
ContactFormResourceTestBase::$patchProtectedFieldNames property core/modules/contact/tests/src/Functional/Rest/ContactFormResourceTestBase.php The fields that are protected against modification during PATCH requests.
ContentEntityForm::getEditedFieldNames function core/lib/Drupal/Core/Entity/ContentEntityForm.php Gets the names of all fields edited in the form.
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::$fieldName property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php The field name with multiple properties being test with the entity type.
ContentEntityFormFieldValidationFilteringTest::$fieldNameFile property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The name of the file field being tested with the entity type.
ContentEntityFormFieldValidationFilteringTest::$fieldNameMultiple property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The multi-valued field name being tested with the entity type.
ContentEntityFormFieldValidationFilteringTest::$fieldNameSingle property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The single-valued field name being tested with the entity type.
ContentEntityStorageBase::getRevisionTranslationMergeSkippedFieldNames function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Returns an array of field names to skip when merging revision translations.
ContentEntityTest::$fieldName property core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php The name of the field used in this test.
ContentTranslationFieldSyncRevisionTest::$fieldName property core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php The synchronized field name.
ContentTranslationTestBase::$fieldName property core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php The name of the field used to test translation.
ContentTranslationUITestBase::getChangedFieldName function core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php Returns the name of the field that implements the changed timestamp.
DateTimeHandlerTestBase::$fieldName property core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Name of the field.
DefaultTableMapping::$fieldNames property core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php A list of field names per table.
DefaultTableMapping::getFieldNames function core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php Gets a list of names for entity fields stored in the specified table.
DefaultTableMapping::setFieldNames function core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php Adds field columns for a table to the table mapping.
DefaultTableMappingTest::testGetFieldNames function core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php Tests DefaultTableMapping::getFieldNames().
DisplayApiTest::$fieldName property core/modules/field/tests/src/Kernel/DisplayApiTest.php The field name to use in this test.
DisplayEntityReferenceTest::$entityRefFieldName property core/modules/views/tests/src/Functional/Plugin/DisplayEntityReferenceTest.php The used entity reference field name in the test.
DisplayEntityReferenceTest::$fieldName property core/modules/views/tests/src/Functional/Plugin/DisplayEntityReferenceTest.php The used field name in the test.
EntityConstraintViolationList::getFieldNames function core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php Returns the names of all violated fields.
EntityConstraintViolationListInterface::getFieldNames function core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php Returns the names of all violated fields.
EntityLanguageTestBase::$fieldName property core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php The test field name.
EntityLanguageTestBase::$untranslatableFieldName property core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php The untranslatable test field name.
EntityQueryRelationshipTest::$fieldName property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php The name of the taxonomy field used for test.
EntityReferenceFieldTest::$fieldName property core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php The name of the field used in this test.
EntityReferenceFieldTranslatedReferenceViewTest::$referenceFieldName property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php The machine name of the entity reference field.

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