Search for definition

  1. Search 7.x for definition
  2. Search 9.5.x for definition
  3. Search 10.3.x for definition
  4. Search 11.x for definition
  5. Other projects
Title Object type File name Summary
FieldDefinitionListener.php file core/lib/Drupal/Core/Field/FieldDefinitionListener.php
FieldDefinitionListener::$cacheBackend property core/lib/Drupal/Core/Field/FieldDefinitionListener.php Cache backend instance.
FieldDefinitionListener::$entityFieldManager property core/lib/Drupal/Core/Field/FieldDefinitionListener.php The entity field manager.
FieldDefinitionListener::$entityTypeManager property core/lib/Drupal/Core/Field/FieldDefinitionListener.php The entity type manager.
FieldDefinitionListener::$keyValueFactory property core/lib/Drupal/Core/Field/FieldDefinitionListener.php The key-value factory.
FieldDefinitionListener::onFieldDefinitionCreate function core/lib/Drupal/Core/Field/FieldDefinitionListener.php Reacts to the creation of a field.
FieldDefinitionListener::onFieldDefinitionDelete function core/lib/Drupal/Core/Field/FieldDefinitionListener.php Reacts to the deletion of a field.
FieldDefinitionListener::onFieldDefinitionUpdate function core/lib/Drupal/Core/Field/FieldDefinitionListener.php Reacts to the update of a field.
FieldDefinitionListener::__construct function core/lib/Drupal/Core/Field/FieldDefinitionListener.php Constructs a new FieldDefinitionListener.
FieldDefinitionListenerInterface interface core/lib/Drupal/Core/Field/FieldDefinitionListenerInterface.php Defines an interface for reacting to field creation, deletion, and updates.
FieldDefinitionListenerInterface.php file core/lib/Drupal/Core/Field/FieldDefinitionListenerInterface.php
FieldDefinitionListenerInterface::onFieldDefinitionCreate function core/lib/Drupal/Core/Field/FieldDefinitionListenerInterface.php Reacts to the creation of a field.
FieldDefinitionListenerInterface::onFieldDefinitionDelete function core/lib/Drupal/Core/Field/FieldDefinitionListenerInterface.php Reacts to the deletion of a field.
FieldDefinitionListenerInterface::onFieldDefinitionUpdate function core/lib/Drupal/Core/Field/FieldDefinitionListenerInterface.php Reacts to the update of a field.
FieldDefinitionListenerTest class core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php @coversDefaultClass \Drupal\Core\Field\FieldDefinitionListener
@group Field
FieldDefinitionListenerTest.php file core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php
FieldDefinitionListenerTest::$cacheBackend property core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php The cache backend.
FieldDefinitionListenerTest::$entityFieldManager property core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php The entity field manager.
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

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