<?php

declare(strict_types=1);

namespace Drupal\native_observability_eca_bridge\Plugin\ECA\Event;

use Drupal\eca\Plugin\ECA\Event\EventDeriverBase;

/**
 * Provides derivative definitions for the NativeObservabilityEvent ECA plugin.
 *
 * Each entry returned by NativeObservabilityEvent::definitions() is inflated
 * into its own plugin ID by ECA's deriver infrastructure. This allows site
 * builders to select individual Native Observability signals in the ECA rule
 * builder UI without coupling the plugin class to a single event variant.
 */
class NativeObservabilityEventDeriver extends EventDeriverBase {

  /**
   * {@inheritdoc}
   */
  protected function definitions(): array {
    return NativeObservabilityEvent::definitions();
  }

}
