| FieldDefinitionListener |
class |
core/lib/Drupal/Core/Field/FieldDefinitionListener.php |
Reacts to field definition CRUD on behalf of the Entity system. |
| 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 |
Tests Drupal\Core\Field\FieldDefinitionListener. |
| 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 |
Tests on field definition create existing field. |
| FieldDefinitionListenerTest::testOnFieldDefinitionCreateNewField |
function |
core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php |
Tests on field definition create new field. |
| FieldDefinitionListenerTest::testOnFieldDefinitionDeleteMultipleBundles |
function |
core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php |
Tests on field definition delete multiple bundles. |
| FieldDefinitionListenerTest::testOnFieldDefinitionDeleteSingleBundles |
function |
core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php |
Tests on field definition delete single bundles. |
| FieldDefinitionListenerTest::testOnFieldDefinitionUpdate |
function |
core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php |
Tests on field definition update. |
| 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 |
Tests bundle. |
| FieldDefinitionTest::testDefaultFieldSettings |
function |
core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php |
Tests default field settings. |
| 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 |
Tests field default value. |
| FieldDefinitionTest::testFieldDescription |
function |
core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php |
Tests field description. |
| FieldDefinitionTest::testFieldLabel |
function |
core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php |
Tests field label. |
| FieldDefinitionTest::testFieldName |
function |
core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php |
Tests field name. |
| FieldDefinitionTest::testFieldRequired |
function |
core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php |
Tests required. |
| FieldDefinitionTest::testFieldSettings |
function |
core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php |
Tests field settings. |
| FieldDefinitionTest::testFieldTranslatable |
function |
core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php |
Tests field translatable methods. |