public function EventBasedDefaultPluginResolver::__construct in Plugin 8.2
Creates a new instance.
Parameters
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher:
File
- src/
DefaultPluginResolver/ EventBasedDefaultPluginResolver.php, line 27
Class
- EventBasedDefaultPluginResolver
- Provides an event-based default plugin resolver.
Namespace
Drupal\plugin\DefaultPluginResolverCode
public function __construct(EventDispatcherInterface $event_dispatcher) {
$this->eventDispatcher = $event_dispatcher;
}