Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
BaseFieldDefinition::setName function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets the field name.
BaseFieldDefinition::setPropertyConstraints function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets constraints for a given field item property.
BaseFieldDefinition::setProvider function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets the name of the provider of this field.
BaseFieldDefinition::setRevisionable function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets whether the field is revisionable.
BaseFieldDefinition::setSetting function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets a definition setting.
BaseFieldDefinition::setSettings function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Note that the method does not unset existing settings not specified in the
incoming $settings array.
BaseFieldDefinition::setStorageRequired function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets whether the field storage is required.
BaseFieldDefinition::setTargetBundle function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets the bundle this field is defined for.
BaseFieldDefinition::setTargetEntityTypeId function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets the ID of the type of the entity this field is attached to.
BaseFieldDefinition::setTranslatable function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets whether the field is translatable.
BaseFieldDefinition::__clone function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Magic method: Implements a deep clone.
BaseFieldDefinition::__sleep function core/lib/Drupal/Core/Field/BaseFieldDefinition.php
BaseFieldDefinitionTest class core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Unit test for BaseFieldDefinition.
BaseFieldDefinitionTest class core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php Stub class for BaseFieldDefinition.
BaseFieldDefinitionTest.php file core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
BaseFieldDefinitionTest::$fieldType property core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php A dummy field type name.
BaseFieldDefinitionTest::$fieldTypeDefinition property core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php A dummy field type definition.
BaseFieldDefinitionTest::create function core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php Creates a new field definition.
BaseFieldDefinitionTest::getSettings function core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php Returns the array of settings, as required by the used class.
BaseFieldDefinitionTest::getType function core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php Returns the field type.
BaseFieldDefinitionTest::mockDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Provides a Mock base field default value callback.
BaseFieldDefinitionTest::setUp function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
BaseFieldDefinitionTest::testCustomStorage function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests custom storage.
BaseFieldDefinitionTest::testDefaultFieldSettings function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests the initialization of default field settings.
BaseFieldDefinitionTest::testDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests default value callbacks.
BaseFieldDefinitionTest::testFieldCardinality function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests field cardinality.
BaseFieldDefinitionTest::testFieldDefaultValue function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests field default value.
BaseFieldDefinitionTest::testFieldDescription function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests field description methods.
BaseFieldDefinitionTest::testFieldInitialValue function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests field initial value.
BaseFieldDefinitionTest::testFieldLabel function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests field label methods.
BaseFieldDefinitionTest::testFieldName function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests field name methods.
BaseFieldDefinitionTest::testFieldProvider function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests provider.
BaseFieldDefinitionTest::testFieldRequired function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests required.
BaseFieldDefinitionTest::testFieldRevisionable function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests field revisionable methods.
BaseFieldDefinitionTest::testFieldSettings function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests field settings methods.
BaseFieldDefinitionTest::testFieldStorageRequired function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests storage required.
BaseFieldDefinitionTest::testFieldTranslatable function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests field translatable methods.
BaseFieldDefinitionTest::testFieldType function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests field type methods.
BaseFieldDefinitionTest::testInvalidDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests invalid default value callbacks.
BaseFieldDefinitionTest::testNullDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests NULL default value callbacks.
BaseFieldDefinitionTestBase class core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php Provides setup method for testing base field definitions.
BaseFieldDefinitionTestBase.php file core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php
BaseFieldDefinitionTestBase::$definition property core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php The field definition used in this test.
BaseFieldDefinitionTestBase::getModuleAndPath function core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php Returns the module name and the module directory for the plugin.
BaseFieldDefinitionTestBase::getPluginId function core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php Returns the plugin ID of the tested field type.
BaseFieldDefinitionTestBase::setUp function core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php
BaseFieldFileFormatterBase class core/modules/file/src/Plugin/Field/FieldFormatter/BaseFieldFileFormatterBase.php Base class for file formatters, which allow to link to the file download URL.
BaseFieldFileFormatterBase.php file core/modules/file/src/Plugin/Field/FieldFormatter/BaseFieldFileFormatterBase.php
BaseFieldFileFormatterBase::$fileUrlGenerator property core/modules/file/src/Plugin/Field/FieldFormatter/BaseFieldFileFormatterBase.php The file URL generator.
BaseFieldFileFormatterBase::create function core/modules/file/src/Plugin/Field/FieldFormatter/BaseFieldFileFormatterBase.php Creates an instance of the plugin.

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