Search for fieldName

  1. Search 7.x for fieldName
  2. Search 9.5.x for fieldName
  3. Search 10.3.x for fieldName
  4. Search 11.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.
AggregatorTitleTest::$fieldName property core/modules/aggregator/tests/src/Kernel/AggregatorTitleTest.php The field name that is tested.
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/Functional/Boolean/BooleanFormatterSettingsTest.php The name of the Boolean field to use for testing.
BooleanFormatterSettingsTest::$fieldName property core/modules/field/tests/src/FunctionalJavascript/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
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 Test comment field name.
CommentForm::getEditedFieldNames function core/modules/comment/src/CommentForm.php Gets the names of all fields edited in the form.
CommentHalJsonAnonTest::$patchProtectedFieldNames property core/modules/comment/tests/src/Functional/Hal/CommentHalJsonAnonTest.php Anonymous users cannot edit their own comments.
CommentHalJsonTestBase::$patchProtectedFieldNames property core/modules/comment/tests/src/Functional/Hal/CommentHalJsonTestBase.php The HAL+JSON format causes different PATCH-protected fields. For some
reason, the 'pid' and 'homepage' fields are NOT PATCH-protected, even
though they are for non-HAL+JSON serializations.
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.
CommentUpdateTest::testCommentEntityTypeAndFieldNameRequired function core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php Tests whether the 'entity_type' and 'field_name' columns are required.
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/src/Tests/ContentTranslationTestBase.php The name of the field used to test translation.
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.
ContentTranslationUITestBase::getChangedFieldName function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Returns the name of the field that implements the changed timestamp.
DatabaseLegacyTest::testDbFieldNames function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_field_names() function.
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.
EditorMediaDialog::getMediaImageSourceFieldName function core/modules/media/src/Form/EditorMediaDialog.php Gets the name of an image media item's source field.
EntityConstraintViolationList::getFieldNames function core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php Returns the names of all violated fields.

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