Search for definition

  1. Search 7.x for definition
  2. Search 9.5.x for definition
  3. Search 8.9.x for definition
  4. Search 11.x for definition
  5. Other projects
Title Object type File name Summary
FieldDefinitionListenerTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php The entity type manager.
FieldDefinitionListenerTest::$fieldDefinitionListener property core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php The field definition listener under test.
FieldDefinitionListenerTest::$keyValueFactory property core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php The key-value factory.
FieldDefinitionListenerTest::setUp function core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php
FieldDefinitionListenerTest::setUpEntityTypeManager function core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php Sets up the entity type manager to be tested.
FieldDefinitionListenerTest::testOnFieldDefinitionCreateExistingField function core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php @covers ::onFieldDefinitionCreate
FieldDefinitionListenerTest::testOnFieldDefinitionCreateNewField function core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php @covers ::onFieldDefinitionCreate
FieldDefinitionListenerTest::testOnFieldDefinitionDeleteMultipleBundles function core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php @covers ::onFieldDefinitionDelete
FieldDefinitionListenerTest::testOnFieldDefinitionDeleteSingleBundles function core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php @covers ::onFieldDefinitionDelete
FieldDefinitionListenerTest::testOnFieldDefinitionUpdate function core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php @covers ::onFieldDefinitionUpdate
FieldDefinitionTest class core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Unit test for the FieldDefinition class.
FieldDefinitionTest.php file core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php
FieldDefinitionTest::$fieldType property core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php A dummy field type name.
FieldDefinitionTest::$fieldTypeDefinition property core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php A dummy field type definition.
FieldDefinitionTest::$storageDefinition property core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php The test field storage definition.
FieldDefinitionTest::$storageSupportsTranslation property core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php A flag for setting if the field storage supports translation.
FieldDefinitionTest::factoryTypeProvider function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php A data provider for all the types of factories that can create definitions.
FieldDefinitionTest::initializeFieldUsingFactory function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Creates a bundle field using a specified factory.
FieldDefinitionTest::mockDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Provides a Mock base field default value callback.
FieldDefinitionTest::setUp function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php
FieldDefinitionTest::testBundle function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php @covers ::setTargetBundle
@covers ::getTargetBundle
@dataProvider factoryTypeProvider
FieldDefinitionTest::testDefaultFieldSettings function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php @covers ::getSetting
@covers ::setSetting
@covers ::getSettings
@dataProvider factoryTypeProvider
FieldDefinitionTest::testDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Tests default value callbacks.
FieldDefinitionTest::testDisplayConfigurationSettings function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Tests the display configuration settings.
FieldDefinitionTest::testFieldDefaultValue function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php @covers ::getDefaultValue
@covers ::setDefaultValue
@dataProvider factoryTypeProvider
FieldDefinitionTest::testFieldDescription function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php @covers ::getDescription
@dataProvider factoryTypeProvider
FieldDefinitionTest::testFieldLabel function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php @covers ::getLabel
@dataProvider factoryTypeProvider
FieldDefinitionTest::testFieldName function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php @covers ::getName
@dataProvider factoryTypeProvider
FieldDefinitionTest::testFieldRequired function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Tests required.
FieldDefinitionTest::testFieldSettings function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php @covers ::getSetting
@covers ::setSetting
@covers ::getSettings
@dataProvider factoryTypeProvider
FieldDefinitionTest::testFieldTranslatable function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Tests field translatable methods.
FieldDefinitionTest::testFieldType function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php @covers ::getType
@dataProvider factoryTypeProvider
FieldDefinitionTest::testInvalidDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Tests invalid default value callbacks.
FieldDefinitionTest::testNullDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Tests NULL default value callbacks.
FieldDiscovery::getFieldInstanceStubMigrationDefinition function core/modules/migrate_drupal/src/FieldDiscovery.php Provides the stub migration definition for a given Drupal core version.
FieldDiscoveryTest::getFieldInstanceStubMigrationDefinition function core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php Provides data for testGetFieldInstanceStubMigrationDefinition.
FieldDiscoveryTest::testGetFieldInstanceStubMigrationDefinition function core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php Tests the getFieldInstanceStubMigration method.
FieldDiscoveryTestClass::getFieldInstanceStubMigrationDefinition function core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php Provides the stub migration definition for a given Drupal core version.
FieldItemBase::getFieldDefinition function core/lib/Drupal/Core/Field/FieldItemBase.php Gets the field definition.
FieldItemDataDefinition class core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php A typed data definition class for defining field items.
FieldItemDataDefinition.php file core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php
FieldItemDataDefinition::$fieldDefinition property core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php The field definition the item definition belongs to.
FieldItemDataDefinition::create function core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php Creates a new field item definition.
FieldItemDataDefinition::createFromDataType function core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php Creates a new data definition object.
FieldItemDataDefinition::getFieldDefinition function core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php Gets the field item's field definition.
FieldItemDataDefinition::getLabel function core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php Gets the label of the field type.
FieldItemDataDefinition::getMainPropertyName function core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php Returns the name of the main property, if any.
FieldItemDataDefinition::getPropertyDefinition function core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php Gets the definition of a contained property.
FieldItemDataDefinition::getPropertyDefinitions function core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php Gets an array of property definitions of contained properties.
FieldItemDataDefinition::setFieldDefinition function core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php Sets the field item's field definition.

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