SampleEntityGeneratorInterface
interface SampleEntityGeneratorInterface (View source)
Generates a sample entity.
Methods
get(string $entity_type_id, string $bundle_id)
Gets a sample entity for a given entity type and bundle.
$this
delete(string $entity_type_id, string $bundle_id)
Deletes a sample entity for a given entity type and bundle.
Details
EntityInterface
get(string $entity_type_id, string $bundle_id)
Gets a sample entity for a given entity type and bundle.
$this
delete(string $entity_type_id, string $bundle_id)
Deletes a sample entity for a given entity type and bundle.