setCacheBackend($cache_backend, 'entityqueuehandler'); } /** * Gets all handlers. * * @return array * Returns all entityqueue handlers. */ public function getAllEntityQueueHandlers() { $handlers = []; foreach ($this->getDefinitions() as $plugin_id => $plugin_def) { $handlers[$plugin_id] = $plugin_def['title']; } asort($handlers); return $handlers; } }