Search for field_

  1. Search 7.x for field_
  2. Search 9.5.x for field_
  3. Search 8.9.x for field_
  4. Search 10.3.x for field_
  5. Other projects
Title Object type File name Summary
AccessTest::testCheckFieldAccess function core/modules/file/tests/src/Kernel/AccessTest.php Tests file entity field access.
access_check.field_ui.field_reuse service core/modules/field_ui/field_ui.services.yml Drupal\field_ui\Access\FieldReuseAccessCheck
access_check.field_ui.form_mode service core/modules/field_ui/field_ui.services.yml Drupal\field_ui\Access\FormModeAccessCheck
access_check.field_ui.view_mode service core/modules/field_ui/field_ui.services.yml Drupal\field_ui\Access\ViewModeAccessCheck
AccountForm::getEditedFieldNames function core/modules/user/src/AccountForm.php Gets the names of all fields edited in the form.
Action::fields function core/modules/system/src/Plugin/migrate/source/Action.php Returns available fields on the source.
AddFormBase::getSourceFieldName function core/modules/media_library/src/Form/AddFormBase.php Returns the name of the source field for a media type.
AddToAllBundlesConfigActionTest::testIgnoreExistingFields function core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php Tests that the action will ignore existing fields by default.
AddToAllBundlesConfigActionTest::testInstantiateNewFieldOnAllBundles function core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php Tests instantiating a field on all bundles of an entity type.
AjaxFormsTestSimpleForm::textfieldCallback function core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestSimpleForm.php
AliasingResourceTypeRepository::getFields function core/modules/jsonapi/tests/modules/jsonapi_test_field_aliasing/src/ResourceType/AliasingResourceTypeRepository.php Gets the field mapping for the given field names and entity type + bundle.
AlterTest::testAlterChangeFields function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can alter the fields of a query.
AnnounceFetcherTest::testFeedFields function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherTest.php Tests feed fields.
AssertContentTrait::assertFieldById function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists with the given ID and value.
AssertContentTrait::assertFieldByName function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists with the given name and value.
AssertContentTrait::assertFieldByXPath function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists in the current page by the given XPath.
AssertContentTrait::assertFieldChecked function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a checkbox field in the current page is checked.
AssertContentTrait::assertFieldsByValue function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists in the current page with a given Xpath result.
AssertContentTrait::assertNoFieldById function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field does not exist with the given ID and value.
AssertContentTrait::assertNoFieldByName function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field does not exist with the given name and value.
AssertContentTrait::assertNoFieldByXPath function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field does not exist or its value does not match, by XPath.
AssertContentTrait::assertNoFieldChecked function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a checkbox field in the current page is not checked.
AssertContentTrait::constructFieldXpath function core/tests/Drupal/KernelTests/AssertContentTrait.php Helper: Constructs an XPath for the given set of attributes and value.
AutoIncrementingTestItem::getIncrementedFieldValue function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/AutoIncrementingTestItem.php Gets an incremented field value.
BaseFieldAccessTest class core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php Tests views base field access.
BaseFieldAccessTest.php file core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php
BaseFieldAccessTest::$defaultTheme property core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php The theme to install as the default for testing.
BaseFieldAccessTest::$modules property core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php Modules to install.
BaseFieldAccessTest::$testViews property core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php Views used by this test.
BaseFieldAccessTest::setUp function core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php Sets up the test.
BaseFieldAccessTest::testProtectedField function core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php Tests access to protected base fields.
BaseFieldDefinition class core/lib/Drupal/Core/Field/BaseFieldDefinition.php A class for defining entity fields.
BaseFieldDefinition.php file core/lib/Drupal/Core/Field/BaseFieldDefinition.php
BaseFieldDefinition::$indexes property core/lib/Drupal/Core/Field/BaseFieldDefinition.php
BaseFieldDefinition::$propertyDefinitions property core/lib/Drupal/Core/Field/BaseFieldDefinition.php An array of field property definitions.
BaseFieldDefinition::$schema property core/lib/Drupal/Core/Field/BaseFieldDefinition.php The field schema.
BaseFieldDefinition::$type property core/lib/Drupal/Core/Field/BaseFieldDefinition.php The field type.
BaseFieldDefinition::addPropertyConstraints function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Adds constraints for a given field item property.
BaseFieldDefinition::create function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Creates a new field definition.
BaseFieldDefinition::createFromFieldStorageDefinition function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Creates a new field definition based upon a field storage definition.
BaseFieldDefinition::createFromItemType function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Creates a new list data definition for items of the given data type.
BaseFieldDefinition::getCardinality function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the maximum number of items allowed for the field.
BaseFieldDefinition::getColumns function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the field columns, as defined in the field schema.
BaseFieldDefinition::getConfig function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Gets an object that can be saved in configuration.
BaseFieldDefinition::getDefaultValue function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the default value for the field in a newly created entity.
BaseFieldDefinition::getDefaultValueCallback function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the default value callback for the field.
BaseFieldDefinition::getDefaultValueLiteral function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the default value literal for the field.
BaseFieldDefinition::getDisplayOptions function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the default display options for the field.
BaseFieldDefinition::getFieldStorageDefinition function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the field storage definition.
BaseFieldDefinition::getInitialValue function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the initial value for the field.

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