You are here

public static function GroupContentMenuType::postDelete in Group Content Menu 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 ConfigEntityBundleBase::postDelete

File

src/Entity/GroupContentMenuType.php, line 81

Class

GroupContentMenuType
Defines the Group content menu type configuration entity.

Namespace

Drupal\group_content_menu\Entity

Code

public static function postDelete(EntityStorageInterface $storage, array $entities) {
  parent::postDelete($storage, $entities);
  static::clearCacheOnSave();
}