Search for field_

  1. Search 7.x for field_
  2. Search 9.5.x for field_
  3. Search 10.3.x for field_
  4. Search 11.x for field_
  5. Other projects
Title Object type File name Summary
FieldCrudTest::testDeleteFieldCrossDeletion function core/modules/field/tests/src/Kernel/FieldCrudTest.php Tests the cross deletion behavior between field storages and fields.
FieldCrudTest::testDeleteFieldNoData function core/modules/field/tests/src/Kernel/FieldCrudTest.php Test the deletion of a field with no data.
FieldCrudTest::testFieldPropertyConstraints function core/modules/field/tests/src/Kernel/FieldCrudTest.php Tests setting and adding property constraints to a configurable field.
FieldCrudTest::testReadField function core/modules/field/tests/src/Kernel/FieldCrudTest.php Test reading back a field definition.
FieldCrudTest::testUpdateField function core/modules/field/tests/src/Kernel/FieldCrudTest.php Test the update of a field.
FieldCustomTest class core/modules/views/tests/src/Kernel/Handler/FieldCustomTest.php Tests the core Drupal\views\Plugin\views\field\Custom handler.
FieldCustomTest.php file core/modules/views/tests/src/Kernel/Handler/FieldCustomTest.php
FieldCustomTest::$testViews property core/modules/views/tests/src/Kernel/Handler/FieldCustomTest.php Views used by this test.
FieldCustomTest::testCustomFieldXss function core/modules/views/tests/src/Kernel/Handler/FieldCustomTest.php Ensure that custom field content is XSS filtered.
FieldCustomTest::testFieldCustom function core/modules/views/tests/src/Kernel/Handler/FieldCustomTest.php Ensure that custom fields work and doesn't escape unnecessary markup.
FieldCustomTest::testFieldCustomTokens function core/modules/views/tests/src/Kernel/Handler/FieldCustomTest.php Ensure that custom fields can use tokens.
FieldCustomTest::viewsData function core/modules/views/tests/src/Kernel/Handler/FieldCustomTest.php Returns the views data definition.
FieldDataCountTest class core/modules/field/tests/src/Kernel/FieldDataCountTest.php Tests counting field data records and the hasData() method on
FieldStorageConfig entity.
FieldDataCountTest.php file core/modules/field/tests/src/Kernel/FieldDataCountTest.php
FieldDataCountTest::$storage property core/modules/field/tests/src/Kernel/FieldDataCountTest.php
FieldDataCountTest::$storageRev property core/modules/field/tests/src/Kernel/FieldDataCountTest.php
FieldDataCountTest::$storageUser property core/modules/field/tests/src/Kernel/FieldDataCountTest.php
FieldDataCountTest::setUp function core/modules/field/tests/src/Kernel/FieldDataCountTest.php Set the default field storage backend for fields created during tests.
FieldDataCountTest::testCountWithIndex0 function core/modules/field/tests/src/Kernel/FieldDataCountTest.php Verify that we can count a table that contains an entry with index 0.
FieldDataCountTest::testEntityCountAndHasData function core/modules/field/tests/src/Kernel/FieldDataCountTest.php Tests entityCount() and hadData() methods.
FieldDateTest class core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php Tests the core Drupal\views\Plugin\views\field\Date handler.
FieldDateTest.php file core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php
FieldDateTest::$testViews property core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php Views used by this test.
FieldDateTest::assertRenderedDatesEqual function core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php Asserts properly formatted display against 'created' field in view.
FieldDateTest::assertRenderedFutureDatesEqual function core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php Asserts properly formatted display against 'destroyed' field in view.
FieldDateTest::dataSet function core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php Returns a very simple test dataset.
FieldDateTest::schemaDefinition function core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php Returns the schema definition.
FieldDateTest::testFieldDate function core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php Sets up functional test of the views date field.
FieldDateTest::viewsData function core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php Returns the views data definition.
FieldDefaultValueCallbackProvider class core/modules/field/tests/modules/field_test/src/FieldDefaultValueCallbackProvider.php Helper class for \Drupal\Tests\field\Functional\FieldDefaultValueCallbackTest.
FieldDefaultValueCallbackProvider.php file core/modules/field/tests/modules/field_test/src/FieldDefaultValueCallbackProvider.php
FieldDefaultValueCallbackProvider::calculateDefaultValue function core/modules/field/tests/modules/field_test/src/FieldDefaultValueCallbackProvider.php Helper callback calculating a default value.
FieldDefaultValueCallbackTest class core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php Tests the default value callback.
FieldDefaultValueCallbackTest.php file core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
FieldDefaultValueCallbackTest::$defaultTheme property core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php The theme to install as the default for testing.
FieldDefaultValueCallbackTest::$fieldName property core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php The field name.
FieldDefaultValueCallbackTest::$modules property core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php Modules to enable.
FieldDefaultValueCallbackTest::setUp function core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
FieldDefaultValueCallbackTest::testDefaultValueCallbackForm function core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
FieldDefinition class core/lib/Drupal/Core/Field/FieldDefinition.php A class for defining entity field definitions.
FieldDefinition.php file core/lib/Drupal/Core/Field/FieldDefinition.php
FieldDefinition::$fieldStorageDefinition property core/lib/Drupal/Core/Field/FieldDefinition.php The associated field storage definition.
FieldDefinition::createFromFieldStorageDefinition function core/lib/Drupal/Core/Field/FieldDefinition.php Creates a new field definition.
FieldDefinition::getConfig function core/lib/Drupal/Core/Field/FieldDefinition.php Gets an object that can be saved in configuration.
FieldDefinition::getDefaultValue function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the default value for the field in a newly created entity.
FieldDefinition::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the default value callback for the field.
FieldDefinition::getDefaultValueLiteral function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the default value literal for the field.
FieldDefinition::getDisplayOptions function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the default display options for the field.
FieldDefinition::getFieldStorageDefinition function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the field storage definition.
FieldDefinition::getName function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the machine name of the field.

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