interface TestBaseFieldDefinitionInterface in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Field/TestBaseFieldDefinitionInterface.php \Drupal\Tests\Core\Field\TestBaseFieldDefinitionInterface
- 10 core/tests/Drupal/Tests/Core/Field/TestBaseFieldDefinitionInterface.php \Drupal\Tests\Core\Field\TestBaseFieldDefinitionInterface
Defines a test interface to mock entity base field definitions.
Hierarchy
- interface \Drupal\Core\Field\FieldDefinitionInterface; interface \Drupal\Core\Field\FieldStorageDefinitionInterface
- interface \Drupal\Tests\Core\Field\TestBaseFieldDefinitionInterface
Expanded class hierarchy of TestBaseFieldDefinitionInterface
All classes that implement TestBaseFieldDefinitionInterface
File
- core/
tests/ Drupal/ Tests/ Core/ Field/ TestBaseFieldDefinitionInterface.php, line 11
Namespace
Drupal\Tests\Core\FieldView source
interface TestBaseFieldDefinitionInterface extends FieldDefinitionInterface, FieldStorageDefinitionInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheableDependencyInterface:: |
public | function | The cache contexts associated with this object. | 34 |
CacheableDependencyInterface:: |
public | function | The maximum age for which this object may be cached. | 34 |
CacheableDependencyInterface:: |
public | function | The cache tags associated with this object. | 27 |
DataDefinitionInterface:: |
public | function | Adds a validation constraint. | 2 |
DataDefinitionInterface:: |
public static | function | Creates a new data definition object. | 2 |
DataDefinitionInterface:: |
public | function | Returns the class used for creating the typed data object. | 2 |
DataDefinitionInterface:: |
public | function | Returns a validation constraint. | 2 |
DataDefinitionInterface:: |
public | function | Returns an array of validation constraints. | 2 |
DataDefinitionInterface:: |
public | function | Returns the data type of the data. | 2 |
DataDefinitionInterface:: |
public | function | Returns a human readable description. | 2 |
DataDefinitionInterface:: |
public | function | Returns a human readable label. | 2 |
DataDefinitionInterface:: |
public | function | Returns the value of a given setting. | 2 |
DataDefinitionInterface:: |
public | function | Returns the array of settings, as required by the used class. | 2 |
DataDefinitionInterface:: |
public | function | Determines whether the data value is computed. | 3 |
DataDefinitionInterface:: |
public | function | Determines whether the data value is internal. | 2 |
DataDefinitionInterface:: |
public | function | Returns whether the data is multi-valued, i.e. a list of data items. | 2 |
DataDefinitionInterface:: |
public | function | Determines whether the data is read-only. | 3 |
FieldDefinitionInterface:: |
public | function | Gets an object that can be saved in configuration. | 3 |
FieldDefinitionInterface:: |
public | function | Returns the default value for the field in a newly created entity. | 3 |
FieldDefinitionInterface:: |
public | function | Returns the default value callback for the field. | 3 |
FieldDefinitionInterface:: |
public | function | Returns the default value literal for the field. | 3 |
FieldDefinitionInterface:: |
public | function | Returns the default display options for the field. | 4 |
FieldDefinitionInterface:: |
public | function | Returns the field storage definition. | 4 |
FieldDefinitionInterface:: |
public | function | Returns the machine name of the field. | 3 |
FieldDefinitionInterface:: |
public | function | Gets the bundle the field is attached to. | 3 |
FieldDefinitionInterface:: |
public | function | Returns the ID of the entity type the field is attached to. | 3 |
FieldDefinitionInterface:: |
public | function | Returns the field type. | 3 |
FieldDefinitionInterface:: |
public | function | Returns a unique identifier for the field. | 4 |
FieldDefinitionInterface:: |
public | function | Returns whether the display for the field can be configured. | 4 |
FieldDefinitionInterface:: |
public | function |
Returns whether the field can be empty. Overrides DataDefinitionInterface:: |
1 |
FieldDefinitionInterface:: |
public | function | Returns whether the field is translatable. | 3 |
FieldStorageDefinitionInterface:: |
constant | Value indicating a field accepts an unlimited number of values. | ||
FieldStorageDefinitionInterface:: |
public | function | Returns the maximum number of items allowed for the field. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Returns the field columns, as defined in the field schema. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Returns the name of the main property, if any. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Gets an options provider for the given field item property. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Gets the definition of a contained property. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Gets an array of property definitions of contained properties. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Returns the names of the field's subproperties. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Returns the name of the provider of this field. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Returns the field schema. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Returns a unique identifier for the field storage. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Returns the storage behavior for this field. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Determines whether the field is a base field. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Returns whether the field is deleted or not. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Returns whether the field can contain multiple items. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Returns whether the field storage is revisionable. | 2 |
FieldStorageDefinitionInterface:: |
public | function | Sets whether the field supports translation. | 2 |
ListDataDefinitionInterface:: |
public static | function | Creates a new list data definition for items of the given data type. | 2 |
ListDataDefinitionInterface:: |
public | function | Gets the data definition of an item of the list. | 2 |