function SampleEntityGeneratorInterface::delete
Same name in other branches
- 8.9.x core/modules/layout_builder/src/Entity/SampleEntityGeneratorInterface.php \Drupal\layout_builder\Entity\SampleEntityGeneratorInterface::delete()
- 10 core/modules/layout_builder/src/Entity/SampleEntityGeneratorInterface.php \Drupal\layout_builder\Entity\SampleEntityGeneratorInterface::delete()
- 11.x core/modules/layout_builder/src/Entity/SampleEntityGeneratorInterface.php \Drupal\layout_builder\Entity\SampleEntityGeneratorInterface::delete()
Deletes a sample entity for a given entity type and bundle.
Parameters
string $entity_type_id: The entity type ID.
string $bundle_id: The bundle ID.
Return value
$this
1 method overrides SampleEntityGeneratorInterface::delete()
- LayoutBuilderSampleEntityGenerator::delete in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderSampleEntityGenerator.php
File
-
core/
modules/ layout_builder/ src/ Entity/ SampleEntityGeneratorInterface.php, line 33
Class
- SampleEntityGeneratorInterface
- Generates a sample entity.
Namespace
Drupal\layout_builder\EntityCode
public function delete($entity_type_id, $bundle_id);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.