public static function FieldValidationRuleSet::postDelete in Field Validation 8
Acts on deleted entities before the delete hook is invoked.
Used after the entities are deleted but before invoking the delete hook.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object.
\Drupal\Core\Entity\EntityInterface[] $entities: An array of entities.
Overrides EntityBase::postDelete
File
- src/
Entity/ FieldValidationRuleSet.php, line 120
Class
- FieldValidationRuleSet
- Defines a field validation rule set configuration entity.
Namespace
Drupal\field_validation\EntityCode
public static function postDelete(EntityStorageInterface $storage, array $entities) {
parent::postDelete($storage, $entities);
foreach ($entities as $field_validation_rule_set) {
}
}