3 namespace Drupal\Core\Plugin\Discovery;
5 use Drupal\Component\Plugin\Derivative\DeriverInterface;
6 use Symfony\Component\DependencyInjection\ContainerInterface;
9 * Provides additional plugin definitions based on an existing definition using
12 interface ContainerDeriverInterface extends DeriverInterface {
15 * Creates a new class instance.
17 * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
18 * The container to pull out services used in the fetcher.
19 * @param string $base_plugin_id
20 * The base plugin ID for the plugin ID.
23 * Returns an instance of this fetcher.
25 public static function create(ContainerInterface $container, $base_plugin_id);