public function PushQueueProcessorPluginManager::__construct in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 modules/salesforce_push/src/PushQueueProcessorPluginManager.php \Drupal\salesforce_push\PushQueueProcessorPluginManager::__construct()
- 5.0.x modules/salesforce_push/src/PushQueueProcessorPluginManager.php \Drupal\salesforce_push\PushQueueProcessorPluginManager::__construct()
Push queue plugin processor manager.
Parameters
\Traversable $namespaces: An object that implements \Traversable which contains the root paths keyed by the corresponding namespace to look for plugin implementations.
\Drupal\Core\Cache\CacheBackendInterface $cache_backend: Cache service.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: Module handler service.
Overrides DefaultPluginManager::__construct
File
- modules/
salesforce_push/ src/ PushQueueProcessorPluginManager.php, line 25
Class
- PushQueueProcessorPluginManager
- Plugin type manager for SF push queue processors.
Namespace
Drupal\salesforce_pushCode
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/SalesforcePushQueueProcessor', $namespaces, $module_handler);
$this
->setCacheBackend($cache_backend, 'salesforce_push_queue_processor');
}