You are here

public static function Message::deleteMultiple in Message 8

Delete multiple message.

Parameters

array $ids: The messages IDs to delete.

Overrides MessageInterface::deleteMultiple

File

src/Entity/Message.php, line 363

Class

Message
Defines the Message entity class.

Namespace

Drupal\message\Entity

Code

public static function deleteMultiple(array $ids) {
  \Drupal::entityTypeManager()
    ->getStorage('message')
    ->delete($ids);
}