public function OgDeleteOrphansInterface::register in Organic groups 8
Registers a soon to be deleted group entity, for processing.
During processing its orphaned members or content will be deleted.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The group entity to register.
1 method overrides OgDeleteOrphansInterface::register()
- OgDeleteOrphansBase::register in src/
OgDeleteOrphansBase.php - Registers a soon to be deleted group entity, for processing.
File
- src/
OgDeleteOrphansInterface.php, line 33
Class
- OgDeleteOrphansInterface
- Interface for OgDeleteOrphans plugins.
Namespace
Drupal\ogCode
public function register(EntityInterface $entity);