drupal_get_messages()
drupal_get_messages(?string $type = null, bool $clear_queue = true) : array<string,array<int,mixed>>
Parameters
| ?string | $type | |
| bool | $clear_queue |
drupal_set_message(null|string|\Stringable $message = null, string $type = 'status', bool $repeat = true) : string[][]|\Drupal\Component\Render\MarkupInterface[][]
| null|string|\Stringable | $message | |
| string | $type | |
| bool | $repeat |