Search for definition
- Search 7.x for definition
- Search 9.5.x for definition
- Search 8.9.x for definition
- Search 11.x for definition
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| FieldDefinitionInterface::getDefaultValue | function | core/ |
Returns the default value for the field in a newly created entity. |
| FieldDefinitionInterface::getDefaultValueCallback | function | core/ |
Returns the default value callback for the field. |
| FieldDefinitionInterface::getDefaultValueLiteral | function | core/ |
Returns the default value literal for the field. |
| FieldDefinitionInterface::getDisplayOptions | function | core/ |
Returns the default display options for the field. |
| FieldDefinitionInterface::getFieldStorageDefinition | function | core/ |
Returns the field storage definition. |
| FieldDefinitionInterface::getName | function | core/ |
Returns the machine name of the field. |
| FieldDefinitionInterface::getTargetBundle | function | core/ |
Gets the bundle the field is attached to. |
| FieldDefinitionInterface::getTargetEntityTypeId | function | core/ |
Returns the ID of the entity type the field is attached to. |
| FieldDefinitionInterface::getType | function | core/ |
Returns the field type. |
| FieldDefinitionInterface::getUniqueIdentifier | function | core/ |
Returns a unique identifier for the field. |
| FieldDefinitionInterface::isDisplayConfigurable | function | core/ |
Returns whether the display for the field can be configured. |
| FieldDefinitionInterface::isRequired | function | core/ |
Returns whether the field can be empty. |
| FieldDefinitionInterface::isTranslatable | function | core/ |
Returns whether the field is translatable. |
| FieldDefinitionListener | class | core/ |
Reacts to field definition CRUD on behalf of the Entity system. |
| FieldDefinitionListener.php | file | core/ |
|
| FieldDefinitionListener::$cacheBackend | property | core/ |
Cache backend instance. |
| FieldDefinitionListener::$entityFieldManager | property | core/ |
The entity field manager. |
| FieldDefinitionListener::$entityTypeManager | property | core/ |
The entity type manager. |
| FieldDefinitionListener::$keyValueFactory | property | core/ |
The key-value factory. |
| FieldDefinitionListener::onFieldDefinitionCreate | function | core/ |
Reacts to the creation of a field. |
| FieldDefinitionListener::onFieldDefinitionDelete | function | core/ |
Reacts to the deletion of a field. |
| FieldDefinitionListener::onFieldDefinitionUpdate | function | core/ |
Reacts to the update of a field. |
| FieldDefinitionListener::__construct | function | core/ |
Constructs a new FieldDefinitionListener. |
| FieldDefinitionListenerInterface | interface | core/ |
Defines an interface for reacting to field creation, deletion, and updates. |
| FieldDefinitionListenerInterface.php | file | core/ |
|
| FieldDefinitionListenerInterface::onFieldDefinitionCreate | function | core/ |
Reacts to the creation of a field. |
| FieldDefinitionListenerInterface::onFieldDefinitionDelete | function | core/ |
Reacts to the deletion of a field. |
| FieldDefinitionListenerInterface::onFieldDefinitionUpdate | function | core/ |
Reacts to the update of a field. |
| FieldDefinitionListenerTest | class | core/ |
@coversDefaultClass \Drupal\Core\Field\FieldDefinitionListener[[api-linebreak]] @group Field |
| FieldDefinitionListenerTest.php | file | core/ |
|
| FieldDefinitionListenerTest::$cacheBackend | property | core/ |
The cache backend. |
| FieldDefinitionListenerTest::$entityFieldManager | property | core/ |
The entity field manager. |
| FieldDefinitionListenerTest::$entityTypeManager | property | core/ |
The entity type manager. |
| FieldDefinitionListenerTest::$fieldDefinitionListener | property | core/ |
The field definition listener under test. |
| FieldDefinitionListenerTest::$keyValueFactory | property | core/ |
The key-value factory. |
| FieldDefinitionListenerTest::setUp | function | core/ |
|
| FieldDefinitionListenerTest::setUpEntityTypeManager | function | core/ |
Sets up the entity type manager to be tested. |
| FieldDefinitionListenerTest::testOnFieldDefinitionCreateExistingField | function | core/ |
@covers ::onFieldDefinitionCreate[[api-linebreak]] |
| FieldDefinitionListenerTest::testOnFieldDefinitionCreateNewField | function | core/ |
@covers ::onFieldDefinitionCreate[[api-linebreak]] |
| FieldDefinitionListenerTest::testOnFieldDefinitionDeleteMultipleBundles | function | core/ |
@covers ::onFieldDefinitionDelete[[api-linebreak]] |
| FieldDefinitionListenerTest::testOnFieldDefinitionDeleteSingleBundles | function | core/ |
@covers ::onFieldDefinitionDelete[[api-linebreak]] |
| FieldDefinitionListenerTest::testOnFieldDefinitionUpdate | function | core/ |
@covers ::onFieldDefinitionUpdate[[api-linebreak]] |
| FieldDefinitionTest | class | core/ |
Unit test for the FieldDefinition class. |
| FieldDefinitionTest.php | file | core/ |
|
| FieldDefinitionTest::$fieldType | property | core/ |
A dummy field type name. |
| FieldDefinitionTest::$fieldTypeDefinition | property | core/ |
A dummy field type definition. |
| FieldDefinitionTest::$storageDefinition | property | core/ |
The test field storage definition. |
| FieldDefinitionTest::$storageSupportsTranslation | property | core/ |
A flag for setting if the field storage supports translation. |
| FieldDefinitionTest::factoryTypeProvider | function | core/ |
A data provider for all the types of factories that can create definitions. |
| FieldDefinitionTest::initializeFieldUsingFactory | function | core/ |
Creates a bundle field using a specified factory. |
Pagination
- Previous page
- Page 22
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.