* @since 3.0.0 */ class RegisterElementSourcesEvent extends Event { /** * @var string The context ('index' or 'modal'). */ public string $context; /** * @var array List of registered sources for the element type. */ public array $sources = []; }