interface CropStorageInterface in Crop API 8
Same name and namespace in other branches
- 8.2 src/CropStorageInterface.php \Drupal\crop\CropStorageInterface
Provides an interface defining an crop storage controller.
Hierarchy
- interface \Drupal\Core\Entity\Sql\SqlEntityStorageInterface; interface \Drupal\Core\Entity\Schema\DynamicallyFieldableEntityStorageSchemaInterface; interface \Drupal\Core\Entity\EntityBundleListenerInterface
- interface \Drupal\crop\CropStorageInterface
Expanded class hierarchy of CropStorageInterface
All classes that implement CropStorageInterface
1 file declares its use of CropStorageInterface
- CropEffect.php in src/
Plugin/ ImageEffect/ CropEffect.php
File
- src/
CropStorageInterface.php, line 12
Namespace
Drupal\cropView source
interface CropStorageInterface extends SqlEntityStorageInterface, DynamicallyFieldableEntityStorageSchemaInterface, EntityBundleListenerInterface {
/**
* Retrieve crop ID based on image URI and crop type.
*
* @param string $uri
* URI of the image.
* @param string $type
* Crop type.
*
* @return \Drupal\crop\CropInterface|null
* A Crop object or NULL if nothing matches the search parameters.
*/
public function getCrop($uri, $type);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CropStorageInterface:: |
public | function | Retrieve crop ID based on image URI and crop type. | 1 |
DynamicallyFieldableEntityStorageSchemaInterface:: |
public | function | Performs final cleanup after all data of a field has been purged. | 1 |
DynamicallyFieldableEntityStorageSchemaInterface:: |
public | function | Checks if existing data would be lost if the schema changes were applied. | 2 |
DynamicallyFieldableEntityStorageSchemaInterface:: |
public | function | Checks if the changes to the storage definition requires schema changes. | 2 |
EntityBundleListenerInterface:: |
public | function | Reacts to a bundle being created. | 3 |
EntityBundleListenerInterface:: |
public | function | Reacts to a bundle being deleted. | 3 |
EntityStorageInterface:: |
public | function | Constructs a new entity object, without permanently saving it. | 1 |
EntityStorageInterface:: |
public | function | Deletes permanently saved entities. | 1 |
EntityStorageInterface:: |
public | function | Delete a specific entity revision. | 4 |
EntityStorageInterface:: |
constant | Load the most recent version of an entity's field data. | ||
EntityStorageInterface:: |
constant | Load the version of an entity's field data specified in the entity. | ||
EntityStorageInterface:: |
public | function | Gets an aggregated query instance. | 1 |
EntityStorageInterface:: |
public | function | Gets the entity type definition. | 1 |
EntityStorageInterface:: |
public | function | Gets the entity type ID. | 1 |
EntityStorageInterface:: |
public | function | Gets an entity query instance. | 1 |
EntityStorageInterface:: |
public | function | Determines if the storage contains any data. | 1 |
EntityStorageInterface:: |
public | function | Loads one entity. | 1 |
EntityStorageInterface:: |
public | function | Load entities by their property values. | 1 |
EntityStorageInterface:: |
public | function | Loads one or more entities. | 1 |
EntityStorageInterface:: |
public | function | Load a specific entity revision. | 4 |
EntityStorageInterface:: |
public | function | Loads an unchanged entity from the database. | 1 |
EntityStorageInterface:: |
public | function | Resets the internal, static entity cache. | 1 |
EntityStorageInterface:: |
public | function | Restores a previously saved entity. | 1 |
EntityStorageInterface:: |
public | function | Saves the entity permanently. | 1 |
EntityStorageSchemaInterface:: |
public | function | Checks if existing data would be lost if the schema changes were applied. | 2 |
EntityStorageSchemaInterface:: |
public | function | Checks if the changes to the entity type requires storage schema changes. | 2 |
EntityTypeListenerInterface:: |
public | function | Reacts to the creation of the entity type. | 4 |
EntityTypeListenerInterface:: |
public | function | Reacts to the deletion of the entity type. | 4 |
EntityTypeListenerInterface:: |
public | function | Reacts to the update of the entity type. | 4 |
EntityTypeListenerInterface:: |
public | function | Reacts to the creation of the fieldable entity type. | 4 |
EntityTypeListenerInterface:: |
public | function | Reacts to the update of a fieldable entity type. | 4 |
FieldStorageDefinitionListenerInterface:: |
public | function | Reacts to the creation of a field storage definition. | 4 |
FieldStorageDefinitionListenerInterface:: |
public | function | Reacts to the deletion of a field storage definition. | 4 |
FieldStorageDefinitionListenerInterface:: |
public | function | Reacts to the update of a field storage definition. | 4 |
SqlEntityStorageInterface:: |
public | function | Gets a table mapping for the entity's SQL tables. | 1 |